forked from opal/opal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
opal.gemspec
52 lines (45 loc) · 2.42 KB
/
opal.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
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'opal/version'
Gem::Specification.new do |spec|
spec.name = 'opal'
spec.version = Opal::VERSION
spec.author = ['Elia Schito', 'meh.', 'Adam Beynon']
spec.email = ['elia@schito.me', 'meh@schizofreni.co']
spec.summary = %{Ruby runtime and core library for JavaScript}
spec.description = %{Opal is a Ruby to JavaScript compiler. It is source-to-source, making it fast as a runtime. Opal includes a compiler (which can be run in any browser), a corelib and runtime implementation. The corelib/runtime is also very small.}
spec.homepage = 'https://opalrb.com'
spec.license = 'MIT'
spec.metadata = {
"bug_tracker_uri" => "https://github.com/opal/opal/issues",
"changelog_uri" => "https://github.com/opal/opal/blob/v#{spec.version}/CHANGELOG.md",
"readme_uri" => "https://github.com/opal/opal/blob/v#{spec.version}/README.md",
"api_documentation_uri" => "http://opalrb.com/docs/api/v#{spec.version}/index.html",
"guides_uri" => "http://opalrb.com/docs/guides/v#{spec.version}/index.html",
"homepage_uri" => "https://opalrb.com/",
"chat_uri" => "https://gitter.im/opal/opal",
"source_code_uri" => "https://github.com/opal/opal",
}
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
`git ls-files -z`.split("\x0")
.reject { |f| f.match(%r{^(test|spec|features)/}) }
.reject { |f| File.symlink?(f) } # Windows doesn't always support them
end
spec.bindir = 'exe'
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ['lib']
spec.required_ruby_version = '>= 2.0.0'
spec.add_dependency 'ast', '>= 2.3.0'
spec.add_dependency 'parser', '= 2.5.3.0'
spec.add_development_dependency 'sourcemap', '~> 0.1.0'
spec.add_development_dependency 'rake', '~> 10.0'
spec.add_development_dependency 'rspec', '~> 3.7'
spec.add_development_dependency 'octokit', '~> 4.9'
spec.add_development_dependency 'bundler', '~> 1.5'
spec.add_development_dependency 'rack-test'
spec.add_development_dependency 'opal-minitest'
spec.add_development_dependency 'selenium-webdriver'
spec.add_development_dependency 'benchmark-ips'
spec.add_development_dependency 'sinatra'
spec.add_development_dependency 'rubocop', '= 0.53.0'
end