therubyracer.gemspec 1.1 KB

1234567891011121314151617181920212223242526272829
  1. # -*- encoding: utf-8 -*-
  2. $:.push File.expand_path("../lib", __FILE__)
  3. require "v8/version"
  4. require 'pathname'
  5. Gem::Specification.new do |s|
  6. s.name = s.rubyforge_project = "therubyracer"
  7. s.summary = "Embed the V8 Javascript interpreter into Ruby"
  8. s.version = V8::VERSION
  9. s.authors = ["Charles Lowell", "Bill Robertson"]
  10. s.description = "Call javascript code and manipulate javascript objects from ruby. Call ruby code and manipulate ruby objects from javascript."
  11. s.homepage = "http://github.com/cowboyd/therubyracer"
  12. s.email = "cowboyd@thefrontside.net"
  13. root = Pathname(__FILE__).dirname
  14. s.files = `git ls-files`.split("\n")
  15. s.files += Dir.chdir(root.join("spec/redjs")) do
  16. `git ls-files`.split("\n").map {|f| "spec/redjs/#{f}"}
  17. end
  18. s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
  19. s.extensions = ["ext/v8/extconf.rb"]
  20. s.require_paths = ["lib", "ext"]
  21. s.add_dependency "libv8", "~> 3.3.10"
  22. s.add_development_dependency "rake"
  23. s.add_development_dependency "rspec", "~> 2.0"
  24. s.add_development_dependency "rake-compiler"
  25. end