forked from rubocop/rubocop-rails
-
Notifications
You must be signed in to change notification settings - Fork 0
/
rubocop-rails.gemspec
39 lines (34 loc) · 1.55 KB
/
rubocop-rails.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
# frozen_string_literal: true
$LOAD_PATH.unshift File.expand_path('lib', __dir__)
require 'rubocop/rails/version'
require 'English'
Gem::Specification.new do |s|
s.name = 'rubocop-rails'
s.version = RuboCop::Rails::Version::STRING
s.platform = Gem::Platform::RUBY
s.required_ruby_version = '>= 2.5.0'
s.authors = ['Bozhidar Batsov', 'Jonas Arvidsson', 'Yuji Nakayama']
s.description = <<~DESCRIPTION
Automatic Rails code style checking tool.
A RuboCop extension focused on enforcing Rails best practices and coding conventions.
DESCRIPTION
s.email = 'rubocop@googlegroups.com'
s.files = `git ls-files bin config lib LICENSE.txt README.md`
.split($RS)
s.extra_rdoc_files = ['LICENSE.txt', 'README.md']
s.homepage = 'https://github.com/rubocop/rubocop-rails'
s.licenses = ['MIT']
s.summary = 'Automatic Rails code style checking tool.'
s.metadata = {
'homepage_uri' => 'https://docs.rubocop.org/rubocop-rails/',
'changelog_uri' => 'https://github.com/rubocop/rubocop-rails/blob/master/CHANGELOG.md',
'source_code_uri' => 'https://github.com/rubocop/rubocop-rails/',
'documentation_uri' => "https://docs.rubocop.org/rubocop-rails/#{RuboCop::Rails::Version.document_version}/",
'bug_tracker_uri' => 'https://github.com/rubocop/rubocop-rails/issues'
}
s.add_runtime_dependency 'activesupport', '>= 4.2.0'
# Rack::Utils::SYMBOL_TO_STATUS_CODE, which is used by HttpStatus cop, was
# introduced in rack 1.1
s.add_runtime_dependency 'rack', '>= 1.1'
s.add_runtime_dependency 'rubocop', '>= 1.7.0', '< 2.0'
end