amq-client 0.7.0.alpha18 → 0.7.0.alpha19

Sign up to get free protection for your applications and to get access to all the features.
@@ -237,7 +237,7 @@ module AMQ
237
237
  # * Initial TCP connection fails
238
238
  # @private
239
239
  def unbind(exception = nil)
240
- if !@tcp_connection_established && !@had_successfull_connected_before
240
+ if !@tcp_connection_established && !@had_successfull_connected_before && !@intentionally_closing_connection
241
241
  @tcp_connection_failed = true
242
242
  self.tcp_connection_failed
243
243
  end
@@ -225,7 +225,7 @@ module AMQ
225
225
  #
226
226
  # 100.times { queue.get { ... } }
227
227
  #
228
- # most likely you won't expect 100 callback runs per messages here. MK.
228
+ # most likely you won't expect 100 callback runs per message here. MK.
229
229
  self.redefine_callback(:get, &block)
230
230
  @channel.queues_awaiting_get_response.push(self)
231
231
 
@@ -1,5 +1,5 @@
1
1
  module AMQ
2
2
  module Client
3
- VERSION = "0.7.0.alpha18"
3
+ VERSION = "0.7.0.alpha19"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,234 +1,237 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: amq-client
3
- version: !ruby/object:Gem::Version
4
- version: 0.7.0.alpha18
3
+ version: !ruby/object:Gem::Version
5
4
  prerelease: 6
5
+ version: 0.7.0.alpha19
6
6
  platform: ruby
7
- authors:
8
- - Jakub Stastny
9
- - Michael S. Klishin
10
- - Theo Hultberg
11
- - Mark Abramov
7
+ authors:
8
+ - Jakub Stastny
9
+ - Michael S. Klishin
10
+ - Theo Hultberg
11
+ - Mark Abramov
12
12
  autorequire:
13
13
  bindir: bin
14
14
  cert_chain:
15
- date: 2011-05-06 00:00:00.000000000 +04:00
15
+ date: 2011-05-06 00:00:00 +04:00
16
16
  default_executable:
17
- dependencies:
18
- - !ruby/object:Gem::Dependency
19
- name: eventmachine
20
- requirement: &2168779660 !ruby/object:Gem::Requirement
21
- none: false
22
- requirements:
23
- - - ! '>='
24
- - !ruby/object:Gem::Version
25
- version: '0'
26
- type: :runtime
27
- prerelease: false
28
- version_requirements: *2168779660
29
- - !ruby/object:Gem::Dependency
30
- name: amq-protocol
31
- requirement: &2168779140 !ruby/object:Gem::Requirement
32
- none: false
33
- requirements:
34
- - - ! '>='
35
- - !ruby/object:Gem::Version
36
- version: '0'
37
- type: :runtime
38
- prerelease: false
39
- version_requirements: *2168779140
40
- description: amq-client supports multiple networking adapters (EventMachine, TCP sockets,
41
- cool.io) and supposed to back more opinionated AMQP clients (such as amqp gem, bunny,
42
- et cetera) or be used directly in cases when access to more advanced AMQP 0.9.1
43
- features is more important that convenient APIs
44
- email:
45
- - stastny@101ideas.cz
46
- - michael@novemberain.com
17
+ dependencies:
18
+ - !ruby/object:Gem::Dependency
19
+ name: eventmachine
20
+ prerelease: false
21
+ requirement: &id001 !ruby/object:Gem::Requirement
22
+ none: false
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: "0"
27
+ type: :runtime
28
+ version_requirements: *id001
29
+ - !ruby/object:Gem::Dependency
30
+ name: amq-protocol
31
+ prerelease: false
32
+ requirement: &id002 !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ">="
36
+ - !ruby/object:Gem::Version
37
+ version: "0"
38
+ type: :runtime
39
+ version_requirements: *id002
40
+ description: amq-client supports multiple networking adapters (EventMachine, TCP sockets, cool.io) and supposed to back more opinionated AMQP clients (such as amqp gem, bunny, et cetera) or be used directly in cases when access to more advanced AMQP 0.9.1 features is more important that convenient APIs
41
+ email:
42
+ - stastny@101ideas.cz
43
+ - michael@novemberain.com
47
44
  executables: []
