drb 2.2.0 → 2.2.1

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: 98d0eb4ca6f309e55b9edd0b87faee6027dc76949d8317df7203b62024c4b40f
4
- data.tar.gz: 4e830e9ed25892a1c3b46c5926c6efd87080240835b6ede32723bce0ae704945
3
+ metadata.gz: 5aaeae79e5e0cf8a01be3ccddaa3818c2069f1799df38d2a001a98ae223bc456
4
+ data.tar.gz: 28c6ceb28a21aa846b00c5fc8e14cb3609895459a8d6df6ad8c0b718f470b540
5
5
  SHA512:
6
- metadata.gz: c89c251f8fe35f13f6bb527f01283ff93f05608349af8b9222986d2985c79ffd27c41f47808fce8230041d97cc94e483d5aecd200913ab6f3af966d26a3f226a
7
- data.tar.gz: 5ad205949893eb700ebb35a59d9f5500a4737fa21e9e990f14ee2eec608d59d59ab2d556a409d9c57a79f219a29736c77a76e701af786470484578f19f9bf330
6
+ metadata.gz: 62519677865b8b9968250e208a4c884c21813949bf464588d7d5435e8f20d6bd787af7b4165c711b84829b61d565cd55781e25134b500575190eb62b59607c41
7
+ data.tar.gz: 6e7408910572c0020a9fe423a0b7010e40edbdb94f5024c49a007b9802efeeefd19d39825fb094c9d28bbe65c2278e305404180f97f6705a354a571af39c28a0
data/drb.gemspec CHANGED
@@ -38,6 +38,4 @@ Gem::Specification.new do |spec|
38
38
  lib/drb/weakidconv.rb
39
39
  ]
40
40
  spec.require_paths = ["lib"]
41
-
42
- spec.add_dependency "ruby2_keywords"
43
41
  end
data/lib/drb/drb.rb CHANGED
@@ -1174,7 +1174,7 @@ module DRb
1174
1174
  prefix = "(#{uri}) "
1175
1175
  bt = []
1176
1176
  result.backtrace.each do |x|
1177
- break if /`__send__'$/ =~ x
1177
+ break if /[`']__send__'$/ =~ x
1178
1178
  if /\A\(druby:\/\// =~ x
1179
1179
  bt.push(x)
1180
1180
  else
@@ -1594,26 +1594,26 @@ module DRb
1594
1594
  def check_insecure_method(obj, msg_id)
1595
1595
  return true if Proc === obj && msg_id == :__drb_yield
1596
1596
  raise(ArgumentError, "#{any_to_s(msg_id)} is not a symbol") unless Symbol == msg_id.class
1597
- raise(SecurityError, "insecure method `#{msg_id}'") if insecure_method?(msg_id)
1597
+ raise(SecurityError, "insecure method '#{msg_id}'") if insecure_method?(msg_id)
1598
1598
 
1599
1599
  case obj
1600
1600
  when Object
1601
1601
  if obj.private_methods.include?(msg_id)
1602
1602
  desc = any_to_s(obj)
1603
- raise NoMethodError, "private method `#{msg_id}' called for #{desc}"
1603
+ raise NoMethodError, "private method '#{msg_id}' called for #{desc}"
1604
1604
  elsif obj.protected_methods.include?(msg_id)
1605
1605
  desc = any_to_s(obj)
1606
- raise NoMethodError, "protected method `#{msg_id}' called for #{desc}"
1606
+ raise NoMethodError, "protected method '#{msg_id}' called for #{desc}"
1607
1607
  else
1608
1608
  true
1609
1609
  end
1610
1610
  else
1611
1611
  if Kernel.instance_method(:private_methods).bind(obj).call.include?(msg_id)
1612
1612
  desc = any_to_s(obj)
1613
- raise NoMethodError, "private method `#{msg_id}' called for #{desc}"
1613
+ raise NoMethodError, "private method '#{msg_id}' called for #{desc}"
1614
1614
  elsif Kernel.instance_method(:protected_methods).bind(obj).call.include?(msg_id)
1615
1615
  desc = any_to_s(obj)
1616
- raise NoMethodError, "protected method `#{msg_id}' called for #{desc}"
1616
+ raise NoMethodError, "protected method '#{msg_id}' called for #{desc}"
1617
1617
  else
1618
1618
  true
1619
1619
  end
data/lib/drb/unix.rb CHANGED
@@ -81,7 +81,7 @@ module DRb
81
81
  break
82
82
  end
83
83
  rescue
84
- raise "cannot generate tempfile `%s'" % tmpname if n >= Max_try
84
+ raise "cannot generate tempfile '%s'" % tmpname if n >= Max_try
85
85
  #sleep(1)
86
86
  end
87
87
  n += 1
data/lib/drb/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module DRb
2
- VERSION = "2.2.0"
2
+ VERSION = "2.2.1"
3
3
  end
metadata CHANGED
@@ -1,29 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: drb
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.0
4
+ version: 2.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Masatoshi SEKI
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2023-11-07 00:00:00.000000000 Z
12
- dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: ruby2_keywords
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - ">="
18
- - !ruby/object:Gem::Version
19
- version: '0'
20
- type: :runtime
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - ">="
25
- - !ruby/object:Gem::Version
26
- version: '0'
10
+ date: 2024-03-01 00:00:00.000000000 Z
11
+ dependencies: []
27
12
  description: Distributed object system for Ruby
28
13
  email:
29
14
  - seki@ruby-lang.org
@@ -54,7 +39,6 @@ licenses:
54
39
  metadata:
55
40
  homepage_uri: https://github.com/ruby/drb
56
41
  source_code_uri: https://github.com/ruby/drb
57
- post_install_message:
58
42
  rdoc_options: []
59
43
  require_paths:
60
44
  - lib
@@ -69,8 +53,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
69
53
  - !ruby/object:Gem::Version
70
54
  version: '0'
71
55
  requirements: []
72
- rubygems_version: 3.5.0.dev
73
- signing_key:
56
+ rubygems_version: 3.6.0.dev
74
57
  specification_version: 4
75
58
  summary: Distributed object system for Ruby
76
59
  test_files: []