2009-12-15 00:35:55 -05:00
|
|
|
# -*- encoding: utf-8 -*-
|
2011-01-17 16:01:38 -05:00
|
|
|
$:.push File.expand_path("../lib", __FILE__)
|
|
|
|
require "v8/version"
|
2009-12-15 00:35:55 -05:00
|
|
|
|
|
|
|
Gem::Specification.new do |s|
|
2011-01-17 16:01:38 -05:00
|
|
|
s.name = s.rubyforge_project = "therubyracer"
|
|
|
|
s.summary = "Embed the V8 Javascript interpreter into Ruby"
|
|
|
|
s.version = V8::VERSION
|
2009-12-15 00:35:55 -05:00
|
|
|
s.authors = ["Charles Lowell", "Bill Robertson"]
|
2011-01-17 16:01:38 -05:00
|
|
|
s.description = "Call javascript code and manipulate javascript objects from ruby. Call ruby code and manipulate ruby objects from javascript."
|
|
|
|
s.homepage = "http://github.com/cowboyd/therubyracer"
|
|
|
|
s.email = "cowboyd@thefrontside.net"
|
|
|
|
|
|
|
|
s.files = `git ls-files`.split("\n").reject {|f| f =~ /^ext\/.*\/samples/ || f =~ /^ext\/.*\/test/ || f =~ /^ext\/.*\/benchmarks/}
|
|
|
|
s.files += Dir.chdir(File.expand_path(File.join(File.dirname(__FILE__), "spec/redjs"))) do
|
|
|
|
`git ls-files`.split("\n").map {|f| "spec/redjs/#{f}"}
|
|
|
|
end
|
|
|
|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
2009-12-15 00:35:55 -05:00
|
|
|
s.extensions = ["ext/v8/extconf.rb"]
|
2011-01-17 16:01:38 -05:00
|
|
|
s.require_paths = ["lib", "ext"]
|
2009-12-15 00:35:55 -05:00
|
|
|
|
2011-01-17 16:01:38 -05:00
|
|
|
s.add_development_dependency "rspec", ">= 2.0.0"
|
|
|
|
s.add_development_dependency "rake-compiler"
|
2009-12-15 00:35:55 -05:00
|
|
|
end
|