bunny 1.0.0.pre3 → 1.0.0.pre4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +4 -1
- data/ChangeLog.md +54 -0
- data/README.md +5 -5
- data/benchmarks/mutex_and_monitor.rb +42 -0
- data/bunny.gemspec +2 -2
- data/examples/guides/extensions/connection_blocked.rb +35 -0
- data/lib/bunny/channel.rb +16 -7
- data/lib/bunny/exceptions.rb +4 -1
- data/lib/bunny/reader_loop.rb +17 -3
- data/lib/bunny/session.rb +58 -6
- data/lib/bunny/transport.rb +10 -1
- data/lib/bunny/version.rb +1 -1
- data/spec/higher_level_api/integration/basic_cancel_spec.rb +1 -1
- data/spec/higher_level_api/integration/basic_consume_spec.rb +1 -1
- data/spec/higher_level_api/integration/basic_nack_spec.rb +1 -1
- data/spec/higher_level_api/integration/basic_publish_spec.rb +1 -1
- data/spec/higher_level_api/integration/basic_qos_spec.rb +5 -8
- data/spec/higher_level_api/integration/basic_reject_spec.rb +16 -17
- data/spec/higher_level_api/integration/basic_return_spec.rb +1 -1
- data/spec/higher_level_api/integration/channel_close_spec.rb +6 -10
- data/spec/higher_level_api/integration/channel_flow_spec.rb +6 -9
- data/spec/higher_level_api/integration/channel_open_spec.rb +11 -20
- data/spec/higher_level_api/integration/confirm_select_spec.rb +1 -1
- data/spec/higher_level_api/integration/connection_spec.rb +1 -1
- data/spec/higher_level_api/integration/connection_stop_spec.rb +13 -0
- data/spec/higher_level_api/integration/consistent_hash_exchange_spec.rb +1 -1
- data/spec/higher_level_api/integration/consumer_cancellation_notification_spec.rb +46 -1
- data/spec/higher_level_api/integration/dead_lettering_spec.rb +1 -1
- data/spec/higher_level_api/integration/exchange_bind_spec.rb +1 -1
- data/spec/higher_level_api/integration/exchange_declare_spec.rb +1 -1
- data/spec/higher_level_api/integration/exchange_delete_spec.rb +1 -1
- data/spec/higher_level_api/integration/exchange_unbind_spec.rb +1 -1
- data/spec/higher_level_api/integration/exclusive_queue_spec.rb +28 -0
- data/spec/higher_level_api/integration/merry_go_round_spec.rb +1 -1
- data/spec/higher_level_api/integration/message_properties_access_spec.rb +1 -1
- data/spec/higher_level_api/integration/predeclared_exchanges_spec.rb +1 -1
- data/spec/higher_level_api/integration/publisher_confirms_spec.rb +1 -1
- data/spec/higher_level_api/integration/publishing_edge_cases_spec.rb +1 -1
- data/spec/higher_level_api/integration/queue_declare_spec.rb +1 -1
- data/spec/higher_level_api/integration/queue_delete_spec.rb +2 -2
- data/spec/higher_level_api/integration/queue_purge_spec.rb +1 -1
- data/spec/higher_level_api/integration/queue_unbind_spec.rb +2 -2
- data/spec/higher_level_api/integration/read_only_consumer_spec.rb +1 -1
- data/spec/higher_level_api/integration/sender_selected_distribution_spec.rb +2 -2
- data/spec/higher_level_api/integration/tls_connection_spec.rb +2 -2
- data/spec/higher_level_api/integration/tx_commit_spec.rb +1 -1
- data/spec/higher_level_api/integration/tx_rollback_spec.rb +1 -1
- data/spec/stress/connection_open_close_spec.rb +25 -2
- data/spec/unit/concurrent/condition_spec.rb +53 -46
- data/spec/unit/concurrent/synchronized_sorted_set_spec.rb +48 -9
- metadata +10 -5
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bunny
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0.
|
4
|
+
version: 1.0.0.pre4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Duncan
|
@@ -12,7 +12,7 @@ authors:
|
|
12
12
|
autorequire:
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
|
-
date: 2013-08-
|
15
|
+
date: 2013-08-24 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: amq-protocol
|
@@ -20,15 +20,16 @@ dependencies:
|
|
20
20
|
requirements:
|
21
21
|
- - '>='
|
22
22
|
- !ruby/object:Gem::Version
|
23
|
-
version: 1.
|
23
|
+
version: 1.7.0
|
24
24
|
type: :runtime
|
25
25
|
prerelease: false
|
26
26
|
version_requirements: !ruby/object:Gem::Requirement
|
27
27
|
requirements:
|
28
28
|
- - '>='
|
29
29
|
- !ruby/object:Gem::Version
|
30
|
-
version: 1.
|
31
|
-
description: Easy to use, feature complete Ruby client for RabbitMQ 2.0
|
30
|
+
version: 1.7.0
|
31
|
+
description: Easy to use, feature complete Ruby client for RabbitMQ 2.0 and later
|
32
|
+
versions.
|
32
33
|
email:
|
33
34
|
- celldee@gmail.com
|
34
35
|
- eric@5stops.com
|
@@ -54,6 +55,7 @@ files:
|
|
54
55
|
- benchmarks/basic_publish/with_4K_messages.rb
|
55
56
|
- benchmarks/basic_publish/with_64K_messages.rb
|
56
57
|
- benchmarks/channel_open.rb
|
58
|
+
- benchmarks/mutex_and_monitor.rb
|
57
59
|
- benchmarks/queue_declare.rb
|
58
60
|
- benchmarks/queue_declare_and_bind.rb
|
59
61
|
- benchmarks/queue_declare_bind_and_delete.rb
|
@@ -78,6 +80,7 @@ files:
|
|
78
80
|
- examples/guides/exchanges/mandatory_messages.rb
|
79
81
|
- examples/guides/extensions/alternate_exchange.rb
|
80
82
|
- examples/guides/extensions/basic_nack.rb
|
83
|
+
- examples/guides/extensions/connection_blocked.rb
|
81
84
|
- examples/guides/extensions/consumer_cancellation_notification.rb
|
82
85
|
- examples/guides/extensions/dead_letter_exchange.rb
|
83
86
|
- examples/guides/extensions/exchange_to_exchange_bindings.rb
|
@@ -150,6 +153,7 @@ files:
|
|
150
153
|
- spec/higher_level_api/integration/exchange_declare_spec.rb
|
151
154
|
- spec/higher_level_api/integration/exchange_delete_spec.rb
|
152
155
|
- spec/higher_level_api/integration/exchange_unbind_spec.rb
|
156
|
+
- spec/higher_level_api/integration/exclusive_queue_spec.rb
|
153
157
|
- spec/higher_level_api/integration/heartbeat_spec.rb
|
154
158
|
- spec/higher_level_api/integration/merry_go_round_spec.rb
|
155
159
|
- spec/higher_level_api/integration/message_properties_access_spec.rb
|
@@ -241,6 +245,7 @@ test_files:
|
|
241
245
|
- spec/higher_level_api/integration/exchange_declare_spec.rb
|
242
246
|
- spec/higher_level_api/integration/exchange_delete_spec.rb
|
243
247
|
- spec/higher_level_api/integration/exchange_unbind_spec.rb
|
248
|
+
- spec/higher_level_api/integration/exclusive_queue_spec.rb
|
244
249
|
- spec/higher_level_api/integration/heartbeat_spec.rb
|
245
250
|
- spec/higher_level_api/integration/merry_go_round_spec.rb
|
246
251
|
- spec/higher_level_api/integration/message_properties_access_spec.rb
|