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 +4 -4
- data/drb.gemspec +0 -2
- data/lib/drb/drb.rb +6 -6
- data/lib/drb/unix.rb +1 -1
- data/lib/drb/version.rb +1 -1
- metadata +4 -21
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5aaeae79e5e0cf8a01be3ccddaa3818c2069f1799df38d2a001a98ae223bc456
|
4
|
+
data.tar.gz: 28c6ceb28a21aa846b00c5fc8e14cb3609895459a8d6df6ad8c0b718f470b540
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 62519677865b8b9968250e208a4c884c21813949bf464588d7d5435e8f20d6bd787af7b4165c711b84829b61d565cd55781e25134b500575190eb62b59607c41
|
7
|
+
data.tar.gz: 6e7408910572c0020a9fe423a0b7010e40edbdb94f5024c49a007b9802efeeefd19d39825fb094c9d28bbe65c2278e305404180f97f6705a354a571af39c28a0
|
data/drb.gemspec
CHANGED
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
|
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
|
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
|
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
|
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
|
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
|
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
data/lib/drb/version.rb
CHANGED
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.
|
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:
|
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.
|
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: []
|