summaryrefslogtreecommitdiff
path: root/ffi-yajl-universal-java.gemspec
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2013-12-22 22:27:12 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2013-12-22 22:27:12 -0800
commit29361a7879b61624d1feaa004c6663e4a78837d0 (patch)
tree6ad5b8ef7f8c87f1a5db314df48c33dbf1b48039 /ffi-yajl-universal-java.gemspec
parent877b90e020b356bdfe75bc2585a108299fbb2afe (diff)
downloadffi-yajl-29361a7879b61624d1feaa004c6663e4a78837d0.tar.gz
run on jruby on any cpu
Diffstat (limited to 'ffi-yajl-universal-java.gemspec')
-rw-r--r--ffi-yajl-universal-java.gemspec28
1 files changed, 28 insertions, 0 deletions
diff --git a/ffi-yajl-universal-java.gemspec b/ffi-yajl-universal-java.gemspec
new file mode 100644
index 0000000..218f4f5
--- /dev/null
+++ b/ffi-yajl-universal-java.gemspec
@@ -0,0 +1,28 @@
+$:.unshift(File.dirname(__FILE__) + '/lib')
+require 'ffi_yajl/version'
+
+Gem::Specification.new do |s|
+ s.name = 'ffi-yajl'
+ s.version = FFI_Yajl::VERSION
+ s.platform = "universal-java"
+ s.extra_rdoc_files = ["README.md", "LICENSE" ]
+ s.summary = "Ruby FFI wrapper around YAJL 2.x"
+ s.description = s.summary
+ s.author = "Lamont Granquist"
+ s.email = "lamont@scriptkiddie.org"
+ s.homepage = "http://github.com/lamont-granquist/ffi-yajl"
+
+ s.extensions = %w{ ext/libyajl2/extconf.rb }
+
+ s.add_development_dependency "rake"
+ s.add_development_dependency "rspec", "~> 2.14"
+ s.add_development_dependency "pry", "~> 0.9"
+ s.add_development_dependency "rake-compiler"
+ s.add_dependency "ffi", "~> 1.9"
+
+ s.bindir = "bin"
+ s.executables = %w{ ffi-yajl-bench }
+ s.require_path = 'lib'
+ s.files = %w{ Rakefile LICENSE README.md } +
+ Dir.glob( "{lib,spec}/**/*", File::FNM_DOTMATCH ).reject { |f| File.directory?(f) }
+end