From a0657ee26f43c3cc0085a9daf6f93e875050e5a0 Mon Sep 17 00:00:00 2001 From: 404 Date: Mon, 28 May 2012 21:33:27 +0800 Subject: [PATCH] added jruby-openssl bundling if RUBY_PLATFORM is JAVA --- Gemfile | 4 ++++ lib/qiniu/rs/version.rb | 2 +- qiniu-rs.gemspec | 1 + 3 files changed, 6 insertions(+), 1 deletion(-) 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