amq-client 0.9.7 → 0.9.8
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/amq/client/async/adapters/event_machine.rb +0 -12
- data/lib/amq/client/version.rb +1 -1
- metadata +230 -222
@@ -5,8 +5,6 @@ require "amq/client"
|
|
5
5
|
require "amq/client/async/adapter"
|
6
6
|
require "amq/client/framing/string/frame"
|
7
7
|
|
8
|
-
require "socket"
|
9
|
-
|
10
8
|
module AMQ
|
11
9
|
module Client
|
12
10
|
module Async
|
@@ -142,16 +140,6 @@ module AMQ
|
|
142
140
|
def initialize(*args)
|
143
141
|
super(*args)
|
144
142
|
|
145
|
-
begin
|
146
|
-
# EventMachine 1.0+
|
147
|
-
if self.respond_to?(:set_sock_opt)
|
148
|
-
set_sock_opt(Socket::SOL_SOCKET, Socket::SO_KEEPALIVE, true)
|
149
|
-
end
|
150
|
-
rescue Errno::EINVAL => e
|
151
|
-
# ignored, when connections fail this exception is raised with very
|
152
|
-
# obscure error messages. Bravo Ruby, bravo EventMachine.
|
153
|
-
end
|
154
|
-
|
155
143
|
self.logger = self.class.logger
|
156
144
|
|
157
145
|
# channel => collected frames. MK.
|
data/lib/amq/client/version.rb
CHANGED
metadata
CHANGED
@@ -1,240 +1,248 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: amq-client
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.9.8
|
5
|
+
prerelease:
|
6
6
|
platform: ruby
|
7
|
-
authors:
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
autorequire:
|
7
|
+
authors:
|
8
|
+
- Jakub Stastny
|
9
|
+
- Michael S. Klishin
|
10
|
+
- Theo Hultberg
|
11
|
+
- Mark Abramov
|
12
|
+
autorequire:
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
15
|
+
date: 2012-11-16 00:00:00.000000000 Z
|
16
|
+
dependencies:
|
17
|
+
- !ruby/object:Gem::Dependency
|
18
|
+
name: eventmachine
|
19
|
+
version_requirements: !ruby/object:Gem::Requirement
|
20
|
+
requirements:
|
21
|
+
- - ! '>='
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: !binary |-
|
24
|
+
MA==
|
25
|
+
none: false
|
26
|
+
requirement: !ruby/object:Gem::Requirement
|
27
|
+
requirements:
|
28
|
+
- - ! '>='
|
29
|
+
- !ruby/object:Gem::Version
|
30
|
+
version: !binary |-
|
31
|
+
MA==
|
32
|
+
none: false
|
33
|
+
prerelease: false
|
34
|
+
type: :runtime
|
35
|
+
- !ruby/object:Gem::Dependency
|
36
|
+
name: amq-protocol
|
37
|
+
version_requirements: !ruby/object:Gem::Requirement
|
38
|
+
requirements:
|
39
|
+
- - ! '>='
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
version: 0.9.4
|
42
|
+
none: false
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ! '>='
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 0.9.4
|
48
|
+
none: false
|
49
|
+
prerelease: false
|
50
|
+
type: :runtime
|
40
51
|
description: amq-client is a fully-featured, low-level AMQP 0.9.1 client with pluggable networking I/O adapters (EventMachine, cool.io, Eventpanda and so on) and supposed to back more opinionated AMQP clients (such as amqp gem) 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
|
-
|
43
|
-
|
52
|
+
email:
|
53
|
+
- !binary |-
|
54
|
+
c3Rhc3RueUAxMDFpZGVhcy5jeg==
|
55
|
+
- michael@novemberain.com
|
44
56
|
executables: []
|
45
|
-
|
46
57
|
extensions: []
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
- tasks.rb
|
58
|
+
extra_rdoc_files:
|
59
|
+
- README.textile
|
60
|
+
files:
|
61
|
+
- .gitignore
|
62
|
+
- .gitmodules
|
63
|
+
- .rspec
|
64
|
+
- .travis.yml
|
65
|
+
- .yardopts
|
66
|
+
- Gemfile
|
67
|
+
- LICENSE
|
68
|
+
- README.textile
|
69
|
+
- amq-client.gemspec
|
70
|
+
- bin/ci/before_build.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/connection_open_failure_due_to_invalid_vhost.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/error_handling/connection_failure_callback.rb
|
102
|
+
- examples/eventmachine_adapter/error_handling/connection_failure_exception.rb
|
103
|
+
- examples/eventmachine_adapter/error_handling/connection_loss_handler_that_fails_over.rb
|
104
|
+
- examples/eventmachine_adapter/error_handling/connection_loss_handler_with_automatic_recovery.rb
|
105
|
+
- examples/eventmachine_adapter/error_handling/connection_loss_handler_with_manual_recovery.rb
|
106
|
+
- examples/eventmachine_adapter/error_handling/handling_a_channel_level_exception.rb
|
107
|
+
- examples/eventmachine_adapter/example_helper.rb
|
108
|
+
- examples/eventmachine_adapter/exchange_declare.rb
|
109
|
+
- examples/eventmachine_adapter/extensions/rabbitmq/handling_confirm_select_ok.rb
|
110
|
+
- examples/eventmachine_adapter/extensions/rabbitmq/publisher_confirmations_with_transient_messages.rb
|
111
|
+
- examples/eventmachine_adapter/extensions/rabbitmq/publisher_confirmations_with_unroutable_message.rb
|
112
|
+
- examples/eventmachine_adapter/kitchen_sink1.rb
|
113
|
+
- examples/eventmachine_adapter/queue_bind.rb
|
114
|
+
- examples/eventmachine_adapter/queue_declare.rb
|
115
|
+
- examples/eventmachine_adapter/queue_purge.rb
|
116
|
+
- examples/eventmachine_adapter/queue_unbind.rb
|
117
|
+
- examples/eventmachine_adapter/server_capabilities.rb
|
118
|
+
- examples/eventmachine_adapter/tls/tls_without_peer_verification.rb
|
119
|
+
- examples/eventmachine_adapter/tx_commit.rb
|
120
|
+
- examples/eventmachine_adapter/tx_rollback.rb
|
121
|
+
- examples/eventmachine_adapter/tx_select.rb
|
122
|
+
- examples/tls_certificates/client/cert.pem
|
123
|
+
- examples/tls_certificates/client/key.pem
|
124
|
+
- examples/tls_certificates/client/keycert.p12
|
125
|
+
- examples/tls_certificates/client/req.pem
|
126
|
+
- examples/tls_certificates/server/cert.pem
|
127
|
+
- examples/tls_certificates/server/key.pem
|
128
|
+
- examples/tls_certificates/server/keycert.p12
|
129
|
+
- examples/tls_certificates/server/req.pem
|
130
|
+
- examples/tls_certificates/testca/cacert.cer
|
131
|
+
- examples/tls_certificates/testca/cacert.pem
|
132
|
+
- examples/tls_certificates/testca/certs/01.pem
|
133
|
+
- examples/tls_certificates/testca/certs/02.pem
|
134
|
+
- examples/tls_certificates/testca/index.txt
|
135
|
+
- examples/tls_certificates/testca/index.txt.attr
|
136
|
+
- examples/tls_certificates/testca/index.txt.attr.old
|
137
|
+
- examples/tls_certificates/testca/index.txt.old
|
138
|
+
- examples/tls_certificates/testca/openssl.cnf
|
139
|
+
- examples/tls_certificates/testca/private/cakey.pem
|
140
|
+
- examples/tls_certificates/testca/serial
|
141
|
+
- examples/tls_certificates/testca/serial.old
|
142
|
+
- irb.rb
|
143
|
+
- lib/amq/client.rb
|
144
|
+
- lib/amq/client/adapter.rb
|
145
|
+
- lib/amq/client/adapters/coolio.rb
|
146
|
+
- lib/amq/client/adapters/event_machine.rb
|
147
|
+
- lib/amq/client/async/adapter.rb
|
148
|
+
- lib/amq/client/async/adapters/coolio.rb
|
149
|
+
- lib/amq/client/async/adapters/event_machine.rb
|
150
|
+
- lib/amq/client/async/adapters/eventmachine.rb
|
151
|
+
- lib/amq/client/async/callbacks.rb
|
152
|
+
- lib/amq/client/async/channel.rb
|
153
|
+
- lib/amq/client/async/consumer.rb
|
154
|
+
- lib/amq/client/async/entity.rb
|
155
|
+
- lib/amq/client/async/exchange.rb
|
156
|
+
- lib/amq/client/async/extensions/rabbitmq/basic.rb
|
157
|
+
- lib/amq/client/async/extensions/rabbitmq/cancel.rb
|
158
|
+
- lib/amq/client/async/extensions/rabbitmq/confirm.rb
|
159
|
+
- lib/amq/client/async/queue.rb
|
160
|
+
- lib/amq/client/callbacks.rb
|
161
|
+
- lib/amq/client/channel.rb
|
162
|
+
- lib/amq/client/consumer_tag_generator.rb
|
163
|
+
- lib/amq/client/entity.rb
|
164
|
+
- lib/amq/client/exceptions.rb
|
165
|
+
- lib/amq/client/exchange.rb
|
166
|
+
- lib/amq/client/extensions/rabbitmq.rb
|
167
|
+
- lib/amq/client/extensions/rabbitmq/basic.rb
|
168
|
+
- lib/amq/client/extensions/rabbitmq/cancel.rb
|
169
|
+
- lib/amq/client/extensions/rabbitmq/confirm.rb
|
170
|
+
- lib/amq/client/framing/io/frame.rb
|
171
|
+
- lib/amq/client/framing/string/frame.rb
|
172
|
+
- lib/amq/client/handlers_registry.rb
|
173
|
+
- lib/amq/client/logging.rb
|
174
|
+
- lib/amq/client/openable.rb
|
175
|
+
- lib/amq/client/queue.rb
|
176
|
+
- lib/amq/client/server_named_entity.rb
|
177
|
+
- lib/amq/client/settings.rb
|
178
|
+
- lib/amq/client/version.rb
|
179
|
+
- lib/amq/protocol/get_response.rb
|
180
|
+
- spec/benchmarks/adapters.rb
|
181
|
+
- spec/client/framing/io_frame_spec.rb
|
182
|
+
- spec/client/framing/string_frame_spec.rb
|
183
|
+
- spec/client/protocol/get_response_spec.rb
|
184
|
+
- spec/integration/coolio/basic_ack_spec.rb
|
185
|
+
- spec/integration/coolio/basic_cancel_spec.rb
|
186
|
+
- spec/integration/coolio/basic_consume_spec.rb
|
187
|
+
- spec/integration/coolio/basic_get_spec.rb
|
188
|
+
- spec/integration/coolio/basic_return_spec.rb
|
189
|
+
- spec/integration/coolio/channel_close_spec.rb
|
190
|
+
- spec/integration/coolio/channel_flow_spec.rb
|
191
|
+
- spec/integration/coolio/connection_close_spec.rb
|
192
|
+
- spec/integration/coolio/connection_start_spec.rb
|
193
|
+
- spec/integration/coolio/exchange_declare_spec.rb
|
194
|
+
- spec/integration/coolio/spec_helper.rb
|
195
|
+
- spec/integration/coolio/tx_commit_spec.rb
|
196
|
+
- spec/integration/coolio/tx_rollback_spec.rb
|
197
|
+
- spec/integration/eventmachine/basic_ack_spec.rb
|
198
|
+
- spec/integration/eventmachine/basic_cancel_spec.rb
|
199
|
+
- spec/integration/eventmachine/basic_consume_spec.rb
|
200
|
+
- spec/integration/eventmachine/basic_get_spec.rb
|
201
|
+
- spec/integration/eventmachine/basic_return_spec.rb
|
202
|
+
- spec/integration/eventmachine/channel_close_spec.rb
|
203
|
+
- spec/integration/eventmachine/channel_flow_spec.rb
|
204
|
+
- spec/integration/eventmachine/concurrent_basic_publish_spec.rb
|
205
|
+
- spec/integration/eventmachine/connection_close_spec.rb
|
206
|
+
- spec/integration/eventmachine/connection_start_spec.rb
|
207
|
+
- spec/integration/eventmachine/exchange_declare_spec.rb
|
208
|
+
- spec/integration/eventmachine/queue_declare_spec.rb
|
209
|
+
- spec/integration/eventmachine/regressions/amqp_gem_issue66_spec.rb
|
210
|
+
- spec/integration/eventmachine/spec_helper.rb
|
211
|
+
- spec/integration/eventmachine/tx_commit_spec.rb
|
212
|
+
- spec/integration/eventmachine/tx_rollback_spec.rb
|
213
|
+
- spec/regression/bad_frame_slicing_in_adapters_spec.rb
|
214
|
+
- spec/spec_helper.rb
|
215
|
+
- spec/unit/client/adapter_spec.rb
|
216
|
+
- spec/unit/client/entity_spec.rb
|
217
|
+
- spec/unit/client/logging_spec.rb
|
218
|
+
- spec/unit/client/mixins/status_spec.rb
|
219
|
+
- spec/unit/client/settings_spec.rb
|
220
|
+
- spec/unit/client_spec.rb
|
221
|
+
- tasks.rb
|
212
222
|
homepage: http://github.com/ruby-amqp/amq-client
|
213
223
|
licenses: []
|
214
|
-
|
215
|
-
post_install_message:
|
224
|
+
post_install_message:
|
216
225
|
rdoc_options: []
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
226
|
+
require_paths:
|
227
|
+
- lib
|
228
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
229
|
+
requirements:
|
230
|
+
- - ! '>='
|
231
|
+
- !ruby/object:Gem::Version
|
232
|
+
version: !binary |-
|
233
|
+
MA==
|
221
234
|
none: false
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
235
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
236
|
+
requirements:
|
237
|
+
- - ! '>='
|
238
|
+
- !ruby/object:Gem::Version
|
239
|
+
version: !binary |-
|
240
|
+
MA==
|
227
241
|
none: false
|
228
|
-
requirements:
|
229
|
-
- - ">="
|
230
|
-
- !ruby/object:Gem::Version
|
231
|
-
version: "0"
|
232
242
|
requirements: []
|
233
|
-
|
234
243
|
rubyforge_project: amq-client
|
235
244
|
rubygems_version: 1.8.24
|
236
|
-
signing_key:
|
245
|
+
signing_key:
|
237
246
|
specification_version: 3
|
238
247
|
summary: amq-client is a fully-featured, low-level AMQP 0.9.1 client
|
239
248
|
test_files: []
|
240
|
-
|