jruby-openssl 0.15.0-java → 0.15.1-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
- SHA256:
3
- metadata.gz: 73eeedd4b229adfc00f06a3732179a5f720e5c03224dc8c4e68f42755286d78a
4
- data.tar.gz: c293cce41dbef1214cdfc4d7971990ab936cd37d62ea33752e9073c00284d0f6
2
+ SHA1:
3
+ metadata.gz: f1a25faec82c8bb510ce995706c75f2aeb4db3d0
4
+ data.tar.gz: 2dafa26f100d33e527be8aec1ad885164ba72147
5
5
  SHA512:
6
- metadata.gz: 28daa5aa8813cfb50db8ae65b4b03c9ea8d968f8e4f0c68e28446801513d2bff3bf9b6f991521f87042028e8710a6424a64947b1db197309fe1f00e6ff8e9750
7
- data.tar.gz: 72c86427b868059f3d97875d33bdab8daf75d6a34902053dc7559d80d2b352a903b0d19612d0b96ad8963f6980ed1e0ab927d9920aa3720c1d0e89c963b5082b
6
+ metadata.gz: 18cbcd4c738ec6398c996cb4ab9b05a9a2c5dba4c446a11dbf2da5484b279b591ece959139d7099dc0db58eb30fd040700350daf9f2c274dab380985794e02fd
7
+ data.tar.gz: 10da5fb052bf224aaa70253ebed31fc6a0ceb3f08cbdc22dc15b86153f56fe10ec9cd424b0c1d53beabe54267a3818942ff4198e9e80d559e77e50d941d91e60
data/History.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 0.15.1
2
+
3
+ * [deps] upgrade BC to version 1.78.1
4
+
1
5
  ## 0.15.0
2
6
 
3
7
  This version upgraded to latest Bouncy-Castle (1.78) and the minimum supported
data/lib/jopenssl/load.rb CHANGED
@@ -1,5 +1,3 @@
1
- warn 'Loading jruby-openssl gem in a non-JRuby interpreter' unless defined? JRUBY_VERSION
2
-
3
1
  require 'jopenssl/version'
4
2
 
5
3
  # NOTE: assuming user does pull in BC .jars from somewhere else on the CP
@@ -25,16 +23,7 @@ unless ENV_JAVA['jruby.openssl.load.jars'].eql?('false')
25
23
  end
26
24
 
27
25
  require 'jopenssl.jar'
28
-
29
- if JRuby::Util.respond_to?(:load_ext) # JRuby 9.2
30
- JRuby::Util.load_ext('org.jruby.ext.openssl.OpenSSL')
31
- else; require 'jruby'
32
- org.jruby.ext.openssl.OpenSSL.load(JRuby.runtime)
33
- end
34
-
35
- if RUBY_VERSION > '2.3'
36
- load 'jopenssl/_compat23.rb'
37
- end
26
+ JRuby::Util.load_ext('org.jruby.ext.openssl.OpenSSL')
38
27
 
39
28
  # NOTE: content bellow should live in *lib/openssl.rb* but due RubyGems/Bundler
40
29
  # `autoload :OpenSSL` this will cause issues if an older version (0.11) is the
@@ -61,7 +50,6 @@ end
61
50
  require 'openssl/bn'
62
51
  require 'openssl/pkey'
63
52
  require 'openssl/cipher'
64
- #require 'openssl/config' if OpenSSL.const_defined?(:Config, false)
65
53
  require 'openssl/digest'
66
54
  require 'openssl/hmac'
67
55
  require 'openssl/x509'
@@ -80,4 +68,6 @@ module OpenSSL
80
68
  hashed_b = OpenSSL::Digest.digest('SHA256', b)
81
69
  OpenSSL.fixed_length_secure_compare(hashed_a, hashed_b) && a == b
82
70
  end
83
- end
71
+ end
72
+
73
+ load 'jopenssl/_compat23.rb'
@@ -1,6 +1,6 @@
1
1
  module JOpenSSL
2
- VERSION = '0.15.0'
3
- BOUNCY_CASTLE_VERSION = '1.78'
2
+ VERSION = '0.15.1'
3
+ BOUNCY_CASTLE_VERSION = '1.78.1'
4
4
  end
5
5
 
6
6
  Object.class_eval do
data/lib/jopenssl.jar CHANGED
Binary file
data/pom.xml CHANGED
@@ -11,7 +11,7 @@ DO NOT MODIFY - GENERATED CODE
11
11
  <modelVersion>4.0.0</modelVersion>
12
12
  <groupId>rubygems</groupId>
13
13
  <artifactId>jruby-openssl</artifactId>
14
- <version>0.15.0</version>
14
+ <version>0.15.1</version>
15
15
  <packaging>gem</packaging>
16
16
  <name>JRuby OpenSSL</name>
17
17
  <description>JRuby-OpenSSL is an add-on gem for JRuby that emulates the Ruby OpenSSL native library.</description>
@@ -60,13 +60,13 @@ DO NOT MODIFY - GENERATED CODE
60
60
  </snapshotRepository>
61
61
  </distributionManagement>
62
62
  <properties>
63
- <bc.versions>1.78</bc.versions>
63
+ <bc.versions>1.78.1</bc.versions>
64
64
  <invoker.skip>${maven.test.skip}</invoker.skip>
