famoseagle-carrot 0.4.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION.yml +1 -1
- data/lib/amqp/server.rb +4 -1
- metadata +2 -2
data/VERSION.yml
CHANGED
data/lib/amqp/server.rb
CHANGED
@@ -129,7 +129,10 @@ module Carrot::AMQP
|
|
129
129
|
)
|
130
130
|
)
|
131
131
|
|
132
|
-
|
132
|
+
method = next_method
|
133
|
+
raise ProtocolError, "Bad AMQP Credentials. user: #{@user}, pass: #{@pass}" if method.nil?
|
134
|
+
|
135
|
+
if method.is_a?(Protocol::Connection::Tune)
|
133
136
|
send_frame(
|
134
137
|
Protocol::Connection::TuneOk.new( :channel_max => 0, :frame_max => 131072, :heartbeat => 0)
|
135
138
|
)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: famoseagle-carrot
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amos Elliston
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-04-
|
12
|
+
date: 2009-04-22 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|