amq-client 0.7.0.alpha28 → 0.7.0.alpha29
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.
- data/lib/amq/client/channel.rb +2 -0
- data/lib/amq/client/entity.rb +1 -4
- data/lib/amq/client/version.rb +1 -1
- metadata +3 -3
data/lib/amq/client/channel.rb
CHANGED
data/lib/amq/client/entity.rb
CHANGED
@@ -62,10 +62,7 @@ module AMQ
|
|
62
62
|
|
63
63
|
|
64
64
|
def error(exception)
|
65
|
-
|
66
|
-
# Set callback for given class (Queue for example)
|
67
|
-
# or for the Connection class (or instance, of course).
|
68
|
-
callbacks = [self.callbacks[:close], self.connection.callbacks[:close]].flatten.compact
|
65
|
+
callbacks = [@callbacks[:close]].flatten.compact
|
69
66
|
|
70
67
|
callbacks.map { |c| c.call(exception) } if callbacks.any?
|
71
68
|
end
|
data/lib/amq/client/version.rb
CHANGED
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: amq-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash: -
|
4
|
+
hash: -3702664426
|
5
5
|
prerelease: 6
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 7
|
9
9
|
- 0
|
10
10
|
- alpha
|
11
|
-
-
|
12
|
-
version: 0.7.0.
|
11
|
+
- 29
|
12
|
+
version: 0.7.0.alpha29
|
13
13
|
platform: ruby
|
14
14
|
authors:
|
15
15
|
- Jakub Stastny
|