File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,9 @@ Gem::Specification.new do |s|
2929 s . requirements << "jar org.bouncycastle:bcpkix-jdk15on, #{ bc_version } "
3030 s . requirements << "jar org.bouncycastle:bcprov-jdk15on, #{ bc_version } "
3131
32+ s . required_ruby_version = '>= 1.9.3'
33+ s . required_rubygems_version = '>= 2.4.8'
34+
3235 s . add_development_dependency 'jar-dependencies' , '~> 0.1'
3336
3437 s . add_development_dependency 'mocha' , '~> 1.1.0'
Original file line number Diff line number Diff line change 1- warn 'Loading jruby-openssl in a non-JRuby interpreter' unless defined? JRUBY_VERSION
1+ warn 'Loading jruby-openssl gem in a non-JRuby interpreter' unless defined? JRUBY_VERSION
2+ warn "JRuby #{ JRUBY_VERSION } is not supported by jruby-openssl #{ Jopenssl ::VERSION } " if JRUBY_VERSION <= '1.7.20'
23
34require 'java'
45require 'jopenssl/version'
1415 require_jar ( 'org.bouncycastle' , 'bcprov-jdk15on' , version )
1516 bc_jars = true
1617 rescue LoadError
18+ bc_jars = false
1719 end
1820 unless bc_jars
1921 load "org/bouncycastle/bcpkix-jdk15on/#{ version } /bcpkix-jdk15on-#{ version } .jar"
You can’t perform that action at this time.
0 commit comments