jruby-openssl 0.8.1 → 0.8.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -5,6 +5,9 @@ README.txt
5
5
  License.txt
6
6
  lib/shared/jopenssl.jar
7
7
  lib/1.8
8
+ lib/1.9
9
+ lib/ruby
10
+ lib/shared
8
11
  lib/1.8/openssl
9
12
  lib/1.8/openssl.rb
10
13
  lib/1.8/openssl/bn.rb
@@ -12,14 +15,11 @@ lib/1.8/openssl/buffering.rb
12
15
  lib/1.8/openssl/cipher.rb
13
16
  lib/1.8/openssl/config.rb
14
17
  lib/1.8/openssl/digest.rb
15
- lib/1.8/openssl/dummy.rb
16
- lib/1.8/openssl/dummyssl.rb
17
18
  lib/1.8/openssl/pkcs7.rb
18
19
  lib/1.8/openssl/ssl-internal.rb
19
20
  lib/1.8/openssl/ssl.rb
20
21
  lib/1.8/openssl/x509-internal.rb
21
22
  lib/1.8/openssl/x509.rb
22
- lib/1.9
23
23
  lib/1.9/openssl
24
24
  lib/1.9/openssl.rb
25
25
  lib/1.9/openssl/bn.rb
@@ -31,14 +31,18 @@ lib/1.9/openssl/ssl-internal.rb
31
31
  lib/1.9/openssl/ssl.rb
32
32
  lib/1.9/openssl/x509-internal.rb
33
33
  lib/1.9/openssl/x509.rb
34
- lib/shared
34
+ lib/ruby/shared
35
+ lib/ruby/shared/jopenssl.jar
35
36
  lib/shared/jopenssl
36
- lib/shared/jopenssl/version.rb
37
+ lib/shared/jopenssl.jar
37
38
  lib/shared/jruby-openssl.rb
38
39
  lib/shared/openssl
39
40
  lib/shared/openssl.rb
41
+ lib/shared/jopenssl/version.rb
40
42
  lib/shared/openssl/pkcs12.rb
41
43
  test/java
44
+ test/test_java.rb
45
+ test/ut_eof.rb
42
46
  test/java/pkcs7_mime_enveloped.message
43
47
  test/java/pkcs7_mime_signed.message
44
48
  test/java/pkcs7_multipart_signed.message
@@ -47,5 +51,3 @@ test/java/test_java_bio.rb
47
51
  test/java/test_java_mime.rb
48
52
  test/java/test_java_pkcs7.rb
49
53
  test/java/test_java_smime.rb
50
- test/test_java.rb
51
- test/ut_eof.rb
data/Rakefile CHANGED
@@ -38,7 +38,7 @@ task :java_compile do
38
38
  end
39
39
 
40
40
  sh "javac @pkg/compile_options @pkg/compile_classpath @pkg/compile_sourcefiles"
41
- sh "jar cf lib/shared/jopenssl.jar -C pkg/classes/ ."
41
+ sh "jar cf ../../lib/ruby/shared/jopenssl.jar -C pkg/classes/ ."
42
42
  end
43
43
  file "lib/shared/jopenssl.jar" => :java_compile
44
44
 
Binary file
@@ -1,5 +1,5 @@
1
1
  module Jopenssl
2
2
  module Version
3
- VERSION = "0.8.1"
3
+ VERSION = "0.8.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,27 +1,27 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jruby-openssl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.1
5
4
  prerelease:
5
+ version: 0.8.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - Ola Bini and JRuby contributors
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-12-04 00:00:00.000000000 Z
12
+ date: 2012-12-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bouncy-castle-java
16
16
  version_requirements: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - ! '>='
18
+ - - ">="
19
19
  - !ruby/object:Gem::Version
20
20
  version: 1.5.0146.1
21
21
  none: false
22
22
  requirement: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ! '>='
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: 1.5.0146.1
27
27
  none: false
@@ -31,13 +31,13 @@ dependencies:
31
31
  name: rdoc
32
32
  version_requirements: !ruby/object:Gem::Requirement
33
33
  requirements:
34
- - - ~>
34
+ - - "~>"
35
35
  - !ruby/object:Gem::Version
36
36
  version: '3.10'
37
37
  none: false
38
38
  requirement: !ruby/object:Gem::Requirement
39
39
  requirements:
40
- - - ~>
40
+ - - "~>"
41
41
  - !ruby/object:Gem::Version
