amqp 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +2 -0
- data/ChangeLog.md +10 -0
- data/README.md +1 -0
- data/lib/amqp/session.rb +9 -2
- data/lib/amqp/settings.rb +1 -0
- data/lib/amqp/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8f2f4d10362c5c533ba2d5b430626abb8e1eaa98
|
4
|
+
data.tar.gz: f80eecaca4102e7c3c0a2ff7522a2d090ddb23f4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0499db6a9bcf66885c76c95824a913571e2833e88fedf6d2b659ca01b3c21c52d30f3fb779eada43918bff9d5b0dbe705f29cc9ff11a32643cf6a592ccca996e
|
7
|
+
data.tar.gz: 58bc2ac9aa9412196ab37aaea1c3f968fdf76b8f5ff1bfa430ceec516cc04ed473b4e01dd8ef353184c055d05c5d37ebe80354f91f9d60d663895eec83a16b3f
|
data/.travis.yml
CHANGED
data/ChangeLog.md
CHANGED
@@ -1,3 +1,13 @@
|
|
1
|
+
## Changes Between 1.2.0 and 1.2.1
|
2
|
+
|
3
|
+
### Initial Connection Failures Retries
|
4
|
+
|
5
|
+
Set connection status to closed on connection failure, which
|
6
|
+
means connection retries succeed.
|
7
|
+
|
8
|
+
Contributed by Marius Hanne.
|
9
|
+
|
10
|
+
|
1
11
|
## Changes Between 1.1.0 and 1.2.0
|
2
12
|
|
3
13
|
### [Authentication Failure Notification](http://www.rabbitmq.com/auth-notification.html) Support
|
data/README.md
CHANGED
data/lib/amqp/session.rb
CHANGED
@@ -173,9 +173,16 @@ module AMQP
|
|
173
173
|
# EventMachine::Connection's and Adapter's constructors arity
|
174
174
|
# make it easier to use *args. MK.
|
175
175
|
@settings = Settings.configure(args.first)
|
176
|
-
|
177
|
-
|
176
|
+
|
177
|
+
@on_tcp_connection_failure = Proc.new { |settings|
|
178
|
+
closed!
|
179
|
+
if cb = @settings[:on_tcp_connection_failure]
|
180
|
+
cb.call(settings)
|
181
|
+
else
|
182
|
+
raise self.class.tcp_connection_failure_exception_class.new(settings)
|
183
|
+
end
|
178
184
|
}
|
185
|
+
|
179
186
|
@on_possible_authentication_failure = @settings[:on_possible_authentication_failure] || Proc.new { |settings|
|
180
187
|
raise self.class.authentication_failure_exception_class.new(settings)
|
181
188
|
}
|
data/lib/amqp/settings.rb
CHANGED
data/lib/amqp/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: amqp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Aman Gupta
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2014-01-
|
13
|
+
date: 2014-01-23 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: eventmachine
|