libv8.gemspec in libv8-freebsd-3.3.10.4 vs libv8.gemspec in libv8-freebsd-3.11.8.3
- old
+ new
@@ -1,36 +1,30 @@
# -*- encoding: utf-8 -*-
-require 'pathname'
-
-# Sanity check!
-if !File.exist? File.join('lib', 'libv8', 'v8', 'SConstruct') then
- `git submodule update --init`
-end
-
-$:.push File.expand_path("../lib", __FILE__)
+$:.unshift File.expand_path("../lib", __FILE__)
require "libv8/version"
Gem::Specification.new do |s|
s.name = "libv8-freebsd"
- s.version = "3.3.10.4"
+ s.version = Libv8::VERSION
s.platform = Gem::Platform::RUBY
- s.authors = ["Logan Lowell", "Charles Lowell"]
- s.email = ["fractaloop@thefrontside.net", "cowboyd@thefrontside.net"]
- s.homepage = "http://github.com/fractaloop/libv8"
+ 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.rubyforge_project = "libv8"
- root = Pathname(__FILE__).dirname
s.files = `git ls-files`.split("\n")
- s.files += Dir.chdir(root.join("lib/libv8/v8")) do
- `git ls-files`.split("\n").reject {|f| f =~ /^test/ || f =~ /^samples/ || f =~ /^benchmarks/}.map {|f| "lib/libv8/v8/#{f}"}
+ 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.extensions = ["ext/libv8/extconf.rb"]
- s.require_paths = ["lib"]
+ s.require_paths = ["lib", "ext"]
s.add_development_dependency "rake", "~> 0.9.2"
- s.add_development_dependency "bundler"
+ s.add_development_dependency "rake-compiler"
+ s.add_development_dependency "rspec"
end