1
0
Fork 0
mirror of https://github.com/rubyjs/libv8 synced 2023-03-27 23:21:48 -04:00
libv8/libv8.gemspec
Petko Bordjukov a3bde09bd2 Update Rubinius version in .travis.yml
Travis now supports only Rubinius 2.1 and
up. http://about.travis-ci.org/docs/user/languages/ruby/#Rubinius

Additionally the Ruby standard library has been separated from rbx in to
a set of gems and now needs to be set as a development dependency.
http://rubini.us/2013/09/22/ready-set/
2013-12-05 01:47:08 +02:00

37 lines
1.3 KiB
Ruby

# -*- encoding: utf-8 -*-
$:.unshift File.expand_path("../lib", __FILE__)
require "libv8/version"
Gem::Specification.new do |s|
s.name = "libv8"
s.version = Libv8::VERSION
s.platform = Gem::Platform::RUBY
s.authors = ["Charles Lowell"]
s.email = ["cowboyd@thefrontside.net"]
s.homepage = "http://github.com/cowboyd/libv8"
s.summary = %q{Distribution of the V8 JavaScript engine}
s.description = %q{Distributes the V8 JavaScript engine in binary and source forms in order to support fast builds of The Ruby Racer}
s.license = "MIT"
s.rubyforge_project = "libv8"
s.files = `git ls-files`.split("\n")
s.files += Dir.chdir("vendor/v8") do
`git ls-files`.split("\n").reject {|f| f =~ /^out/}.map {|f| "vendor/v8/#{f}"}
end
s.files += Dir['vendor/v8/build/**/*']
s.files += Dir.chdir("vendor/gyp") do
`git ls-files`.split("\n").map {|f| "vendor/gyp/#{f}"}
end
s.extensions = ["ext/libv8/extconf.rb"]
s.require_paths = ["lib", "ext"]
s.add_development_dependency "rake"
s.add_development_dependency "rake-compiler"
s.add_development_dependency "rspec"
s.add_development_dependency "rspec-spies"
s.add_development_dependency "rubysl", "~> 2.0" if RUBY_ENGINE == "rbx"
s.add_development_dependency "vulcan"
end