jruby-openssl 0.9.15-java → 0.9.16-java

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f1eca49194c1e569399cf1f69f58931b9f10b39d
4
- data.tar.gz: 68ff5238280115fbf52784551dae434696371a3a
3
+ metadata.gz: 390fcbe6a3e79904d716a3a01d5a0c57b8cb0f51
4
+ data.tar.gz: ccb36ce879e1f39966118141cc727893b8dea631
5
5
  SHA512:
6
- metadata.gz: b06767ec261001f9f5b6a1603463b47dafacb62e6fb3162ffa04b7607441ad267c543e4b09ca123127494d0b455459fa5a655a50b71322bec9cd88ec0d9c3fe4
7
- data.tar.gz: 4e9679d394c0fd2b07508a6e57c2c34727d29e9e8e4c3510b66825202c99a2a49ba23e657f29ef18fe728a266b8107be948a0b96e52a9a89645c3b8001fc397a
6
+ metadata.gz: 6d7195a55754d197680ad516e1b58fb66537236fa899f3d882ee9c41c57a378d0e86862145a33a11316b07e481ec45c1469b7f2c8a1f79d5b8b6d3cfeb0b2b40
7
+ data.tar.gz: efdfec47995c72101b7f9bafe6095a1c8a6f451e6f42fe066407897886b52b3d0d1997368192abfbe029c9de6d443d36f894d22d9f312dac2c5c1259fe20698c
data/History.md CHANGED
@@ -1,3 +1,8 @@
1
+ ## 0.9.15
2
+
3
+ * always return a Fixnum from `OpenSSL::SSL::Session#timeout`, OpenSSL defaults
4
+ to 300 (been causing net/http.rb issues with timeouts on JRuby 9K)
5
+
1
6
  ## 0.9.14
2
7
 
3
8
  * upgrade to using BC **1.54** as default (all versions >= 1.49 are supported)
data/Rakefile CHANGED
@@ -42,6 +42,7 @@ Rake::TestTask.new do |task|
42
42
  task.test_files = test_files.map { |path| path.sub('src/test/ruby/', '') }
43
43
  task.verbose = true
44
44
  task.loader = :direct
45
+ task.ruby_opts = [ '-C', 'src/test/ruby', '-rbundler/setup' ]
45
46
  end
46
47
  task :test => 'lib/jopenssl.jar'
47
48
 
Binary file
@@ -8,12 +8,13 @@ unless ENV_JAVA['jruby.openssl.load.jars'].eql?('false')
8
8
  version = Jopenssl::Version::BOUNCY_CASTLE_VERSION
9
9
  bc_jars = nil
10
10
  begin
11
+ require 'jar-dependencies'
11
12
  # if we have jar-dependencies we let it track the jars
12
13
  require_jar( 'org.bouncycastle', 'bcpkix-jdk15on', version )
13
14
  require_jar( 'org.bouncycastle', 'bcprov-jdk15on', version )
14
15
  bc_jars = true
15
16
  rescue LoadError
16
- end if defined?(Jars) && ( ! Jars.skip? ) rescue nil
17
+ end
17
18
  unless bc_jars
18
19
  load "org/bouncycastle/bcpkix-jdk15on/#{version}/bcpkix-jdk15on-#{version}.jar"
19
20
  load "org/bouncycastle/bcprov-jdk15on/#{version}/bcprov-jdk15on-#{version}.jar"
@@ -1,5 +1,5 @@
1
1
  module Jopenssl
2
- VERSION = '0.9.15'
2
+ VERSION = '0.9.16'
3
3
  BOUNCY_CASTLE_VERSION = '1.54'
4
4
  # @deprecated
5
5
  module Version
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.15
4
+ version: 0.9.16
5
5
  platform: java
6
6
  authors:
7
7
  - Ola Bini
@@ -9,50 +9,50 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-01-25 00:00:00.000000000 Z
12
+ date: 2016-03-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
- name: jar-dependencies
16
- version_requirements: !ruby/object:Gem::Requirement
17
- requirements:
18
- - - ~>
19
- - !ruby/object:Gem::Version
20
- version: 0.1.0
21
15
  requirement: !ruby/object:Gem::Requirement
22
16
  requirements:
23
17
  - - ~>
24
18
  - !ruby/object:Gem::Version
25
19
  version: 0.1.0
20
+ name: jar-dependencies
26
21
  prerelease: false
27
22
  type: :development
28
- - !ruby/object:Gem::Dependency
29
- name: mocha
30
23
  version_requirements: !ruby/object:Gem::Requirement
31
24
  requirements:
32
25
  - - ~>
33
26
  - !ruby/object:Gem::Version
34
- version: 1.1.0
27
+ version: 0.1.0
28
+ - !ruby/object:Gem::Dependency
35
29
  requirement: !ruby/object:Gem::Requirement
36
30
  requirements:
37
31
  - - ~>
38
32
  - !ruby/object:Gem::Version
39
33
  version: 1.1.0
34
+ name: mocha
40
35
  prerelease: false
41
36
  type: :development
42
- - !ruby/object:Gem::Dependency
43
- name: ruby-maven
44
37
  version_requirements: !ruby/object:Gem::Requirement
45
38
  requirements:
46
39
  - - ~>
47
40
  - !ruby/object:Gem::Version
48
- version: '3.0'
41
+ version: 1.1.0
42
+ - !ruby/object:Gem::Dependency
49
43
  requirement: !ruby/object:Gem::Requirement
50
44
  requirements:
51
45
  - - ~>
52
46
  - !ruby/object:Gem::Version
53
47
  version: '3.0'
48
+ name: ruby-maven
54
49
  prerelease: false
55
50
  type: :development
51
+ version_requirements: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - ~>
54
+ - !ruby/object:Gem::Version
55
+ version: '3.0'
56
56
  description: JRuby-OpenSSL is an add-on gem for JRuby that emulates the Ruby OpenSSL native library.
57
57
  email: ola.bini@gmail.com
58
58
  executables: []
@@ -63,6 +63,7 @@ files:
63
63
  - LICENSE.txt
64
64
  - README.md
65
65
  - Rakefile
66
+ - lib/jopenssl.jar
66
67
  - lib/jopenssl/load.rb
67
68
  - lib/jopenssl/version.rb
68
69
  - lib/jopenssl18/openssl.rb
@@ -125,7 +126,6 @@ files:
125
126
  - lib/openssl/ssl.rb
126
127
  - lib/openssl/x509-internal.rb
127
128
  - lib/openssl/x509.rb
128
- - lib/jopenssl.jar
129
129
  - lib/org/bouncycastle/bcpkix-jdk15on/1.54/bcpkix-jdk15on-1.54.jar
130
130
  - lib/org/bouncycastle/bcprov-jdk15on/1.54/bcprov-jdk15on-1.54.jar
131
131
  homepage: https://github.com/jruby/jruby-openssl
@@ -152,8 +152,9 @@ requirements:
152
152
  - jar org.bouncycastle:bcpkix-jdk15on, 1.54
153
153
  - jar org.bouncycastle:bcprov-jdk15on, 1.54
154
154
  rubyforge_project:
155
- rubygems_version: 2.1.9
155
+ rubygems_version: 2.4.8
156
156
  signing_key:
157
157
  specification_version: 4
158
158
  summary: JRuby OpenSSL
159
159
  test_files: []
160
+ has_rdoc: