-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathhybrid8.gemspec
52 lines (42 loc) · 1.69 KB
/
hybrid8.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'h8/version'
require 'rake'
spec = Gem::Specification.new do |spec|
spec.name = "h8"
spec.version = H8::VERSION
spec.authors = ["sergeych"]
spec.email = ["[email protected]"]
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", "~> 2.0"
# spec.add_development_dependency "rake"
# spec.add_development_dependency "rake-compiler"
spec.add_development_dependency "rspec", '~> 3.1'
spec.add_development_dependency 'hashie', '>= 0.1.2'
spec.add_dependency 'pargser', '>= 0.1.2'
spec.add_dependency 'rake', '>= 12.3.3'
spec.add_dependency 'rake-compiler', '>= 0.9.4'
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,js}"
# ext.gem_spec = spec
# end
spec