2011-05-24 13:17:58 -05:00
|
|
|
# -*- encoding: utf-8 -*-
|
2012-04-25 22:46:30 -05:00
|
|
|
$:.unshift File.expand_path("../lib", __FILE__)
|
2011-05-24 13:17:58 -05:00
|
|
|
require "libv8/version"
|
|
|
|
|
|
|
|
Gem::Specification.new do |s|
|
|
|
|
s.name = "libv8"
|
|
|
|
s.version = Libv8::VERSION
|
|
|
|
s.platform = Gem::Platform::RUBY
|
2012-04-25 22:46:30 -05:00
|
|
|
s.authors = ["Charles Lowell"]
|
|
|
|
s.email = ["cowboyd@thefrontside.net"]
|
|
|
|
s.homepage = "http://github.com/cowboyd/libv8"
|
2011-05-24 13:17:58 -05:00
|
|
|
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}
|
2013-02-17 23:34:59 +01:00
|
|
|
s.license = "MIT"
|
2011-05-24 13:17:58 -05:00
|
|
|
|
|
|
|
s.rubyforge_project = "libv8"
|
|
|
|
|
2011-05-31 09:52:36 -05:00
|
|
|
|
|
|
|
s.files = `git ls-files`.split("\n")
|
2012-04-25 22:46:30 -05:00
|
|
|
s.files += Dir.chdir("vendor/v8") do
|
|
|
|
`git ls-files`.split("\n").reject {|f| f =~ /^out/}.map {|f| "vendor/v8/#{f}"}
|
2011-05-24 13:17:58 -05:00
|
|
|
end
|
2012-05-09 15:12:41 -05:00
|
|
|
s.files += Dir['vendor/v8/build/**/*']
|
2013-06-19 16:25:06 +02:00
|
|
|
s.files += Dir.chdir("vendor/gyp") do
|
|
|
|
`git ls-files`.split("\n").map {|f| "vendor/gyp/#{f}"}
|
|
|
|
end
|
2011-05-31 09:52:36 -05:00
|
|
|
|
2011-05-24 13:17:58 -05:00
|
|
|
s.extensions = ["ext/libv8/extconf.rb"]
|
2012-05-01 14:47:07 -07:00
|
|
|
s.require_paths = ["lib", "ext"]
|
2011-11-14 16:50:24 -06:00
|
|
|
|
2013-01-04 15:41:18 -06:00
|
|
|
s.add_development_dependency "rake"
|
2012-04-25 22:46:30 -05:00
|
|
|
s.add_development_dependency "rake-compiler"
|
|
|
|
s.add_development_dependency "rspec"
|
2013-01-04 15:41:18 -06:00
|
|
|
s.add_development_dependency "rspec-spies"
|
2011-05-24 13:17:58 -05:00
|
|
|
end
|