bunny 2.20.0 → 2.20.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 468bfc7996c3f5788b662177b34a05347cfcb62719dcf28ed80eda672353785b
4
- data.tar.gz: 2bdfafeb9150f68fc6dbf63fdc9b14463c0f00cb0f7a9641f1b15ddf2e4cb56e
3
+ metadata.gz: 80baa8fac5ded1ea11891e12b94495c7a00f11fa14b44541aa617c01ac0ced3d
4
+ data.tar.gz: 5e1ed138207478a57198878e3800a3e12066b7f89ec5de750ebe1e97fff004e6
5
5
  SHA512:
6
- metadata.gz: b51c187bd404eb6a57c5ce7dd061f25de84cff1f27873e38a751269410ee46a2f639a3b94b0e4f1544c9044850df9e8db5d45fe9a35d9ba2e7bd392f2290e72b
7
- data.tar.gz: 863c430420bc560223e24e90fb259bfc537ef73c016b2089e14d1b73307f8564cf945ade393d36b0cfe4a259b4daec88f50ee12d0a6cb037d27ce5aab0466d64
6
+ metadata.gz: 18eed42a3d18a476c42c7039bfc42e6c4563b72e4a9657f631b72a66da1a2515b5f1079cc5cebf95db375d95d96d599cc5ae89e4cef66edabfabd7362e8e15c6
7
+ data.tar.gz: 0055740b4cc9a517d9b92a63c440505b430c1721972bfc2dcb8939180b7a4b35fabe7abcf2fd552e87f48a490ce0e75594f1a4cefcc31c0b29f790ff1bc3e6e5
data/lib/bunny/session.rb CHANGED
@@ -671,8 +671,12 @@ module Bunny
671
671
  # avoid doing that while holding a mutex lock. MK.
672
672
  ch.handle_method(method)
673
673
  ensure
674
- # synchronises on @channel_mutex under the hood
675
- self.unregister_channel(ch)
674
+ if ch.nil?
675
+ @logger.warn "Received a server-sent channel.close but the channel was not found locally. Ignoring the frame."
676
+ else
677
+ # synchronises on @channel_mutex under the hood
678
+ self.unregister_channel(ch)
679
+ end
676
680
  end
677
681
  when AMQ::Protocol::Basic::GetEmpty then
678
682
  ch = find_channel(ch_number)
data/lib/bunny/version.rb CHANGED
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Bunny
4
4
  # @return [String] Version of the library
5
- VERSION = "2.20.0"
5
+ VERSION = "2.20.1"
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bunny
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.20.0
4
+ version: 2.20.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Duncan
@@ -12,7 +12,7 @@ authors:
12
12
  autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2022-12-16 00:00:00.000000000 Z
15
+ date: 2022-12-19 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: amq-protocol
@@ -54,7 +54,7 @@ dependencies:
54
54
  - - ">="
55
55
  - !ruby/object:Gem::Version
56
56
  version: 1.0.2
57
- description: Easy to use, feature complete Ruby client for RabbitMQ 3.3 and later
57
+ description: Easy to use, feature complete Ruby client for RabbitMQ 3.9 and later
58
58
  versions.
59
59
  email:
60
60
  - michael.s.klishin@gmail.com
@@ -120,7 +120,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
120
120
  - !ruby/object:Gem::Version
121
121
  version: '0'
122
122
  requirements: []
123
- rubygems_version: 3.1.4
123
+ rubygems_version: 3.3.7
124
124
  signing_key:
125
125
  specification_version: 4
126
126
  summary: Popular easy to use Ruby client for RabbitMQ