File: rubocop-ast.gemspec

package info (click to toggle)
ruby-rubocop-ast 0.3.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 892 kB
  • sloc: ruby: 10,886; makefile: 4
file content (40 lines) | stat: -rw-r--r-- 1,589 bytes parent folder | download
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
# 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.3.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-hq/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-hq/rubocop-ast/blob/master/CHANGELOG.md',
    'source_code_uri' => 'https://github.com/rubocop-hq/rubocop-ast/',
    'documentation_uri' => 'https://docs.rubocop.org/rubocop-ast/',
    'bug_tracker_uri' => 'https://github.com/rubocop-hq/rubocop-ast/issues'
  }

  s.add_runtime_dependency('parser', '>= 2.7.1.4')

  s.add_development_dependency('bundler', '>= 1.15.0', '< 3.0')

  # #### Do NOT add `rubocop` (or anything depending on `rubocop`), even as a
  # development_dependency to insure that this gem remains independent of `rubocop`.
  # Bundler loads all dependencies automatically, so specs wouldn't detect it if
  # we required a file from `rubocop` gem by mistake.
  # Note that `rake internal_investigation` will use `../rubocop` if present.
end