forked from whitequark/parser
-
Notifications
You must be signed in to change notification settings - Fork 0
/
parser.gemspec
58 lines (48 loc) · 2.25 KB
/
parser.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
52
53
54
55
56
57
58
# encoding: utf-8
# frozen_string_literal: true
require File.expand_path('../lib/parser/version', __FILE__)
Gem::Specification.new do |spec|
spec.name = 'parser'
spec.version = Parser::VERSION
spec.authors = ['whitequark']
spec.email = ['[email protected]']
spec.description = 'A Ruby parser written in pure Ruby.'
spec.summary = spec.description
spec.homepage = 'https://github.com/whitequark/parser'
spec.license = 'MIT'
spec.metadata = {
'bug_tracker_uri' => 'https://github.com/whitequark/parser/issues',
'changelog_uri' => "https://github.com/whitequark/parser/blob/v#{spec.version}/CHANGELOG.md",
'documentation_uri' => "https://www.rubydoc.info/gems/parser/#{spec.version}",
'source_code_uri' => "https://github.com/whitequark/parser/tree/v#{spec.version}"
}
spec.files = `git ls-files`.split + %w(
lib/parser/lexer.rb
lib/parser/ruby18.rb
lib/parser/ruby19.rb
lib/parser/ruby20.rb
lib/parser/ruby21.rb
lib/parser/ruby22.rb
lib/parser/ruby23.rb
lib/parser/ruby24.rb
lib/parser/ruby25.rb
lib/parser/ruby26.rb
lib/parser/ruby27.rb
lib/parser/macruby.rb
lib/parser/rubymotion.rb
)
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^test/})
spec.require_paths = ['lib']
spec.required_ruby_version = '>= 2.0.0'
spec.add_dependency 'ast', '~> 2.4.0'
spec.add_development_dependency 'bundler', '>= 1.15', '< 3.0.0'
spec.add_development_dependency 'rake', '~> 10.0'
spec.add_development_dependency 'racc', '= 1.4.15'
spec.add_development_dependency 'cliver', '~> 0.3.2'
spec.add_development_dependency 'yard'
spec.add_development_dependency 'kramdown'
spec.add_development_dependency 'minitest', '~> 5.10'
spec.add_development_dependency 'simplecov', '~> 0.15.1'
spec.add_development_dependency 'gauntlet'
end