forked from opal/opal
-
Notifications
You must be signed in to change notification settings - Fork 1
/
opal.gemspec
54 lines (46 loc) · 2.86 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
53
54
require_relative 'lib/opal/version'
Gem::Specification.new do |spec|
spec.name = 'opal'
spec.version = Opal::VERSION
spec.author = ['Elia Schito', 'meh.', 'Adam Beynon']
spec.email = ['[email protected]', '[email protected]']
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["homepage_uri"] = "https://opalrb.com/"
spec.metadata["bug_tracker_uri"] = "https://github.com/opal/opal/issues"
spec.metadata["changelog_uri"] = "https://github.com/opal/opal/blob/v#{spec.version}/CHANGELOG.md"
spec.metadata["readme_uri"] = "https://github.com/opal/opal/blob/v#{spec.version}/README.md"
spec.metadata["api_documentation_uri"] = "http://opalrb.com/docs/api/v#{spec.version}/index.html"
spec.metadata["guides_uri"] = "http://opalrb.com/docs/guides/v#{spec.version}/index.html"
spec.metadata["chat_uri"] = "https://gitter.im/opal/opal"
spec.metadata["source_code_uri"] = "https://github.com/opal/opal"
# Specify which files should be added to the gem when it is released.
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
# Remove symlinks because Windows doesn't always support them.
files = Dir.chdir(__dir__) { `git ls-files -z`.split("\x0") }.reject(&File.method(:symlink?))
spec.files = files.grep(%r{^(test|spec|features)/})
spec.test_files = files.grep_v(%r{^(test|spec|features)/})
spec.executables = files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.bindir = 'exe'
spec.require_paths = ['lib']
spec.required_ruby_version = '>= 2.3'
spec.add_dependency 'ast', '>= 2.3.0'
spec.add_dependency 'base64', '>= 0.2.0'
spec.add_dependency 'parser', ['~> 3.0', '>= 3.0.3.2']
spec.add_development_dependency 'sourcemap', '~> 0.1.0'
spec.add_development_dependency 'rake', '~> 13.0'
spec.add_development_dependency 'rspec', '~> 3.9'
spec.add_development_dependency 'octokit', '~> 4.9'
spec.add_development_dependency 'bundler'
spec.add_development_dependency 'rack-test'
spec.add_development_dependency 'selenium-webdriver'
spec.add_development_dependency 'benchmark-ips', '< 2.8'
spec.add_development_dependency 'sinatra', '~> 3.2'
spec.add_development_dependency 'rubocop', '~> 1.50'
spec.add_development_dependency 'rubocop-performance', '~> 1.1'
spec.add_development_dependency 'rack', '~> 2.2'
spec.add_development_dependency 'webrick'
spec.add_development_dependency 'benchmark_driver', '0.15.17' # version taken from test/cruby/common.mk
end