65
65
  <invoker.test>${bc.versions}</invoker.test>
66
66
  <jruby.plugins.version>3.0.2</jruby.plugins.version>
67
67
  <jruby.switches>-W0</jruby.switches>
68
- <jruby.version>9.2.19.0</jruby.version>
69
- <jruby.versions>9.2.19.0</jruby.versions>
68
+ <jruby.version>9.1.17.0</jruby.version>
69
+ <jruby.versions>9.1.17.0</jruby.versions>
70
70
  <mavengem-wagon.version>2.0.2</mavengem-wagon.version>
71
71
  <mavengem.wagon.version>2.0.2</mavengem.wagon.version>
72
72
  <polyglot.dump.pom>pom.xml</polyglot.dump.pom>
@@ -77,22 +77,22 @@ DO NOT MODIFY - GENERATED CODE
77
77
  <dependency>
78
78
  <groupId>org.bouncycastle</groupId>
79
79
  <artifactId>bcprov-jdk18on</artifactId>
80
- <version>1.78</version>
80
+ <version>1.78.1</version>
81
81
  </dependency>
82
82
  <dependency>
83
83
  <groupId>org.bouncycastle</groupId>
84
84
  <artifactId>bcpkix-jdk18on</artifactId>
85
- <version>1.78</version>
85
+ <version>1.78.1</version>
86
86
  </dependency>
87
87
  <dependency>
88
88
  <groupId>org.bouncycastle</groupId>
89
89
  <artifactId>bctls-jdk18on</artifactId>
90
- <version>1.78</version>
90
+ <version>1.78.1</version>
91
91
  </dependency>
92
92
  <dependency>
93
93
  <groupId>org.bouncycastle</groupId>
94
94
  <artifactId>bcutil-jdk18on</artifactId>
95
- <version>1.78</version>
95
+ <version>1.78.1</version>
96
96
  </dependency>
97
97
  <dependency>
98
98
  <groupId>org.jruby</groupId>
@@ -274,7 +274,6 @@ DO NOT MODIFY - GENERATED CODE
274
274
  <configuration>
275
275
  <source>1.8</source>
276
276
  <target>1.8</target>
277
- <release>8</release>
278
277
  <encoding>UTF-8</encoding>
279
278
  <debug>true</debug>
280
279
  <showWarnings>true</showWarnings>
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.15.0
4
+ version: 0.15.1
5
5
  platform: java
6
6
  authors:
7
7
  - Karol Bucek
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2024-06-21 00:00:00.000000000 Z
13
+ date: 2024-09-27 00:00:00.000000000 Z
14
14
  dependencies: []
15
15
  description: JRuby-OpenSSL is an add-on gem for JRuby that emulates the Ruby OpenSSL
16
16
  native library.
@@ -42,10 +42,10 @@ files:
42
42
  - lib/openssl/pkey.rb
43
43
  - lib/openssl/ssl.rb
44
44
  - lib/openssl/x509.rb
45
- - lib/org/bouncycastle/bcpkix-jdk18on/1.78/bcpkix-jdk18on-1.78.jar
46
- - lib/org/bouncycastle/bcprov-jdk18on/1.78/bcprov-jdk18on-1.78.jar
47
- - lib/org/bouncycastle/bctls-jdk18on/1.78/bctls-jdk18on-1.78.jar
48
- - lib/org/bouncycastle/bcutil-jdk18on/1.78/bcutil-jdk18on-1.78.jar
45
+ - lib/org/bouncycastle/bcpkix-jdk18on/1.78.1/bcpkix-jdk18on-1.78.1.jar
46
+ - lib/org/bouncycastle/bcprov-jdk18on/1.78.1/bcprov-jdk18on-1.78.1.jar
47
+ - lib/org/bouncycastle/bctls-jdk18on/1.78.1/bctls-jdk18on-1.78.1.jar
48
+ - lib/org/bouncycastle/bcutil-jdk18on/1.78.1/bcutil-jdk18on-1.78.1.jar
49
49
  - pom.xml
50
50
  homepage: https://github.com/jruby/jruby-openssl
51
51
  licenses:
@@ -68,11 +68,12 @@ required_rubygems_version: !ruby/object:Gem::Requirement
68
68
  - !ruby/object:Gem::Version
69
69
  version: '0'
70
70
  requirements:
71
- - jar org.bouncycastle:bcprov-jdk18on, 1.78
72
- - jar org.bouncycastle:bcpkix-jdk18on, 1.78
73
- - jar org.bouncycastle:bctls-jdk18on, 1.78
74
- - jar org.bouncycastle:bcutil-jdk18on, 1.78
75
- rubygems_version: 3.1.6
71
+ - jar org.bouncycastle:bcprov-jdk18on, 1.78.1
72
+ - jar org.bouncycastle:bcpkix-jdk18on, 1.78.1
73
+ - jar org.bouncycastle:bctls-jdk18on, 1.78.1
74
+ - jar org.bouncycastle:bcutil-jdk18on, 1.78.1
75
+ rubyforge_project:
76
+ rubygems_version: 2.6.14.1
76
77
  signing_key:
77
78
  specification_version: 4
78
79
  summary: JRuby OpenSSL