Sha256: 68fc462153ccefa1a330ec472230859d9dd5ab59bcc90ca82eb86cde1a0c6c7f

Contents?: true

Size: 1.24 KB

Versions: 1

Compression:

Stored size: 1.24 KB

Contents

# -*- encoding: utf-8 -*-
$:.push File.expand_path("../lib", __FILE__)
require "v8/version"
require 'pathname'

Gem::Specification.new do |s|
  s.name = s.rubyforge_project = "therubyracer"
  s.summary = "Embed the V8 Javascript interpreter into Ruby"
  s.version = V8::VERSION
  s.authors = ["Charles Lowell", "Bill Robertson"]
  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"
  
  root = Pathname(__FILE__).dirname
  s.files = `git ls-files`.split("\n")
  s.files += Dir.chdir(root.join("spec/redjs")) do
    `git ls-files`.split("\n").map {|f| "spec/redjs/#{f}"}
  end
  s.files += Dir.chdir(root.join("ext/v8/upstream/v8")) do
    `git ls-files`.split("\n").reject {|f| f =~ /^test/ || f =~ /^samples/ || f =~ /^benchmarks/}.map {|f| "ext/v8/upstream/v8/#{f}"}
  end
  s.executables   = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
  s.extensions = ["ext/v8/extconf.rb"]
  s.require_paths = ["lib", "ext"]

  s.add_development_dependency "rake", "~> 0.8.7"
  s.add_development_dependency "rspec", ">= 2.0.0"
  s.add_development_dependency "rake-compiler"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
therubyracer-0.9.0beta4 therubyracer.gemspec