-
Notifications
You must be signed in to change notification settings - Fork 280
/
reek.gemspec
40 lines (34 loc) · 1.64 KB
/
reek.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
require_relative 'lib/reek/version'
Gem::Specification.new do |spec|
spec.name = 'reek'
spec.version = Reek::Version::STRING
spec.authors = ['Kevin Rutherford', 'Timo Roessner', 'Matijs van Zuijlen', 'Piotr Szotkowski']
spec.summary = 'Code smell detector for Ruby'
spec.description =
'Reek is a tool that examines Ruby classes, modules and methods and reports ' \
'any code smells it finds.'
spec.homepage = 'https://github.com/troessner/reek'
spec.license = 'MIT'
spec.extra_rdoc_files = ['CHANGELOG.md', 'License.txt']
spec.files = Dir.chdir(File.expand_path(__dir__)) do
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features|samples|docs|tasks)/}) }
end
spec.files << Dir['docs/yard_plugin.rb']
spec.executables = spec.files.grep(%r{^bin/}).map { |path| File.basename(path) }
spec.rdoc_options = %w(--main README.md -x assets/|bin/|config/|features/|spec/|tasks/)
spec.required_ruby_version = '>= 3.0.0'
spec.metadata = {
'homepage_uri' => 'https://github.com/troessner/reek',
'source_code_uri' => 'https://github.com/troessner/reek',
'bug_tracker_uri' => 'https://github.com/troessner/reek/issues',
'changelog_uri' => 'https://github.com/troessner/reek/CHANGELOG.md',
'documentation_uri' => 'https://www.rubydoc.info/gems/reek',
'rubygems_mfa_required' => 'true'
}
spec.add_dependency 'dry-schema', '~> 1.13.0'
spec.add_dependency 'logger', '~> 1.6'
spec.add_dependency 'parser', '~> 3.3.0'
spec.add_dependency 'rainbow', '>= 2.0', '< 4.0'
spec.add_dependency 'rexml', '~> 3.1'
end