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
|
# frozen_string_literal: true
$LOAD_PATH.unshift File.expand_path('lib', __dir__)
require 'rubocop/ast/version'
Gem::Specification.new do |s|
s.name = 'rubocop-ast'
s.version = RuboCop::AST::Version::STRING
s.platform = Gem::Platform::RUBY
s.required_ruby_version = '>= 2.7.0'
s.authors = ['Bozhidar Batsov', 'Jonas Arvidsson', 'Yuji Nakayama']
s.description = <<-DESCRIPTION
RuboCop's Node and NodePattern classes.
DESCRIPTION
s.email = 'rubocop@googlegroups.com'
s.files = Dir['lib/**/*.rb']
s.extra_rdoc_files = ['LICENSE.txt', 'README.md']
s.homepage = 'https://github.com/rubocop/rubocop-ast'
s.licenses = ['MIT']
s.summary = 'RuboCop tools to deal with Ruby code AST.'
s.metadata = {
'homepage_uri' => 'https://www.rubocop.org/',
'changelog_uri' => 'https://github.com/rubocop/rubocop-ast/blob/master/CHANGELOG.md',
'source_code_uri' => 'https://github.com/rubocop/rubocop-ast/',
'documentation_uri' => 'https://docs.rubocop.org/rubocop-ast/',
'bug_tracker_uri' => 'https://github.com/rubocop/rubocop-ast/issues',
'rubygems_mfa_required' => 'true'
}
s.add_dependency('parser', '>= 3.3.7.2')
s.add_dependency('prism', '~> 1.7')
##### Do NOT add `rubocop` (or anything depending on `rubocop`) here. See Gemfile
end
|