[前][次][番号順一覧][スレッド一覧]

ruby-changes:62884

From: Hiroshi <ko1@a...>
Date: Fri, 11 Sep 2020 10:53:15 +0900 (JST)
Subject: [ruby-changes:62884] d55c914f0f (master): Removed DRb.default_safe_level and DRb#safe_level

https://git.ruby-lang.org/ruby.git/commit/?id=d55c914f0f

From d55c914f0fe951b6f742b1b7247011dd681350a1 Mon Sep 17 00:00:00 2001
From: Hiroshi SHIBATA <hsbt@r...>
Date: Thu, 10 Sep 2020 21:07:41 +0900
Subject: Removed DRb.default_safe_level and DRb#safe_level


diff --git a/lib/drb/drb.rb b/lib/drb/drb.rb
index 4d3ea36..3e23213 100644
--- a/lib/drb/drb.rb
+++ b/lib/drb/drb.rb
@@ -1382,10 +1382,6 @@ module DRb https://github.com/ruby/ruby/blob/trunk/lib/drb/drb.rb#L1382
       @@idconv = idconv
     end
 
-    def self.default_safe_level(level) # :nodoc:
-      # Remove in Ruby 3.0
-    end
-
     # Set the default value of the :verbose option.
     #
     # See #new().  The initial default value is false.
@@ -1495,11 +1491,6 @@ module DRb https://github.com/ruby/ruby/blob/trunk/lib/drb/drb.rb#L1491
     # The configuration of this DRbServer
     attr_reader :config
 
-    def safe_level # :nodoc:
-      # Remove in Ruby 3.0
-      0
-    end
-
     # Set whether to operate in verbose mode.
     #
     # In verbose mode, failed calls are logged to stdout.
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]