42
42
  version: '3.10'
43
43
  none: false
@@ -65,8 +65,6 @@ files:
65
65
  - lib/1.8/openssl/cipher.rb
66
66
  - lib/1.8/openssl/config.rb
67
67
  - lib/1.8/openssl/digest.rb
68
- - lib/1.8/openssl/dummy.rb
69
- - lib/1.8/openssl/dummyssl.rb
70
68
  - lib/1.8/openssl/pkcs7.rb
71
69
  - lib/1.8/openssl/ssl-internal.rb
72
70
  - lib/1.8/openssl/ssl.rb
@@ -82,10 +80,13 @@ files:
82
80
  - lib/1.9/openssl/ssl.rb
83
81
  - lib/1.9/openssl/x509-internal.rb
84
82
  - lib/1.9/openssl/x509.rb
85
- - lib/shared/jopenssl/version.rb
83
+ - lib/ruby/shared/jopenssl.jar
86
84
  - lib/shared/jruby-openssl.rb
87
85
  - lib/shared/openssl.rb
86
+ - lib/shared/jopenssl/version.rb
88
87
  - lib/shared/openssl/pkcs12.rb
88
+ - test/test_java.rb
89
+ - test/ut_eof.rb
89
90
  - test/java/pkcs7_mime_enveloped.message
90
91
  - test/java/pkcs7_mime_signed.message
91
92
  - test/java/pkcs7_multipart_signed.message
@@ -94,27 +95,25 @@ files:
94
95
  - test/java/test_java_mime.rb
95
96
  - test/java/test_java_pkcs7.rb
96
97
  - test/java/test_java_smime.rb
97
- - test/test_java.rb
98
- - test/ut_eof.rb
99
- - .gemtest
98
+ - ".gemtest"
100
99
  homepage: https://github.com/jruby/jruby-ossl
101
100
  licenses: []
102
101
  post_install_message:
103
102
  rdoc_options:
104
- - --main
103
+ - "--main"
105
104
  - README.txt
106
105
  require_paths:
107
106
  - lib/shared
108
107
  required_ruby_version: !ruby/object:Gem::Requirement
109
108
  requirements:
110
- - - ! '>='
109
+ - - ">="
111
110
  - !ruby/object:Gem::Version
112
111
  version: !binary |-
113
112
  MA==
114
113
  none: false
115
114
  required_rubygems_version: !ruby/object:Gem::Requirement
116
115
  requirements:
117
- - - ! '>='
116
+ - - ">="
118
117
  - !ruby/object:Gem::Version
119
118
  version: !binary |-
120
119
  MA==
@@ -1,33 +0,0 @@
1
- warn "OpenSSL ASN1/PKey/X509/Netscape/PKCS7 implementation unavailable"
2
- warn "gem install bouncy-castle-java for full support."
3
- module OpenSSL
4
- module ASN1
5
- class ASN1Error < OpenSSLError; end
6
- class ASN1Data; end
7
- class Primitive; end
8
- class Constructive; end
9
- end
10
- module X509
11
- class Name; end
12
- class Certificate; end
13
- class Extension; end
14
- class CRL; end
15
- class Revoked; end
16
- class Store
17
- def set_default_paths; end
18
- end
19
- class Request; end
20
- class Attribute; end
21
- end
22
- module Netscape
23
- class SPKI; end
24
- end
25
- class PKCS7
26
- # this definition causes TypeError "superclass mismatch for class PKCS7"
27
- # MRI also crashes following definition;
28
- # class Foo; class Foo < Foo; end; end
29
- # class Foo; class Foo < Foo; end; end
30
- #
31
- # class PKCS7 < PKCS7; end
32
- end
33
- end
@@ -1,14 +0,0 @@
1
- warn "Warning: OpenSSL SSL implementation unavailable"
2
- warn "You must run on JDK 1.5 (Java 5) or higher to use SSL"
3
- module OpenSSL
4
- module SSL
5
- class SSLError < OpenSSLError; end
6
- class SSLContext; end
7
- class SSLSocket; end
8
- VERIFY_NONE = 0
9
- VERIFY_PEER = 1
10
- VERIFY_FAIL_IF_NO_PEER_CERT = 2
11
- VERIFY_CLIENT_ONCE = 4
12
- OP_ALL = 0x00000FFF
13
- end
14
- end