summaryrefslogtreecommitdiff
path: root/ffi-yajl.gemspec.shared
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2014-01-03 07:50:59 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2014-01-03 07:50:59 -0800
commita8fc8ea1c6c943d90bdda40806ba58d2a914f52a (patch)
treeaeec76fb1920041d25122206d572a6e82d15c0e9 /ffi-yajl.gemspec.shared
parent41a29eb8d878065a51576275708759bb4834c4f8 (diff)
downloadffi-yajl-a8fc8ea1c6c943d90bdda40806ba58d2a914f52a.tar.gz
rearrange so rakefile doens't find shared gemspec
Diffstat (limited to 'ffi-yajl.gemspec.shared')
-rw-r--r--ffi-yajl.gemspec.shared26
1 files changed, 26 insertions, 0 deletions
diff --git a/ffi-yajl.gemspec.shared b/ffi-yajl.gemspec.shared
new file mode 100644
index 0000000..2352808
--- /dev/null
+++ b/ffi-yajl.gemspec.shared
@@ -0,0 +1,26 @@
+$:.unshift(File.dirname(__FILE__) + '/lib')
+require 'ffi_yajl/version'
+
+Gem::Specification.new do |s|
+ s.name = 'ffi-yajl'
+ s.version = FFI_Yajl::VERSION
+ s.extra_rdoc_files = ["README.md", "LICENSE" ]
+ s.license = "Apache-2.0"
+ 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.add_development_dependency "rake", "~> 10.1"
+ s.add_development_dependency "rspec", "~> 2.14"
+ s.add_development_dependency "pry", "~> 0.9"
+ s.add_development_dependency "rake-compiler", "~> 0.9"
+ 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