jruby-openssl 0.9.10-java → 0.9.11-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: c4b5f72adfc10973a050d402e22dc8013a7a9f33
4
- data.tar.gz: 6ca767939ad8934dce7b731e27cbe14a5b5b52f1
3
+ metadata.gz: 34fe99431ec4efd215f6b90ef07d7a5123f41f4a
4
+ data.tar.gz: df7f1b4fec8ca2bcde4d7753ce05780b96d97d54
5
5
  SHA512:
6
- metadata.gz: 4bf68734e5bffcf0c4ac32f4bbfdf8061e0e1b33955213f0b1ec29bada829cc38cd7b8099449bae46b9dbd59478625e337943369f779c136d7f73f4a89c998d5
7
- data.tar.gz: 851a2bf17ca369c17b6578c4c5bb1dbacdeb3ede05dc0e803f13aad84efc56474db9d56de18ea7ce823e569ca1fca05d0b65abf98589ebc453949104ecb3bd47
6
+ metadata.gz: 780ce6ad66c3445c84a4092d8a6f698f5020e45c5febb71fba18ce492f2fe3b3d0d3abedc81e8f8c036d5a47f13afdc3600bc26012008a7874ad25f1f7ce586f
7
+ data.tar.gz: b15f756bee41d5c8fc030082449f83ed4640795495e9818b3db57f80c8dbdce65905c71871bcef733c12aae91651d4b7d786800a01365a540c7c847fca94ecd1
data/History.md CHANGED
@@ -1,3 +1,18 @@
1
+ ## 0.9.11
2
+
3
+ * add TLSv1_1_client, TLSv1_1_server, TLSv1_2_client and TLSv1_2_server options
4
+ to ssl_version (#65)
5
+ * **regression** make sure we hold a buffered reader so that the loop continues
6
+ reading PEMs - previously introduced an incompatibility with cert verify (#67)
7
+ * support negotiating up to TLS1_1 and TLS1_2 when the server supports these
8
+ ssl_versions (#63)
9
+
10
+ ## 0.9.10
11
+
12
+ * **regression** reverted fix for #49 (as it needs more work/testing) :
13
+ keep the default x509 certs and directories in line with MRI (#49), only if
14
+ they do not exists fallback on cacerts from the java.home/lib/security/cacerts
15
+
1
16
  ## 0.9.9
2
17
 
3
18
  * **regression** causing to re-package a RaiseException in `SSLSocket#accept`
data/Rakefile CHANGED
@@ -1,24 +1,38 @@
1
1
  #-*- mode: ruby -*-
2
2
 
3
- require 'maven/ruby/tasks'
3
+ begin
4
+ require 'maven/ruby/tasks'
5
+ rescue LoadError
6
+ warn "ruby-maven not available - some tasks will not work " <<
7
+ "either `gem install ruby-maven' or use mvn instead of rake"
8
+ desc "Package jopenssl.jar with the compiled classes"
9
+ task :jar do
10
+ sh "mvn prepare-package -Dmaven.test.skip=true"
11
+ end
12
+ namespace :jar do
13
+ desc "Package jopenssl.jar file (and dependendent jars)"
14
+ task :all do
15
+ sh "mvn package -Dmaven.test.skip=true"
16
+ end
17
+ end
18
+ else
19
+ Rake::Task[:jar].clear
20
+ desc "Package jopenssl.jar with the compiled classes"
21
+ task :jar => :maven do
22
+ maven.prepare_package '-Dmaven.test.skip=true'
23
+ end
24
+ namespace :jar do
25
+ desc "Package jopenssl.jar file (and dependendent jars)"
26
+ task :all => :maven do
27
+ maven.package '-Dmaven.test.skip=true'
28
+ end
29
+ end
30
+ end
4
31
 
5
32
  # the actual build configuration is inside the Mavenfile
6
33
 
7
34
  task :default => :build
8
35
 
9
- Rake::Task[:jar].clear
10
- desc "Package jopenssl.jar with the compiled classes"
11
- task :jar => :maven do
12
- maven.prepare_package '-Dmaven.test.skip'
13
- end
14
-
15
- namespace :jar do
16
- desc "Package jopenssl.jar file (and dependendent jars)"
17
- task :all => :maven do
18
- maven.package '-Dmaven.test.skip'
19
- end
20
- end
21
-
22
36
  file('lib/jopenssl.jar') { Rake::Task['jar'].invoke }
23
37
 
24
38
  require 'rake/testtask'
@@ -28,4 +42,22 @@ Rake::TestTask.new do |task|
28
42
  task.verbose = true
29
43
  task.loader = :direct
30
44
  end
31
- task :test => 'lib/jopenssl.jar'
45
+ task :test => 'lib/jopenssl.jar'
46
+
47
+ namespace :integration do
48
+ it_path = File.expand_path('../src/test/integration', __FILE__)
49
+ task :install do
50
+ Dir.chdir(it_path) do
51
+ ruby "-S bundle install --gemfile '#{it_path}/Gemfile'"
52
+ end
53
+ end
54
+ # desc "Run IT tests"
55
+ task :test => 'lib/jopenssl.jar' do
56
+ unless File.exist?(File.join(it_path, 'Gemfile.lock'))
57
+ raise "bundle not installed, run `rake integration:install'"
58
+ end
59
+ loader = "ARGV.each { |f| require f }"
60
+ test_files = FileList['src/test/integration/*_test.rb'].to_a
61
+ ruby "-Ilib -e \"#{loader}\" #{test_files.map { |f| "\"#{f}\"" }.join(' ')}"
62
+ end
63
+ end
Binary file
@@ -1,6 +1,6 @@
1
1
  module Jopenssl
2
2
  module Version
3
- VERSION = '0.9.10'
3
+ VERSION = '0.9.11'
4
4
  BOUNCY_CASTLE_VERSION = '1.50'
5
5
  end
6
6
  end
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.10
4
+ version: 0.9.11
5
5
  platform: java
6
6
  authors:
7
7
  - Ola Bini
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-08-20 00:00:00.000000000 Z
12
+ date: 2015-08-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: jar-dependencies