diff --git a/Gemfile b/Gemfile index 0c3bed0..ec8c558 100755 --- a/Gemfile +++ b/Gemfile @@ -2,3 +2,7 @@ source 'https://rubygems.org' # Specify your gem's dependencies in qiniu-s3.gemspec gemspec + +# platforms :jruby do +# gem "jruby-openssl" +# end diff --git a/lib/qiniu/rs/version.rb b/lib/qiniu/rs/version.rb index 4d0df71..c39c329 100755 --- a/lib/qiniu/rs/version.rb +++ b/lib/qiniu/rs/version.rb @@ -2,6 +2,6 @@ module Qiniu module RS - VERSION = "1.0.3" + VERSION = "1.0.4" end end diff --git a/qiniu-rs.gemspec b/qiniu-rs.gemspec index 4ce394e..5844ef0 100755 --- a/qiniu-rs.gemspec +++ b/qiniu-rs.gemspec @@ -23,4 +23,5 @@ Gem::Specification.new do |gem| gem.add_runtime_dependency "json" gem.add_runtime_dependency "rest-client" gem.add_runtime_dependency "mime-types" + gem.add_runtime_dependency "jruby-openssl" if RUBY_PLATFORM == "java" end