forked from rubocop/rubocop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
rubocop.gemspec
51 lines (47 loc) · 1.59 KB
/
rubocop.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
41
42
43
44
45
46
47
48
49
50
51
# encoding: utf-8
$LOAD_PATH.unshift File.expand_path('../lib', __FILE__)
require 'rubocop/version'
require 'English'
Gem::Specification.new do |s|
s.name = 'rubocop'
s.version = RuboCop::Version::STRING
s.platform = Gem::Platform::RUBY
s.required_ruby_version = '>= 1.9.3'
s.authors = ['Bozhidar Batsov', 'Jonas Arvidsson', 'Yuji Nakayama']
s.description = <<-EOF
Automatic Ruby code style checking tool.
Aims to enforce the community-driven Ruby Style Guide.
EOF
s.email = 'rubocop@googlegroups.com'
s.files = `git ls-files`.split($RS).reject do |file|
file =~ %r{^(?:
spec/.*
|Gemfile
|Rakefile
|\.rspec
|\.gitignore
|\.rubocop.yml
|\.rubocop_todo.yml
|\.travis.yml
|.*\.eps
)$}x
end
s.test_files = []
s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) }
s.extra_rdoc_files = ['LICENSE.txt', 'README.md']
s.homepage = 'http://github.com/bbatsov/rubocop'
s.licenses = ['MIT']
s.require_paths = ['lib']
s.rubygems_version = '1.8.23'
s.summary = 'Automatic Ruby code style checking tool.'
s.add_runtime_dependency('rainbow', '>= 1.99.1', '< 3.0')
s.add_runtime_dependency('parser', '>= 2.2.2.5', '< 3.0')
s.add_runtime_dependency('powerpack', '~> 0.1')
s.add_runtime_dependency('astrolabe', '~> 1.3')
s.add_runtime_dependency('ruby-progressbar', '~> 1.4')
s.add_development_dependency('rake', '~> 10.1')
s.add_development_dependency('rspec', '~> 3.2.0')
s.add_development_dependency('yard', '~> 0.8')
s.add_development_dependency('bundler', '~> 1.3')
s.add_development_dependency('simplecov', '~> 0.7')
end