forked from rubocop/rubocop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
rubocop.gemspec
49 lines (43 loc) · 1.83 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
# frozen_string_literal: true
$LOAD_PATH.unshift File.expand_path('lib', __dir__)
require 'rubocop/version'
require 'English'
# rubocop:disable Metrics/BlockLength
Gem::Specification.new do |s|
s.name = 'rubocop'
s.version = RuboCop::Version::STRING
s.platform = Gem::Platform::RUBY
s.required_ruby_version = '>= 2.1.0'
s.authors = ['Bozhidar Batsov', 'Jonas Arvidsson', 'Yuji Nakayama']
s.description = <<-DESCRIPTION
Automatic Ruby code style checking tool.
Aims to enforce the community-driven Ruby Style Guide.
DESCRIPTION
s.email = '[email protected]'
s.files = `git ls-files assets bin config lib LICENSE.txt README.md`
.split($RS)
s.bindir = 'exe'
s.executables = ['rubocop']
s.extra_rdoc_files = ['LICENSE.txt', 'README.md']
s.homepage = 'https://github.com/bbatsov/rubocop'
s.licenses = ['MIT']
s.summary = 'Automatic Ruby code style checking tool.'
s.metadata = {
'homepage_uri' => 'https://rubocop.readthedocs.io/',
'changelog_uri' => 'https://github.com/bbatsov/rubocop/blob/master/CHANGELOG.md',
'source_code_uri' => 'https://github.com/bbatsov/rubocop/',
'documentation_uri' => 'https://rubocop.readthedocs.io/',
'bug_tracker_uri' => 'https://github.com/bbatsov/rubocop/issues'
}
s.add_runtime_dependency('parallel', '~> 1.10')
s.add_runtime_dependency('parser', '>= 2.5')
s.add_runtime_dependency('powerpack', '~> 0.1')
s.add_runtime_dependency('rainbow', '>= 2.2.2', '< 4.0')
s.add_runtime_dependency('ruby-progressbar', '~> 1.7')
s.add_runtime_dependency('unicode-display_width', '~> 1.0', '>= 1.0.1')
s.add_development_dependency('bundler', '~> 1.3')
# TODO: loosen rack dependency once Ruby 2.1.0 support is dropped.
# See https://git.io/vxWRB
s.add_development_dependency('rack', '>= 1.6.9', '< 2.0')
end
# rubocop:enable Metrics/BlockLength