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