This is an automated email from the ASF dual-hosted git repository.

astitcher pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/qpid-proton.git


The following commit(s) were added to refs/heads/main by this push:
     new 6bcdfeb  PROTON-2498: [Ruby] Fix binding for ruby 3.1
6bcdfeb is described below

commit 6bcdfebb55ea3554bc29b1901422532db331a591
Author: Andrew Stitcher <[email protected]>
AuthorDate: Thu Feb 10 17:43:02 2022 -0500

    PROTON-2498: [Ruby] Fix binding for ruby 3.1
---
 ruby/lib/core/uri.rb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ruby/lib/core/uri.rb b/ruby/lib/core/uri.rb
index 9c063b8..abced21 100644
--- a/ruby/lib/core/uri.rb
+++ b/ruby/lib/core/uri.rb
@@ -27,13 +27,13 @@ module URI
     # @return [String] The AMQP address is the {#path} stripped of any leading 
"/"
     def amqp_address() path[0] == "/" ? path[1..-1] : path; end
   end
-  @@schemes['AMQP'] = AMQP
+  scheme_list['AMQP'] = AMQP
 
   # AMQPS URI scheme for the AMQP protocol over TLS
   class AMQPS < AMQP
     DEFAULT_PORT = 5671
   end
-  @@schemes['AMQPS'] = AMQPS
+  scheme_list['AMQPS'] = AMQPS
 end
 
 module Qpid::Proton

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to