amq-client 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +8 -0
- data/.gitmodules +9 -0
- data/.rspec +2 -0
- data/.travis.yml +7 -0
- data/.yardopts +1 -0
- data/CONTRIBUTORS +3 -0
- data/Gemfile +27 -0
- data/LICENSE +20 -0
- data/README.textile +61 -0
- data/amq-client.gemspec +34 -0
- data/bin/jenkins.sh +23 -0
- data/bin/set_test_suite_realms_up.sh +24 -0
- data/examples/coolio_adapter/basic_consume.rb +49 -0
- data/examples/coolio_adapter/basic_consume_with_acknowledgements.rb +43 -0
- data/examples/coolio_adapter/basic_consume_with_rejections.rb +43 -0
- data/examples/coolio_adapter/basic_publish.rb +35 -0
- data/examples/coolio_adapter/channel_close.rb +24 -0
- data/examples/coolio_adapter/example_helper.rb +39 -0
- data/examples/coolio_adapter/exchange_declare.rb +28 -0
- data/examples/coolio_adapter/kitchen_sink1.rb +48 -0
- data/examples/coolio_adapter/queue_bind.rb +32 -0
- data/examples/coolio_adapter/queue_purge.rb +32 -0
- data/examples/coolio_adapter/queue_unbind.rb +37 -0
- data/examples/eventmachine_adapter/authentication/plain_password_with_custom_role_credentials.rb +36 -0
- data/examples/eventmachine_adapter/authentication/plain_password_with_default_role_credentials.rb +27 -0
- data/examples/eventmachine_adapter/authentication/plain_password_with_incorrect_credentials.rb +18 -0
- data/examples/eventmachine_adapter/basic_cancel.rb +49 -0
- data/examples/eventmachine_adapter/basic_consume.rb +51 -0
- data/examples/eventmachine_adapter/basic_consume_with_acknowledgements.rb +45 -0
- data/examples/eventmachine_adapter/basic_consume_with_rejections.rb +45 -0
- data/examples/eventmachine_adapter/basic_get.rb +57 -0
- data/examples/eventmachine_adapter/basic_get_with_empty_queue.rb +53 -0
- data/examples/eventmachine_adapter/basic_publish.rb +38 -0
- data/examples/eventmachine_adapter/basic_qos.rb +29 -0
- data/examples/eventmachine_adapter/basic_recover.rb +29 -0
- data/examples/eventmachine_adapter/basic_return.rb +34 -0
- data/examples/eventmachine_adapter/channel_close.rb +24 -0
- data/examples/eventmachine_adapter/channel_flow.rb +36 -0
- data/examples/eventmachine_adapter/channel_level_exception_handling.rb +44 -0
- data/examples/eventmachine_adapter/example_helper.rb +39 -0
- data/examples/eventmachine_adapter/exchange_declare.rb +54 -0
- data/examples/eventmachine_adapter/extensions/rabbitmq/handling_confirm_select_ok.rb +31 -0
- data/examples/eventmachine_adapter/extensions/rabbitmq/publisher_confirmations_with_transient_messages.rb +56 -0
- data/examples/eventmachine_adapter/extensions/rabbitmq/publisher_confirmations_with_unroutable_message.rb +46 -0
- data/examples/eventmachine_adapter/kitchen_sink1.rb +50 -0
- data/examples/eventmachine_adapter/queue_bind.rb +32 -0
- data/examples/eventmachine_adapter/queue_declare.rb +34 -0
- data/examples/eventmachine_adapter/queue_purge.rb +32 -0
- data/examples/eventmachine_adapter/queue_unbind.rb +37 -0
- data/examples/eventmachine_adapter/tx_commit.rb +29 -0
- data/examples/eventmachine_adapter/tx_rollback.rb +29 -0
- data/examples/eventmachine_adapter/tx_select.rb +27 -0
- data/examples/socket_adapter/basics.rb +19 -0
- data/examples/socket_adapter/connection.rb +53 -0
- data/examples/socket_adapter/multiple_connections.rb +17 -0
- data/irb.rb +66 -0
- data/lib/amq/client.rb +15 -0
- data/lib/amq/client/adapter.rb +356 -0
- data/lib/amq/client/adapters/coolio.rb +221 -0
- data/lib/amq/client/adapters/event_machine.rb +228 -0
- data/lib/amq/client/adapters/socket.rb +89 -0
- data/lib/amq/client/channel.rb +338 -0
- data/lib/amq/client/connection.rb +246 -0
- data/lib/amq/client/entity.rb +117 -0
- data/lib/amq/client/exceptions.rb +86 -0
- data/lib/amq/client/exchange.rb +163 -0
- data/lib/amq/client/extensions/rabbitmq.rb +5 -0
- data/lib/amq/client/extensions/rabbitmq/basic.rb +36 -0
- data/lib/amq/client/extensions/rabbitmq/confirm.rb +254 -0
- data/lib/amq/client/framing/io/frame.rb +32 -0
- data/lib/amq/client/framing/string/frame.rb +62 -0
- data/lib/amq/client/logging.rb +56 -0
- data/lib/amq/client/mixins/anonymous_entity.rb +21 -0
- data/lib/amq/client/mixins/status.rb +62 -0
- data/lib/amq/client/protocol/get_response.rb +55 -0
- data/lib/amq/client/queue.rb +450 -0
- data/lib/amq/client/settings.rb +83 -0
- data/lib/amq/client/version.rb +5 -0
- data/spec/benchmarks/adapters.rb +77 -0
- data/spec/client/framing/io_frame_spec.rb +57 -0
- data/spec/client/framing/string_frame_spec.rb +57 -0
- data/spec/client/protocol/get_response_spec.rb +79 -0
- data/spec/integration/coolio/basic_ack_spec.rb +41 -0
- data/spec/integration/coolio/basic_get_spec.rb +73 -0
- data/spec/integration/coolio/basic_return_spec.rb +33 -0
- data/spec/integration/coolio/channel_close_spec.rb +26 -0
- data/spec/integration/coolio/channel_flow_spec.rb +46 -0
- data/spec/integration/coolio/spec_helper.rb +31 -0
- data/spec/integration/coolio/tx_commit_spec.rb +40 -0
- data/spec/integration/coolio/tx_rollback_spec.rb +44 -0
- data/spec/integration/eventmachine/basic_ack_spec.rb +40 -0
- data/spec/integration/eventmachine/basic_get_spec.rb +73 -0
- data/spec/integration/eventmachine/basic_return_spec.rb +35 -0
- data/spec/integration/eventmachine/channel_close_spec.rb +26 -0
- data/spec/integration/eventmachine/channel_flow_spec.rb +32 -0
- data/spec/integration/eventmachine/spec_helper.rb +22 -0
- data/spec/integration/eventmachine/tx_commit_spec.rb +47 -0
- data/spec/integration/eventmachine/tx_rollback_spec.rb +35 -0
- data/spec/regression/bad_frame_slicing_in_adapters_spec.rb +59 -0
- data/spec/spec_helper.rb +24 -0
- data/spec/unit/client/adapter_spec.rb +49 -0
- data/spec/unit/client/entity_spec.rb +49 -0
- data/spec/unit/client/logging_spec.rb +60 -0
- data/spec/unit/client/mixins/status_spec.rb +72 -0
- data/spec/unit/client/settings_spec.rb +27 -0
- data/spec/unit/client_spec.rb +11 -0
- data/tasks.rb +11 -0
- metadata +202 -0
data/tasks.rb
ADDED
metadata
ADDED
@@ -0,0 +1,202 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: amq-client
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.5.0
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Jakub Stastny
|
9
|
+
- Michael S. Klishin
|
10
|
+
- Theo Hultberg
|
11
|
+
- Mark Abramov
|
12
|
+
autorequire:
|
13
|
+
bindir: bin
|
14
|
+
cert_chain:
|
15
|
+
date: 2011-04-17 00:00:00.000000000 +04:00
|
16
|
+
default_executable:
|
17
|
+
dependencies:
|
18
|
+
- !ruby/object:Gem::Dependency
|
19
|
+
name: eventmachine
|
20
|
+
requirement: &2152189080 !ruby/object:Gem::Requirement
|
21
|
+
none: false
|
22
|
+
requirements:
|
23
|
+
- - ~>
|
24
|
+
- !ruby/object:Gem::Version
|
25
|
+
version: 0.12.10
|
26
|
+
type: :runtime
|
27
|
+
prerelease: false
|
28
|
+
version_requirements: *2152189080
|
29
|
+
- !ruby/object:Gem::Dependency
|
30
|
+
name: amq-protocol
|
31
|
+
requirement: &2152188660 !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: *2152188660
|
40
|
+
description: ! " amq-client supports multiple networking adapters (EventMachine,
|
41
|
+
TCP sockets, cool.io) and\n supposed to back more opinionated AMQP clients (such
|
42
|
+
as amqp gem, bunny, et cetera) or be used directly\n in cases when access to more
|
43
|
+
advanced AMQP 0.9.1 features is more important that convenient APIs\n"
|
44
|
+
email:
|
45
|
+
- stastny@101ideas.cz
|
46
|
+
- michael@novemberain.com
|
47
|
+
executables: []
|
48
|
+
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.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/example_helper.rb
|
101
|
+
- examples/eventmachine_adapter/exchange_declare.rb
|
102
|
+
- examples/eventmachine_adapter/extensions/rabbitmq/handling_confirm_select_ok.rb
|
103
|
+
- examples/eventmachine_adapter/extensions/rabbitmq/publisher_confirmations_with_transient_messages.rb
|
104
|
+
- examples/eventmachine_adapter/extensions/rabbitmq/publisher_confirmations_with_unroutable_message.rb
|
105
|
+
- examples/eventmachine_adapter/kitchen_sink1.rb
|
106
|
+
- examples/eventmachine_adapter/queue_bind.rb
|
107
|
+
- examples/eventmachine_adapter/queue_declare.rb
|
108
|
+
- examples/eventmachine_adapter/queue_purge.rb
|
109
|
+
- examples/eventmachine_adapter/queue_unbind.rb
|
110
|
+
- examples/eventmachine_adapter/tx_commit.rb
|
111
|
+
- examples/eventmachine_adapter/tx_rollback.rb
|
112
|
+
- examples/eventmachine_adapter/tx_select.rb
|
113
|
+
- examples/socket_adapter/basics.rb
|
114
|
+
- examples/socket_adapter/connection.rb
|
115
|
+
- examples/socket_adapter/multiple_connections.rb
|
116
|
+
- irb.rb
|
117
|
+
- lib/amq/client.rb
|
118
|
+
- lib/amq/client/adapter.rb
|
119
|
+
- lib/amq/client/adapters/coolio.rb
|
120
|
+
- lib/amq/client/adapters/event_machine.rb
|
121
|
+
- lib/amq/client/adapters/socket.rb
|
122
|
+
- lib/amq/client/channel.rb
|
123
|
+
- lib/amq/client/connection.rb
|
124
|
+
- lib/amq/client/entity.rb
|
125
|
+
- lib/amq/client/exceptions.rb
|
126
|
+
- lib/amq/client/exchange.rb
|
127
|
+
- lib/amq/client/extensions/rabbitmq.rb
|
128
|
+
- lib/amq/client/extensions/rabbitmq/basic.rb
|
129
|
+
- lib/amq/client/extensions/rabbitmq/confirm.rb
|
130
|
+
- lib/amq/client/framing/io/frame.rb
|
131
|
+
- lib/amq/client/framing/string/frame.rb
|
132
|
+
- lib/amq/client/logging.rb
|
133
|
+
- lib/amq/client/mixins/anonymous_entity.rb
|
134
|
+
- lib/amq/client/mixins/status.rb
|
135
|
+
- lib/amq/client/protocol/get_response.rb
|
136
|
+
- lib/amq/client/queue.rb
|
137
|
+
- lib/amq/client/settings.rb
|
138
|
+
- lib/amq/client/version.rb
|
139
|
+
- spec/benchmarks/adapters.rb
|
140
|
+
- spec/client/framing/io_frame_spec.rb
|
141
|
+
- spec/client/framing/string_frame_spec.rb
|
142
|
+
- spec/client/protocol/get_response_spec.rb
|
143
|
+
- spec/integration/coolio/basic_ack_spec.rb
|
144
|
+
- spec/integration/coolio/basic_get_spec.rb
|
145
|
+
- spec/integration/coolio/basic_return_spec.rb
|
146
|
+
- spec/integration/coolio/channel_close_spec.rb
|
147
|
+
- spec/integration/coolio/channel_flow_spec.rb
|
148
|
+
- spec/integration/coolio/spec_helper.rb
|
149
|
+
- spec/integration/coolio/tx_commit_spec.rb
|
150
|
+
- spec/integration/coolio/tx_rollback_spec.rb
|
151
|
+
- spec/integration/eventmachine/basic_ack_spec.rb
|
152
|
+
- spec/integration/eventmachine/basic_get_spec.rb
|
153
|
+
- spec/integration/eventmachine/basic_return_spec.rb
|
154
|
+
- spec/integration/eventmachine/channel_close_spec.rb
|
155
|
+
- spec/integration/eventmachine/channel_flow_spec.rb
|
156
|
+
- spec/integration/eventmachine/spec_helper.rb
|
157
|
+
- spec/integration/eventmachine/tx_commit_spec.rb
|
158
|
+
- spec/integration/eventmachine/tx_rollback_spec.rb
|
159
|
+
- spec/regression/bad_frame_slicing_in_adapters_spec.rb
|
160
|
+
- spec/spec_helper.rb
|
161
|
+
- spec/unit/client/adapter_spec.rb
|
162
|
+
- spec/unit/client/entity_spec.rb
|
163
|
+
- spec/unit/client/logging_spec.rb
|
164
|
+
- spec/unit/client/mixins/status_spec.rb
|
165
|
+
- spec/unit/client/settings_spec.rb
|
166
|
+
- spec/unit/client_spec.rb
|
167
|
+
- tasks.rb
|
168
|
+
- doc/_index.html
|
169
|
+
- doc/AMQ.html
|
170
|
+
- doc/class_list.html
|
171
|
+
- doc/file.README.html
|
172
|
+
- doc/file_list.html
|
173
|
+
- doc/frames.html
|
174
|
+
- doc/index.html
|
175
|
+
- doc/method_list.html
|
176
|
+
- doc/top-level-namespace.html
|
177
|
+
has_rdoc: true
|
178
|
+
homepage: http://github.com/ruby-amqp/amq-client
|
179
|
+
licenses: []
|
180
|
+
post_install_message:
|
181
|
+
rdoc_options: []
|
182
|
+
require_paths:
|
183
|
+
- lib
|
184
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
185
|
+
none: false
|
186
|
+
requirements:
|
187
|
+
- - ! '>='
|
188
|
+
- !ruby/object:Gem::Version
|
189
|
+
version: '0'
|
190
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
191
|
+
none: false
|
192
|
+
requirements:
|
193
|
+
- - ! '>='
|
194
|
+
- !ruby/object:Gem::Version
|
195
|
+
version: '0'
|
196
|
+
requirements: []
|
197
|
+
rubyforge_project: amq-client
|
198
|
+
rubygems_version: 1.6.2
|
199
|
+
signing_key:
|
200
|
+
specification_version: 3
|
201
|
+
summary: amq-client is a fully-featured, low-level AMQP 0.9.1 client
|
202
|
+
test_files: []
|