mirror of
https://github.com/rubyjs/therubyracer
synced 2023-03-27 23:21:42 -04:00
1a93c34b07
It turns out that the Ruby stdlib WeakRef class is completely broken. http://bugs.ruby-lang.org/issues/4168 While it is fixed in trunk, it is not useable, so as a temporary measure, use the `ref` gem as a dependency. It appears to be both faster and more correct.
20 lines
900 B
Ruby
20 lines
900 B
Ruby
# -*- encoding: utf-8 -*-
|
|
require File.expand_path('../lib/v8/version', __FILE__)
|
|
|
|
Gem::Specification.new do |gem|
|
|
gem.authors = ["Charles Lowell"]
|
|
gem.email = ["javascript-and-friends@googlegroups.com"]
|
|
gem.summary = "Embed the V8 Javascript interpreter into Ruby"
|
|
gem.description = "Call javascript code and manipulate javascript objects from ruby. Call ruby code and manipulate ruby objects from javascript."
|
|
gem.homepage = "http://github.com/cowboyd/therubyracer"
|
|
|
|
gem.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
|
gem.files = `git ls-files`.split("\n")
|
|
gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
|
gem.name = "therubyracer"
|
|
gem.extensions = ["ext/v8/extconf.rb"]
|
|
gem.require_paths = ["lib", "ext"]
|
|
gem.version = V8::VERSION
|
|
|
|
gem.add_dependency 'ref'
|
|
end
|