Sha256: 457f331a8f96f0f9dfc14d9cd48c861b2b7fa2d291412767d30befee6865dc4c

Contents?: true

Size: 1.56 KB

Versions: 4

Compression:

Stored size: 1.56 KB

Contents

# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)

require 'h8/version'
require "rake/extensiontask"
require 'rubygems/package_task'

spec = Gem::Specification.new do |spec|
  spec.name        = "h8"
  spec.version     = H8::VERSION
  spec.authors     = ["sergeych"]
  spec.email       = ["real.sergeych@gmail.com"]
  spec.summary     = %q{Minimalistic and fast Ruby <--> V8 integration}
  spec.description = <<-End
    Synergy of ruby and javascript code, almost completely integrates both languages, their
    garbage collection models, object models and so on. Effective for tight ruby-javascript
    integration where objects can be passed between different languages several times.
  End
  spec.homepage    = "https://github.com/sergeych/hybrid8"
  spec.license     = "MIT"

  spec.files         = `git ls-files -z`.split("\x0")
  spec.executables   = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
  spec.test_files    = spec.files.grep(%r{^(test|spec|features)/})
  spec.require_paths = ['lib', 'ext']

  spec.extensions = FileList["ext/**/extconf.rb"]

  spec.platform = Gem::Platform::RUBY

  spec.add_development_dependency "bundler", "~> 1.6"
  spec.add_development_dependency "rake"
  spec.add_development_dependency "rake-compiler"
  spec.add_development_dependency "rspec", '>= 2.14.0'

  # spec.add_dependency 'libv8'
end

Gem::PackageTask.new(spec) do |pkg|
end

Rake::ExtensionTask.new "h8", spec do |ext|
  ext.lib_dir        = "lib/h8"
  ext.source_pattern = "*.{c,cpp}"
  ext.gem_spec       = spec
end

spec

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
h8-0.1.2 hybrid8.gemspec
h8-0.1.1 hybrid8.gemspec
h8-0.1.0 hybrid8.gemspec
h8-0.0.5 hybrid8.gemspec