summaryrefslogtreecommitdiff
path: root/ffi-yajl.gemspec.shared
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2015-03-24 12:17:56 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2015-03-24 12:17:56 -0700
commit55f3cb72c7378336451b27ff97541c1f67f03d43 (patch)
treeb2e097410b0f840bf5e5cc48e933e8b4e8e422e1 /ffi-yajl.gemspec.shared
parentb4ad8c022fc77736845805436136e4fc8a41b892 (diff)
downloadffi-yajl-55f3cb72c7378336451b27ff97541c1f67f03d43.tar.gz
Remove ffi gem as a hard dependency
Copies the algorithm out of FFI.map_library_name into the FFI_Yajl#map_library_name function so that when we're loading up the C extension we don't need to also slurp in the ffi gem just to run that. The ffi gem is moved to a hard dependency of only the jruby version of the gem, and its a development dependency for the other ruby VMs (so rake spec will work against the ffi library), but its an optional library to install to make the ffi library work on VMs that support C extensions (MRI, RBX).
Diffstat (limited to 'ffi-yajl.gemspec.shared')
-rw-r--r--ffi-yajl.gemspec.shared2
1 files changed, 1 insertions, 1 deletions
diff --git a/ffi-yajl.gemspec.shared b/ffi-yajl.gemspec.shared
index 2226fbd..62fefa0 100644
--- a/ffi-yajl.gemspec.shared
+++ b/ffi-yajl.gemspec.shared
@@ -18,7 +18,7 @@ Gem::Specification.new do |s|
s.add_development_dependency "rake-compiler", "~> 0.8.3"
# pin mime-types in order to work on ruby 1.8.7
s.add_development_dependency "mime-types", "~> 1.16"
- s.add_dependency "ffi", "~> 1.5"
+ s.add_development_dependency "ffi", "~> 1.5"
s.add_dependency "libyajl2", "~> 1.2"
s.bindir = "bin"