45
+
48
46
  extensions: []
49
- extra_rdoc_files:
50
- - README.textile
51
- - doc/_index.html
52
- - doc/AMQ.html
53
- - doc/class_list.html
54
- - doc/file.README.html
55
- - doc/file_list.html
56
- - doc/frames.html
57
- - doc/index.html
58
- - doc/method_list.html
59
- - doc/top-level-namespace.html
60
- files:
61
- - .gitignore
62
- - .gitmodules
63
- - .rspec
64
- - .travis.yml
65
- - .yardopts
66
- - CONTRIBUTORS
67
- - Gemfile
68
- - LICENSE
69
- - README.textile
70
- - amq-client.gemspec
71
- - bin/jenkins.sh
72
- - bin/set_test_suite_realms_up.sh
73
- - examples/coolio_adapter/basic_consume.rb
74
- - examples/coolio_adapter/basic_consume_with_acknowledgements.rb
75
- - examples/coolio_adapter/basic_consume_with_rejections.rb
76
- - examples/coolio_adapter/basic_publish.rb
77
- - examples/coolio_adapter/channel_close.rb
78
- - examples/coolio_adapter/example_helper.rb
79
- - examples/coolio_adapter/exchange_declare.rb
80
- - examples/coolio_adapter/kitchen_sink1.rb
81
- - examples/coolio_adapter/queue_bind.rb
82
- - examples/coolio_adapter/queue_purge.rb
83
- - examples/coolio_adapter/queue_unbind.rb
84
- - examples/eventmachine_adapter/authentication/plain_password_with_custom_role_credentials.rb
85
- - examples/eventmachine_adapter/authentication/plain_password_with_default_role_credentials.rb
86
- - examples/eventmachine_adapter/authentication/plain_password_with_incorrect_credentials_handled_with_a_callback.rb
87
- - examples/eventmachine_adapter/authentication/plain_password_with_incorrect_credentials_handled_with_a_rescue_block.rb
88
- - examples/eventmachine_adapter/basic_cancel.rb
89
- - examples/eventmachine_adapter/basic_consume.rb
90
- - examples/eventmachine_adapter/basic_consume_with_acknowledgements.rb
91
- - examples/eventmachine_adapter/basic_consume_with_rejections.rb
92
- - examples/eventmachine_adapter/basic_get.rb
93
- - examples/eventmachine_adapter/basic_get_with_empty_queue.rb
94
- - examples/eventmachine_adapter/basic_publish.rb
95
- - examples/eventmachine_adapter/basic_qos.rb
96
- - examples/eventmachine_adapter/basic_recover.rb
97
- - examples/eventmachine_adapter/basic_return.rb
98
- - examples/eventmachine_adapter/channel_close.rb
99
- - examples/eventmachine_adapter/channel_flow.rb
100
- - examples/eventmachine_adapter/channel_level_exception_handling.rb
101
- - examples/eventmachine_adapter/connection_failure_callback.rb
102
- - examples/eventmachine_adapter/connection_failure_exception.rb
103
- - examples/eventmachine_adapter/connection_loss_handler.rb
104
- - examples/eventmachine_adapter/example_helper.rb
105
- - examples/eventmachine_adapter/exchange_declare.rb
106
- - examples/eventmachine_adapter/extensions/rabbitmq/handling_confirm_select_ok.rb
107
- - examples/eventmachine_adapter/extensions/rabbitmq/publisher_confirmations_with_transient_messages.rb
108
- - examples/eventmachine_adapter/extensions/rabbitmq/publisher_confirmations_with_unroutable_message.rb
109
- - examples/eventmachine_adapter/kitchen_sink1.rb
110
- - examples/eventmachine_adapter/queue_bind.rb
111
- - examples/eventmachine_adapter/queue_declare.rb
112
- - examples/eventmachine_adapter/queue_purge.rb
113
- - examples/eventmachine_adapter/queue_unbind.rb
114
- - examples/eventmachine_adapter/tls/tls_without_peer_verification.rb
115
- - examples/eventmachine_adapter/tx_commit.rb
116
- - examples/eventmachine_adapter/tx_rollback.rb
117
- - examples/eventmachine_adapter/tx_select.rb
118
- - examples/socket_adapter/basics.rb
119
- - examples/socket_adapter/connection.rb
120
- - examples/socket_adapter/multiple_connections.rb
121
- - examples/tls_certificates/client/cert.pem
122
- - examples/tls_certificates/client/key.pem
123
- - examples/tls_certificates/client/keycert.p12
124
- - examples/tls_certificates/client/req.pem
125
- - examples/tls_certificates/server/cert.pem
126
- - examples/tls_certificates/server/key.pem
127
- - examples/tls_certificates/server/keycert.p12
128
- - examples/tls_certificates/server/req.pem
129
- - examples/tls_certificates/testca/cacert.cer
130
- - examples/tls_certificates/testca/cacert.pem
131
- - examples/tls_certificates/testca/certs/01.pem
132
- - examples/tls_certificates/testca/certs/02.pem
133
- - examples/tls_certificates/testca/index.txt
134
- - examples/tls_certificates/testca/index.txt.attr
135
- - examples/tls_certificates/testca/index.txt.attr.old
136
- - examples/tls_certificates/testca/index.txt.old
137
- - examples/tls_certificates/testca/openssl.cnf
138
- - examples/tls_certificates/testca/private/cakey.pem
139
- - examples/tls_certificates/testca/serial
140
- - examples/tls_certificates/testca/serial.old
141
- - irb.rb
142
- - lib/amq/client.rb
143
- - lib/amq/client/adapter.rb
144
- - lib/amq/client/adapters/coolio.rb
145
- - lib/amq/client/adapters/event_machine.rb
146
- - lib/amq/client/adapters/socket.rb
147
- - lib/amq/client/channel.rb
148
- - lib/amq/client/connection.rb
149
- - lib/amq/client/entity.rb
150
- - lib/amq/client/exceptions.rb
151
- - lib/amq/client/exchange.rb
152
- - lib/amq/client/extensions/rabbitmq.rb
153
- - lib/amq/client/extensions/rabbitmq/basic.rb
154
- - lib/amq/client/extensions/rabbitmq/confirm.rb
155
- - lib/amq/client/framing/io/frame.rb
156
- - lib/amq/client/framing/string/frame.rb
157
- - lib/amq/client/logging.rb
158
- - lib/amq/client/mixins/anonymous_entity.rb
159
- - lib/amq/client/mixins/status.rb
160
- - lib/amq/client/protocol/get_response.rb
161
- - lib/amq/client/queue.rb
162
- - lib/amq/client/settings.rb
163
- - lib/amq/client/version.rb
164
- - spec/benchmarks/adapters.rb
165
- - spec/client/framing/io_frame_spec.rb
166
- - spec/client/framing/string_frame_spec.rb
167
- - spec/client/protocol/get_response_spec.rb
168
- - spec/integration/coolio/basic_ack_spec.rb
169
- - spec/integration/coolio/basic_get_spec.rb
170
- - spec/integration/coolio/basic_return_spec.rb
171
- - spec/integration/coolio/channel_close_spec.rb
172
- - spec/integration/coolio/channel_flow_spec.rb
173
- - spec/integration/coolio/connection_close_spec.rb
174
- - spec/integration/coolio/connection_start_spec.rb
175
- - spec/integration/coolio/exchange_declare_spec.rb
176
- - spec/integration/coolio/spec_helper.rb
177
- - spec/integration/coolio/tx_commit_spec.rb
178
- - spec/integration/coolio/tx_rollback_spec.rb
179
- - spec/integration/eventmachine/basic_ack_spec.rb
180
- - spec/integration/eventmachine/basic_get_spec.rb
181
- - spec/integration/eventmachine/basic_return_spec.rb
182
- - spec/integration/eventmachine/channel_close_spec.rb
183
- - spec/integration/eventmachine/channel_flow_spec.rb
184
- - spec/integration/eventmachine/connection_close_spec.rb
185
- - spec/integration/eventmachine/connection_start_spec.rb
186
- - spec/integration/eventmachine/exchange_declare_spec.rb
187
- - spec/integration/eventmachine/regressions/amqp_gem_issue66_spec.rb
188
- - spec/integration/eventmachine/spec_helper.rb
189
- - spec/integration/eventmachine/tx_commit_spec.rb
190
- - spec/integration/eventmachine/tx_rollback_spec.rb
191
- - spec/regression/bad_frame_slicing_in_adapters_spec.rb
192
- - spec/spec_helper.rb
193
- - spec/unit/client/adapter_spec.rb
194
- - spec/unit/client/entity_spec.rb
195
- - spec/unit/client/logging_spec.rb
196
- - spec/unit/client/mixins/status_spec.rb
197
- - spec/unit/client/settings_spec.rb
198
- - spec/unit/client_spec.rb
199
- - tasks.rb
200
- - doc/_index.html
201
- - doc/AMQ.html
202
- - doc/class_list.html
203
- - doc/file.README.html
204
- - doc/file_list.html
205
- - doc/frames.html
206
- - doc/index.html
207
- - doc/method_list.html
208
- - doc/top-level-namespace.html
47
+
48
+ extra_rdoc_files:
49
+ - README.textile
50
+ - doc/_index.html
51
+ - doc/AMQ.html
52
+ - doc/class_list.html
53
+ - doc/file.README.html
54
+ - doc/file_list.html
55
+ - doc/frames.html
56
+ - doc/index.html
57
+ - doc/method_list.html
58
+ - doc/top-level-namespace.html
59
+ files:
60
+ - .gitignore
61
+ - .gitmodules
62
+ - .rspec
63
+ - .travis.yml
64
+ - .yardopts
65
+ - CONTRIBUTORS
66
+ - Gemfile
67
+ - LICENSE
68
+ - README.textile
69
+ - amq-client.gemspec
70
+ - bin/jenkins.sh
71
+ - bin/set_test_suite_realms_up.sh
72
+ - examples/coolio_adapter/basic_consume.rb
73
+ - examples/coolio_adapter/basic_consume_with_acknowledgements.rb
74
+ - examples/coolio_adapter/basic_consume_with_rejections.rb
75
+ - examples/coolio_adapter/basic_publish.rb
76
+ - examples/coolio_adapter/channel_close.rb
77
+ - examples/coolio_adapter/example_helper.rb
78
+ - examples/coolio_adapter/exchange_declare.rb
79
+ - examples/coolio_adapter/kitchen_sink1.rb
80
+ - examples/coolio_adapter/queue_bind.rb
81
+ - examples/coolio_adapter/queue_purge.rb
82
+ - examples/coolio_adapter/queue_unbind.rb
83
+ - examples/eventmachine_adapter/authentication/plain_password_with_custom_role_credentials.rb
84
+ - examples/eventmachine_adapter/authentication/plain_password_with_default_role_credentials.rb
85
+ - examples/eventmachine_adapter/authentication/plain_password_with_incorrect_credentials_handled_with_a_callback.rb
86
+ - examples/eventmachine_adapter/authentication/plain_password_with_incorrect_credentials_handled_with_a_rescue_block.rb
87
+ - examples/eventmachine_adapter/basic_cancel.rb
88
+ - examples/eventmachine_adapter/basic_consume.rb
89
+ - examples/eventmachine_adapter/basic_consume_with_acknowledgements.rb
90
+ - examples/eventmachine_adapter/basic_consume_with_rejections.rb
91
+ - examples/eventmachine_adapter/basic_get.rb
92
+ - examples/eventmachine_adapter/basic_get_with_empty_queue.rb
93
+ - examples/eventmachine_adapter/basic_publish.rb
94
+ - examples/eventmachine_adapter/basic_qos.rb
95
+ - examples/eventmachine_adapter/basic_recover.rb
96
+ - examples/eventmachine_adapter/basic_return.rb
97
+ - examples/eventmachine_adapter/channel_close.rb
98
+ - examples/eventmachine_adapter/channel_flow.rb
99
+ - examples/eventmachine_adapter/channel_level_exception_handling.rb
100
+ - examples/eventmachine_adapter/connection_failure_callback.rb
101
+ - examples/eventmachine_adapter/connection_failure_exception.rb
102
+ - examples/eventmachine_adapter/connection_loss_handler.rb
103
+ - examples/eventmachine_adapter/example_helper.rb
104
+ - examples/eventmachine_adapter/exchange_declare.rb
105
+ - examples/eventmachine_adapter/extensions/rabbitmq/handling_confirm_select_ok.rb
106
+ - examples/eventmachine_adapter/extensions/rabbitmq/publisher_confirmations_with_transient_messages.rb
107
+ - examples/eventmachine_adapter/extensions/rabbitmq/publisher_confirmations_with_unroutable_message.rb
108
+ - examples/eventmachine_adapter/kitchen_sink1.rb
109
+ - examples/eventmachine_adapter/queue_bind.rb
110
+ - examples/eventmachine_adapter/queue_declare.rb
111
+ - examples/eventmachine_adapter/queue_purge.rb
112
+ - examples/eventmachine_adapter/queue_unbind.rb
113
+ - examples/eventmachine_adapter/tls/tls_without_peer_verification.rb
114
+ - examples/eventmachine_adapter/tx_commit.rb
115
+ - examples/eventmachine_adapter/tx_rollback.rb
116
+ - examples/eventmachine_adapter/tx_select.rb
117
+ - examples/socket_adapter/basics.rb
118
+ - examples/socket_adapter/connection.rb
119
+ - examples/socket_adapter/multiple_connections.rb
120
+ - examples/tls_certificates/client/cert.pem
121
+ - examples/tls_certificates/client/key.pem
122
+ - examples/tls_certificates/client/keycert.p12
123
+ - examples/tls_certificates/client/req.pem
124
+ - examples/tls_certificates/server/cert.pem
125
+ - examples/tls_certificates/server/key.pem
126
+ - examples/tls_certificates/server/keycert.p12
127
+ - examples/tls_certificates/server/req.pem
128
+ - examples/tls_certificates/testca/cacert.cer
129
+ - examples/tls_certificates/testca/cacert.pem
130
+ - examples/tls_certificates/testca/certs/01.pem
131
+ - examples/tls_certificates/testca/certs/02.pem
132
+ - examples/tls_certificates/testca/index.txt
133
+ - examples/tls_certificates/testca/index.txt.attr
134
+ - examples/tls_certificates/testca/index.txt.attr.old
135
+ - examples/tls_certificates/testca/index.txt.old
136
+ - examples/tls_certificates/testca/openssl.cnf
137
+ - examples/tls_certificates/testca/private/cakey.pem
138
+ - examples/tls_certificates/testca/serial
139
+ - examples/tls_certificates/testca/serial.old
140
+ - irb.rb
141
+ - lib/amq/client.rb
142
+ - lib/amq/client/adapter.rb
143
+ - lib/amq/client/adapters/coolio.rb
144
+ - lib/amq/client/adapters/event_machine.rb
145
+ - lib/amq/client/adapters/socket.rb
146
+ - lib/amq/client/channel.rb
147
+ - lib/amq/client/connection.rb
148
+ - lib/amq/client/entity.rb
149
+ - lib/amq/client/exceptions.rb
150
+ - lib/amq/client/exchange.rb
151
+ - lib/amq/client/extensions/rabbitmq.rb
152
+ - lib/amq/client/extensions/rabbitmq/basic.rb
153
+ - lib/amq/client/extensions/rabbitmq/confirm.rb
154
+ - lib/amq/client/framing/io/frame.rb
155
+ - lib/amq/client/framing/string/frame.rb
156
+ - lib/amq/client/logging.rb
157
+ - lib/amq/client/mixins/anonymous_entity.rb
158
+ - lib/amq/client/mixins/status.rb
159
+ - lib/amq/client/protocol/get_response.rb
160
+ - lib/amq/client/queue.rb
161
+ - lib/amq/client/settings.rb
162
+ - lib/amq/client/version.rb
163
+ - spec/benchmarks/adapters.rb
164
+ - spec/client/framing/io_frame_spec.rb
165
+ - spec/client/framing/string_frame_spec.rb
166
+ - spec/client/protocol/get_response_spec.rb
167
+ - spec/integration/coolio/basic_ack_spec.rb
168
+ - spec/integration/coolio/basic_get_spec.rb
169
+ - spec/integration/coolio/basic_return_spec.rb
170
+ - spec/integration/coolio/channel_close_spec.rb
171
+ - spec/integration/coolio/channel_flow_spec.rb
172
+ - spec/integration/coolio/connection_close_spec.rb
173
+ - spec/integration/coolio/connection_start_spec.rb
174
+ - spec/integration/coolio/exchange_declare_spec.rb
175
+ - spec/integration/coolio/spec_helper.rb
176
+ - spec/integration/coolio/tx_commit_spec.rb
177
+ - spec/integration/coolio/tx_rollback_spec.rb
178
+ - spec/integration/eventmachine/basic_ack_spec.rb
179
+ - spec/integration/eventmachine/basic_get_spec.rb
180
+ - spec/integration/eventmachine/basic_return_spec.rb
181
+ - spec/integration/eventmachine/channel_close_spec.rb
182
+ - spec/integration/eventmachine/channel_flow_spec.rb
183
+ - spec/integration/eventmachine/connection_close_spec.rb
184
+ - spec/integration/eventmachine/connection_start_spec.rb
185
+ - spec/integration/eventmachine/exchange_declare_spec.rb
186
+ - spec/integration/eventmachine/regressions/amqp_gem_issue66_spec.rb
187
+ - spec/integration/eventmachine/spec_helper.rb
188
+ - spec/integration/eventmachine/tx_commit_spec.rb
189
+ - spec/integration/eventmachine/tx_rollback_spec.rb
190
+ - spec/regression/bad_frame_slicing_in_adapters_spec.rb
191
+ - spec/spec_helper.rb
192
+ - spec/unit/client/adapter_spec.rb
193
+ - spec/unit/client/entity_spec.rb
194
+ - spec/unit/client/logging_spec.rb
195
+ - spec/unit/client/mixins/status_spec.rb
196
+ - spec/unit/client/settings_spec.rb
197
+ - spec/unit/client_spec.rb
198
+ - tasks.rb
199
+ - doc/_index.html
200
+ - doc/AMQ.html
201
+ - doc/class_list.html
202
+ - doc/file.README.html
203
+ - doc/file_list.html
204
+ - doc/frames.html
205
+ - doc/index.html
206
+ - doc/method_list.html
207
+ - doc/top-level-namespace.html
209
208
  has_rdoc: true
