right_amqp 0.8.6 → 0.8.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -29,6 +29,7 @@ module AMQP
29
29
  # Use frame_max received from broker so that adapt properly to RabbitMQ 2.4.1
30
30
  # expecting 131,072 and RabbitMQ 3.4.1 that is configured to 0 meaning unlimited
31
31
  # because it will otherwise reject requests larger than this and fail the connection
32
+ @frame_max = method.frame_max
32
33
  send Protocol::Connection::TuneOk.new(:channel_max => 0,
33
34
  :frame_max => method.frame_max,
34
35
  :heartbeat => @settings[:heartbeat] || 0)
@@ -170,6 +171,10 @@ module AMQP
170
171
  @connected
171
172
  end
172
173
 
174
+ def frame_max
175
+ @frame_max
176
+ end
177
+
173
178
  def unbind
174
179
  log 'disconnected'
175
180
  @connected = false
@@ -24,8 +24,8 @@ require 'rubygems'
24
24
 
25
25
  Gem::Specification.new do |spec|
26
26
  spec.name = 'right_amqp'
27
- spec.version = '0.8.6'
28
- spec.date = '2014-11-12'
27
+ spec.version = '0.8.7'
28
+ spec.date = '2015-06-26'
29
29
  spec.authors = ['Lee Kirchhoff']
30
30
  spec.email = 'lee@rightscale.com'
31
31
  spec.homepage = 'https://github.com/rightscale/right_amqp'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: right_amqp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.6
4
+ version: 0.8.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-11-12 00:00:00.000000000 Z
12
+ date: 2015-06-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: right_support
@@ -136,7 +136,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
136
136
  version: '0'
137
137
  segments:
138
138
  - 0
139
- hash: -4034513993207482869
139
+ hash: -88560087063746988
140
140
  requirements: []
141
141
  rubyforge_project:
142
142
  rubygems_version: 1.8.26