msgpack_rails.gemspec in msgpack_rails-0.1.0 vs msgpack_rails.gemspec in msgpack_rails-0.3.0

- old
+ new

@@ -17,8 +17,11 @@ 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"] spec.add_runtime_dependency "activesupport", ">= 3.0" - spec.add_runtime_dependency "activemodel", ">= 3.0" - spec.add_runtime_dependency "msgpack" + if RUBY_ENGINE == "jruby" + spec.add_runtime_dependency "msgpack-jruby" + else + spec.add_runtime_dependency "msgpack" + end end