drb 2.1.1 → 2.2.0

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
  SHA256:
3
- metadata.gz: dbef5362ded411302c246ad1e692b0653d949cae852d6f70399352530400c117
4
- data.tar.gz: 9a40103cba6d502dcdcc053e7fbdf32b74d3f6bcdd161c10a663ce24b30dc0ba
3
+ metadata.gz: 98d0eb4ca6f309e55b9edd0b87faee6027dc76949d8317df7203b62024c4b40f
4
+ data.tar.gz: 4e830e9ed25892a1c3b46c5926c6efd87080240835b6ede32723bce0ae704945
5
5
  SHA512:
6
- metadata.gz: 13b306094ed3815c264828904f22df319630e044587717561e9bb91f09f729b2b329de551d613c9327f8691777a9733cdd845d4c85308034b4a103c39e3def1d
7
- data.tar.gz: 74104ebea97bd19a3a74b6729cdca80305eb061e268c89f66ae3cd29a1959c6299775b75d0bb0a9d780fcb2cf65a2e51d876be19a058ad674ad68494569fa42a
6
+ metadata.gz: c89c251f8fe35f13f6bb527f01283ff93f05608349af8b9222986d2985c79ffd27c41f47808fce8230041d97cc94e483d5aecd200913ab6f3af966d26a3f226a
7
+ data.tar.gz: 5ad205949893eb700ebb35a59d9f5500a4737fa21e9e990f14ee2eec608d59d59ab2d556a409d9c57a79f219a29736c77a76e701af786470484578f19f9bf330
data/lib/drb/drb.rb CHANGED
@@ -2,7 +2,7 @@
2
2
  #
3
3
  # = drb/drb.rb
4
4
  #
5
- # Distributed Ruby: _dRuby_ version 2.0.4
5
+ # Distributed Ruby: _dRuby_
6
6
  #
7
7
  # Copyright (c) 1999-2003 Masatoshi SEKI. You can redistribute it and/or
8
8
  # modify it under the same terms as Ruby.
@@ -50,6 +50,7 @@ require 'socket'
50
50
  require 'io/wait'
51
51
  require 'monitor'
52
52
  require_relative 'eq'
53
+ require_relative 'version'
53
54
 
54
55
  #
55
56
  # == Overview
data/lib/drb/ssl.rb CHANGED
@@ -73,6 +73,14 @@ module DRb
73
73
  # :SSLTmpDhCallback ::
74
74
  # A DH callback. See OpenSSL::SSL::SSLContext.tmp_dh_callback
75
75
  #
76
+ # :SSLMinVersion ::
77
+ # This is the minimum SSL version to allow. See
78
+ # OpenSSL::SSL::SSLContext#min_version=.
79
+ #
80
+ # :SSLMaxVersion ::
81
+ # This is the maximum SSL version to allow. See
82
+ # OpenSSL::SSL::SSLContext#max_version=.
83
+ #
76
84
  # :SSLVerifyMode ::
77
85
  # This is the SSL verification mode. See OpenSSL::SSL::VERIFY_* for
78
86
  # available modes. The default is OpenSSL::SSL::VERIFY_NONE
@@ -208,6 +216,8 @@ module DRb
208
216
  ctx = ::OpenSSL::SSL::SSLContext.new
209
217
  ctx.cert = @cert
210
218
  ctx.key = @pkey
219
+ ctx.min_version = self[:SSLMinVersion]
220
+ ctx.max_version = self[:SSLMaxVersion]
211
221
  ctx.client_ca = self[:SSLClientCA]
212
222
  ctx.ca_path = self[:SSLCACertificatePath]
213
223
  ctx.ca_file = self[:SSLCACertificateFile]
data/lib/drb/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module DRb
2
- VERSION = "2.1.1"
2
+ VERSION = "2.2.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: drb
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.1
4
+ version: 2.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Masatoshi SEKI
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-12-05 00:00:00.000000000 Z
11
+ date: 2023-11-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ruby2_keywords
@@ -69,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
69
69
  - !ruby/object:Gem::Version
70
70
  version: '0'
71
71
  requirements: []
72
- rubygems_version: 3.4.0.dev
72
+ rubygems_version: 3.5.0.dev
73
73
  signing_key:
74
74
  specification_version: 4
75
75
  summary: Distributed object system for Ruby