210
209
  homepage: http://github.com/ruby-amqp/amq-client
211
210
  licenses: []
211
+
212
212
  post_install_message:
213
213
  rdoc_options: []
214
- require_paths:
215
- - lib
216
- required_ruby_version: !ruby/object:Gem::Requirement
214
+
215
+ require_paths:
216
+ - lib
217
+ required_ruby_version: !ruby/object:Gem::Requirement
217
218
  none: false
218
- requirements:
219
- - - ! '>='
220
- - !ruby/object:Gem::Version
221
- version: '0'
222
- required_rubygems_version: !ruby/object:Gem::Requirement
219
+ requirements:
220
+ - - ">="
221
+ - !ruby/object:Gem::Version
222
+ version: "0"
223
+ required_rubygems_version: !ruby/object:Gem::Requirement
223
224
  none: false
224
- requirements:
225
- - - ! '>'
226
- - !ruby/object:Gem::Version
227
- version: 1.3.1
225
+ requirements:
226
+ - - ">"
227
+ - !ruby/object:Gem::Version
228
+ version: 1.3.1
228
229
  requirements: []
230
+
229
231
  rubyforge_project: amq-client
230
- rubygems_version: 1.6.2
232
+ rubygems_version: 1.5.1
231
233
  signing_key:
232
234
  specification_version: 3
233
235
  summary: amq-client is a fully-featured, low-level AMQP 0.9.1 client
234
236
  test_files: []
237
+