Package not found. Please check the package name and try again.

jruby-openssl 0.9.2 → 0.9.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Binary file
@@ -1,5 +1,5 @@
1
1
  module Jopenssl
2
2
  module Version
3
- VERSION = "0.9.2"
3
+ VERSION = "0.9.3"
4
4
  end
5
5
  end
@@ -15,8 +15,10 @@ end
15
15
 
16
16
  # Load extension
17
17
  require 'jruby'
18
- require 'jopenssl.jar'
19
- org.jruby.ext.openssl.OSSLLibrary.new.load(JRuby.runtime, false)
18
+ # only boot ext if jar has not been loaded before
19
+ if require 'jopenssl.jar'
20
+ org.jruby.ext.openssl.OSSLLibrary.new.load(JRuby.runtime, false)
21
+ end
20
22
 
21
23
  if RUBY_VERSION >= '1.9.0'
22
24
  load('jopenssl19/openssl.rb')
@@ -11,8 +11,10 @@ end
11
11
 
12
12
  # Load extension
13
13
  require 'jruby'
14
- require 'jopenssl.jar'
15
- org.jruby.ext.openssl.OSSLLibrary.new.load(JRuby.runtime, false)
14
+ # only boot ext if jar has not been loaded before
15
+ if require 'jopenssl.jar'
16
+ org.jruby.ext.openssl.OSSLLibrary.new.load(JRuby.runtime, false)
17
+ end
16
18
 
17
19
  if RUBY_VERSION >= '1.9.0'
18
20
  load('jopenssl19/openssl.rb')
metadata CHANGED
@@ -1,8 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jruby-openssl
3
3
  version: !ruby/object:Gem::Version
4
+ version: 0.9.3
4
5
  prerelease:
5
- version: 0.9.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - Ola Bini
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2013-10-03 00:00:00.000000000 Z
13
+ date: 2013-10-22 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: bouncy-castle-java