jruby-openssl 0.9.0 → 0.9.1
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.
- data/lib/{shared/jopenssl.jar → jopenssl.jar} +0 -0
- data/lib/{shared/jopenssl → jopenssl}/version.rb +1 -1
- data/lib/{1.8 → jopenssl18}/openssl.rb +0 -0
- data/lib/{1.8 → jopenssl18}/openssl/bn.rb +0 -0
- data/lib/{1.8 → jopenssl18}/openssl/buffering.rb +0 -0
- data/lib/{1.8 → jopenssl18}/openssl/cipher.rb +0 -0
- data/lib/{1.8 → jopenssl18}/openssl/config.rb +0 -0
- data/lib/{1.8 → jopenssl18}/openssl/digest.rb +0 -0
- data/lib/{1.8 → jopenssl18}/openssl/pkcs7.rb +0 -0
- data/lib/{1.8 → jopenssl18}/openssl/ssl-internal.rb +0 -0
- data/lib/{1.8 → jopenssl18}/openssl/ssl.rb +0 -0
- data/lib/{1.8 → jopenssl18}/openssl/x509-internal.rb +0 -0
- data/lib/{1.8 → jopenssl18}/openssl/x509.rb +0 -0
- data/lib/{1.9 → jopenssl19}/openssl.rb +1 -0
- data/lib/{1.9 → jopenssl19}/openssl/bn.rb +0 -0
- data/lib/{1.9 → jopenssl19}/openssl/buffering.rb +0 -0
- data/lib/{1.9 → jopenssl19}/openssl/cipher.rb +0 -0
- data/lib/{1.9 → jopenssl19}/openssl/config.rb +0 -0
- data/lib/{1.9 → jopenssl19}/openssl/digest.rb +0 -0
- data/lib/{1.9 → jopenssl19}/openssl/ssl-internal.rb +0 -0
- data/lib/{1.9 → jopenssl19}/openssl/ssl.rb +0 -0
- data/lib/{1.9 → jopenssl19}/openssl/x509-internal.rb +0 -0
- data/lib/{1.9 → jopenssl19}/openssl/x509.rb +0 -0
- data/lib/{shared/jruby-openssl.rb → jruby-openssl.rb} +6 -5
- data/lib/{shared/openssl.rb → openssl.rb} +2 -5
- data/lib/openssl/bn.rb +5 -0
- data/lib/openssl/buffering.rb +5 -0
- data/lib/openssl/cipher.rb +5 -0
- data/lib/openssl/config.rb +5 -0
- data/lib/openssl/digest.rb +5 -0
- data/lib/{shared/openssl → openssl}/pkcs12.rb +0 -0
- data/lib/openssl/pkcs7.rb +5 -0
- data/lib/openssl/ssl-internal.rb +5 -0
- data/lib/openssl/ssl.rb +5 -0
- data/lib/openssl/x509-internal.rb +5 -0
- data/lib/openssl/x509.rb +5 -0
- metadata +39 -29
Binary file
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -1,3 +1,7 @@
|
|
1
|
+
# This file allows older version of JRuby (prior to 1.7.5) to explicitly load
|
2
|
+
# the gem version of jruby-openssl rather than the stdlib version. JRuby 1.7.5
|
3
|
+
# and higher use the "default gems" capability of RubyGems.
|
4
|
+
|
1
5
|
unless defined? JRUBY_VERSION
|
2
6
|
warn 'Loading jruby-openssl in a non-JRuby interpreter'
|
3
7
|
end
|
@@ -14,13 +18,10 @@ require 'jruby'
|
|
14
18
|
require 'jopenssl.jar'
|
15
19
|
org.jruby.ext.openssl.OSSLLibrary.new.load(JRuby.runtime, false)
|
16
20
|
|
17
|
-
# Add version-appropriate library path to LOAD_PATH
|
18
21
|
if RUBY_VERSION >= '1.9.0'
|
19
|
-
|
20
|
-
load(File.expand_path('../../1.9/openssl.rb', __FILE__))
|
22
|
+
load('jopenssl19/openssl.rb')
|
21
23
|
else
|
22
|
-
|
23
|
-
load(File.expand_path('../../1.8/openssl.rb', __FILE__))
|
24
|
+
load('jopenssl18/openssl.rb')
|
24
25
|
end
|
25
26
|
|
26
27
|
require 'openssl/pkcs12'
|
@@ -14,13 +14,10 @@ require 'jruby'
|
|
14
14
|
require 'jopenssl.jar'
|
15
15
|
org.jruby.ext.openssl.OSSLLibrary.new.load(JRuby.runtime, false)
|
16
16
|
|
17
|
-
# Add version-appropriate library path to LOAD_PATH
|
18
17
|
if RUBY_VERSION >= '1.9.0'
|
19
|
-
|
20
|
-
load(File.expand_path('../../1.9/openssl.rb', __FILE__))
|
18
|
+
load('jopenssl19/openssl.rb')
|
21
19
|
else
|
22
|
-
|
23
|
-
load(File.expand_path('../../1.8/openssl.rb', __FILE__))
|
20
|
+
load('jopenssl18/openssl.rb')
|
24
21
|
end
|
25
22
|
|
26
23
|
require 'openssl/pkcs12'
|
data/lib/openssl/bn.rb
ADDED
File without changes
|
data/lib/openssl/ssl.rb
ADDED
data/lib/openssl/x509.rb
ADDED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jruby-openssl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2013-
|
13
|
+
date: 2013-10-03 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: bouncy-castle-java
|
@@ -72,32 +72,42 @@ files:
|
|
72
72
|
- README.txt
|
73
73
|
- Rakefile
|
74
74
|
- TODO-1_9-support.txt
|
75
|
-
- lib/
|
76
|
-
- lib/
|
77
|
-
- lib/
|
78
|
-
- lib/
|
79
|
-
- lib/
|
80
|
-
- lib/
|
81
|
-
- lib/
|
82
|
-
- lib/
|
83
|
-
- lib/
|
84
|
-
- lib/
|
85
|
-
- lib/
|
86
|
-
- lib/
|
87
|
-
- lib/
|
88
|
-
- lib/
|
89
|
-
- lib/
|
90
|
-
- lib/
|
91
|
-
- lib/
|
92
|
-
- lib/
|
93
|
-
- lib/
|
94
|
-
- lib/
|
95
|
-
- lib/
|
96
|
-
- lib/
|
97
|
-
- lib/
|
98
|
-
- lib/
|
99
|
-
- lib/
|
100
|
-
- lib/
|
75
|
+
- lib/jopenssl.jar
|
76
|
+
- lib/jruby-openssl.rb
|
77
|
+
- lib/openssl.rb
|
78
|
+
- lib/jopenssl/version.rb
|
79
|
+
- lib/jopenssl18/openssl.rb
|
80
|
+
- lib/jopenssl18/openssl/bn.rb
|
81
|
+
- lib/jopenssl18/openssl/buffering.rb
|
82
|
+
- lib/jopenssl18/openssl/cipher.rb
|
83
|
+
- lib/jopenssl18/openssl/config.rb
|
84
|
+
- lib/jopenssl18/openssl/digest.rb
|
85
|
+
- lib/jopenssl18/openssl/pkcs7.rb
|
86
|
+
- lib/jopenssl18/openssl/ssl-internal.rb
|
87
|
+
- lib/jopenssl18/openssl/ssl.rb
|
88
|
+
- lib/jopenssl18/openssl/x509-internal.rb
|
89
|
+
- lib/jopenssl18/openssl/x509.rb
|
90
|
+
- lib/jopenssl19/openssl.rb
|
91
|
+
- lib/jopenssl19/openssl/bn.rb
|
92
|
+
- lib/jopenssl19/openssl/buffering.rb
|
93
|
+
- lib/jopenssl19/openssl/cipher.rb
|
94
|
+
- lib/jopenssl19/openssl/config.rb
|
95
|
+
- lib/jopenssl19/openssl/digest.rb
|
96
|
+
- lib/jopenssl19/openssl/ssl-internal.rb
|
97
|
+
- lib/jopenssl19/openssl/ssl.rb
|
98
|
+
- lib/jopenssl19/openssl/x509-internal.rb
|
99
|
+
- lib/jopenssl19/openssl/x509.rb
|
100
|
+
- lib/openssl/bn.rb
|
101
|
+
- lib/openssl/buffering.rb
|
102
|
+
- lib/openssl/cipher.rb
|
103
|
+
- lib/openssl/config.rb
|
104
|
+
- lib/openssl/digest.rb
|
105
|
+
- lib/openssl/pkcs12.rb
|
106
|
+
- lib/openssl/pkcs7.rb
|
107
|
+
- lib/openssl/ssl-internal.rb
|
108
|
+
- lib/openssl/ssl.rb
|
109
|
+
- lib/openssl/x509-internal.rb
|
110
|
+
- lib/openssl/x509.rb
|
101
111
|
- test/test_java.rb
|
102
112
|
- test/ut_eof.rb
|
103
113
|
- test/java/pkcs7_mime_enveloped.message
|
@@ -113,7 +123,7 @@ licenses: []
|
|
113
123
|
post_install_message:
|
114
124
|
rdoc_options: []
|
115
125
|
require_paths:
|
116
|
-
- lib
|
126
|
+
- lib
|
117
127
|
required_ruby_version: !ruby/object:Gem::Requirement
|
118
128
|
requirements:
|
119
129
|
- - '>='
|