44 lines
1.6 KiB
Ruby
44 lines
1.6 KiB
Ruby
# -*- encoding: utf-8 -*-
|
|
|
|
Gem::Specification.new do |s|
|
|
s.name = "execjs"
|
|
s.version = "1.3.0"
|
|
|
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
s.authors = ["Sam Stephenson", "Josh Peek"]
|
|
s.date = "2012-04-12"
|
|
s.description = " ExecJS lets you run JavaScript code from Ruby.\n"
|
|
s.email = ["sstephenson@gmail.com", "josh@joshpeek.com"]
|
|
s.homepage = "https://github.com/sstephenson/execjs"
|
|
s.require_paths = ["lib"]
|
|
s.rubygems_version = "1.8.21"
|
|
s.summary = "Run JavaScript code from Ruby"
|
|
|
|
if s.respond_to? :specification_version then
|
|
s.specification_version = 3
|
|
|
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
|
s.add_runtime_dependency(%q<multi_json>, ["~> 1.0"])
|
|
s.add_development_dependency(%q<johnson>, [">= 0"])
|
|
s.add_development_dependency(%q<mustang>, [">= 0"])
|
|
s.add_development_dependency(%q<rake>, [">= 0"])
|
|
s.add_development_dependency(%q<therubyracer>, [">= 0"])
|
|
s.add_development_dependency(%q<therubyrhino>, [">= 0"])
|
|
else
|
|
s.add_dependency(%q<multi_json>, ["~> 1.0"])
|
|
s.add_dependency(%q<johnson>, [">= 0"])
|
|
s.add_dependency(%q<mustang>, [">= 0"])
|
|
s.add_dependency(%q<rake>, [">= 0"])
|
|
s.add_dependency(%q<therubyracer>, [">= 0"])
|
|
s.add_dependency(%q<therubyrhino>, [">= 0"])
|
|
end
|
|
else
|
|
s.add_dependency(%q<multi_json>, ["~> 1.0"])
|
|
s.add_dependency(%q<johnson>, [">= 0"])
|
|
s.add_dependency(%q<mustang>, [">= 0"])
|
|
s.add_dependency(%q<rake>, [">= 0"])
|
|
s.add_dependency(%q<therubyracer>, [">= 0"])
|
|
s.add_dependency(%q<therubyrhino>, [">= 0"])
|
|
end
|
|
end
|