-
Notifications
You must be signed in to change notification settings - Fork 93
/
mini_racer.gemspec
53 lines (45 loc) · 1.54 KB
/
mini_racer.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
# coding: utf-8
lib = File.expand_path("../lib", __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "mini_racer/version"
Gem::Specification.new do |spec|
spec.name = "mini_racer"
spec.version = MiniRacer::VERSION
spec.authors = ["Sam Saffron"]
spec.email = ["sam.saffron@gmail.com"]
spec.summary = "Minimal embedded v8 for Ruby"
spec.description = "Minimal embedded v8 engine for Ruby"
spec.homepage = "https://github.com/discourse/mini_racer"
spec.license = "MIT"
spec.metadata = {
"bug_tracker_uri" => "https://github.com/discourse/mini_racer/issues",
"changelog_uri" =>
"https://github.com/discourse/mini_racer/blob/v#{spec.version}/CHANGELOG",
"documentation_uri" =>
"https://www.rubydoc.info/gems/mini_racer/#{spec.version}",
"source_code_uri" =>
"https://github.com/discourse/mini_racer/tree/v#{spec.version}"
}
spec.files =
Dir[
"lib/**/*.rb",
"ext/**/*",
"README.md",
"LICENSE.txt",
"CHANGELOG",
"CODE_OF_CONDUCT.md"
]
spec.require_paths = ["lib"]
spec.add_development_dependency "bundler"
spec.add_development_dependency "rake", ">= 12.3.3"
spec.add_development_dependency "minitest", "~> 5.0"
spec.add_development_dependency "rake-compiler"
spec.add_development_dependency "m"
spec.add_dependency "libv8-node", MiniRacer::LIBV8_NODE_VERSION
spec.require_paths = %w[lib ext]
spec.extensions = %w[
ext/mini_racer_loader/extconf.rb
ext/mini_racer_extension/extconf.rb
]
spec.required_ruby_version = ">= 3.1"
end