bunny 2.14.4 → 2.19.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +30 -12
- data/lib/bunny/channel.rb +2 -2
- data/lib/bunny/queue.rb +0 -3
- data/lib/bunny/reader_loop.rb +11 -11
- data/lib/bunny/session.rb +42 -9
- data/lib/bunny/transport.rb +12 -11
- data/lib/bunny/version.rb +1 -1
- data/spec/higher_level_api/integration/basic_cancel_spec.rb +4 -4
- data/spec/higher_level_api/integration/basic_consume_spec.rb +17 -9
- data/spec/higher_level_api/integration/connection_spec.rb +26 -0
- data/spec/higher_level_api/integration/tls_connection_spec.rb +194 -189
- data/spec/issues/issue202_spec.rb +1 -1
- data/spec/issues/issue609_spec.rb +84 -0
- data/spec/issues/issue78_spec.rb +2 -2
- data/spec/lower_level_api/integration/basic_cancel_spec.rb +1 -1
- data/spec/lower_level_api/integration/basic_consume_spec.rb +8 -8
- data/spec/unit/exchange_recovery_spec.rb +2 -2
- metadata +37 -95
- data/.github/ISSUE_TEMPLATE.md +0 -18
- data/.gitignore +0 -28
- data/.rspec +0 -1
- data/.travis.yml +0 -32
- data/.yardopts +0 -8
- data/CONTRIBUTING.md +0 -132
- data/ChangeLog.md +0 -2103
- data/Gemfile +0 -55
- data/LICENSE +0 -21
- data/Rakefile +0 -54
- data/benchmarks/basic_publish/with_128K_messages.rb +0 -35
- data/benchmarks/basic_publish/with_1k_messages.rb +0 -35
- data/benchmarks/basic_publish/with_4K_messages.rb +0 -35
- data/benchmarks/basic_publish/with_64K_messages.rb +0 -35
- data/benchmarks/channel_open.rb +0 -28
- data/benchmarks/mutex_and_monitor.rb +0 -42
- data/benchmarks/queue_declare.rb +0 -29
- data/benchmarks/queue_declare_and_bind.rb +0 -29
- data/benchmarks/queue_declare_bind_and_delete.rb +0 -29
- data/benchmarks/synchronized_sorted_set.rb +0 -53
- data/benchmarks/write_vs_write_nonblock.rb +0 -49
- data/bunny.gemspec +0 -34
- data/docker-compose.yml +0 -28
- data/docker/Dockerfile +0 -24
- data/docker/apt/preferences.d/erlang +0 -3
- data/docker/apt/sources.list.d/bintray.rabbitmq.list +0 -2
- data/docker/docker-entrypoint.sh +0 -26
- data/docker/rabbitmq.conf +0 -29
- data/examples/connection/authentication_failure.rb +0 -16
- data/examples/connection/automatic_recovery_with_basic_get.rb +0 -40
- data/examples/connection/automatic_recovery_with_client_named_queues.rb +0 -36
- data/examples/connection/automatic_recovery_with_multiple_consumers.rb +0 -46
- data/examples/connection/automatic_recovery_with_republishing.rb +0 -109
- data/examples/connection/automatic_recovery_with_server_named_queues.rb +0 -35
- data/examples/connection/channel_level_exception.rb +0 -27
- data/examples/connection/disabled_automatic_recovery.rb +0 -34
- data/examples/connection/heartbeat.rb +0 -17
- data/examples/connection/manually_reconnecting_consumer.rb +0 -23
- data/examples/connection/manually_reconnecting_publisher.rb +0 -28
- data/examples/connection/unknown_host.rb +0 -16
- data/examples/consumers/high_and_low_priority.rb +0 -50
- data/examples/guides/exchanges/direct_exchange_routing.rb +0 -36
- data/examples/guides/exchanges/fanout_exchange_routing.rb +0 -28
- data/examples/guides/exchanges/headers_exchange_routing.rb +0 -31
- data/examples/guides/exchanges/mandatory_messages.rb +0 -30
- data/examples/guides/extensions/alternate_exchange.rb +0 -30
- data/examples/guides/extensions/basic_nack.rb +0 -33
- data/examples/guides/extensions/connection_blocked.rb +0 -35
- data/examples/guides/extensions/consumer_cancellation_notification.rb +0 -39
- data/examples/guides/extensions/dead_letter_exchange.rb +0 -32
- data/examples/guides/extensions/exchange_to_exchange_bindings.rb +0 -29
- data/examples/guides/extensions/per_message_ttl.rb +0 -36
- data/examples/guides/extensions/per_queue_message_ttl.rb +0 -36
- data/examples/guides/extensions/publisher_confirms.rb +0 -28
- data/examples/guides/extensions/queue_lease.rb +0 -26
- data/examples/guides/extensions/sender_selected_distribution.rb +0 -32
- data/examples/guides/getting_started/blabbr.rb +0 -27
- data/examples/guides/getting_started/hello_world.rb +0 -22
- data/examples/guides/getting_started/weathr.rb +0 -49
- data/examples/guides/queues/one_off_consumer.rb +0 -25
- data/examples/guides/queues/redeliveries.rb +0 -81
- data/profiling/basic_publish/with_4K_messages.rb +0 -33
- data/repl +0 -3
- data/spec/tls/generate-server-cert.sh +0 -8
- data/spec/tls/server-openssl.cnf +0 -10
- data/spec/tls/server.csr +0 -16
@@ -4,7 +4,7 @@ describe Bunny::Session do
|
|
4
4
|
context "with unreachable host" do
|
5
5
|
it "raises Bunny::TCPConnectionFailed" do
|
6
6
|
begin
|
7
|
-
conn = Bunny.new(:hostname => "
|
7
|
+
conn = Bunny.new(:hostname => "127.0.0.254", :port => 1433)
|
8
8
|
conn.start
|
9
9
|
|
10
10
|
fail "expected 192.192.192.192 to be unreachable"
|
@@ -0,0 +1,84 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'spec_helper'
|
4
|
+
|
5
|
+
describe Bunny::Session, 'TLS certificate store' do
|
6
|
+
subject { described_class.new tls: true, tls_ca_certificates: [certificate], logger: logger }
|
7
|
+
|
8
|
+
let(:logger) { Logger.new(io).tap { |l| l.level = :debug } }
|
9
|
+
let(:io) { StringIO.new }
|
10
|
+
|
11
|
+
context 'when a Windows path given' do
|
12
|
+
let(:certificate) { 'C:/some/path/cacert.pem' }
|
13
|
+
|
14
|
+
# skipping actual work with file by Windows path as this spec runs in Linux
|
15
|
+
before do
|
16
|
+
allow(File).to receive(:readable?).with(certificate).and_return(true)
|
17
|
+
allow_any_instance_of(OpenSSL::X509::Store).to receive(:add_file)
|
18
|
+
end
|
19
|
+
|
20
|
+
it 'uses the certificate by path' do
|
21
|
+
subject
|
22
|
+
|
23
|
+
expect(log_content).to include('Using CA certificates at C:/some/path/cacert.pem')
|
24
|
+
end
|
25
|
+
end
|
26
|
+
|
27
|
+
context 'when a POSIX path given' do
|
28
|
+
let(:certificate) { './spec/tls/ca_certificate.pem' }
|
29
|
+
|
30
|
+
it 'uses the certificate by path' do
|
31
|
+
subject
|
32
|
+
|
33
|
+
expect(log_content).to include('Using CA certificates at ./spec/tls/ca_certificate.pem')
|
34
|
+
end
|
35
|
+
end
|
36
|
+
|
37
|
+
context 'when an inline certificate given' do
|
38
|
+
let(:certificate) do
|
39
|
+
<<~CERT
|
40
|
+
-----BEGIN CERTIFICATE-----
|
41
|
+
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
|
69
|
+
eYEXqywYlmGZite4N3qb3qQnyGw=
|
70
|
+
-----END CERTIFICATE-----
|
71
|
+
CERT
|
72
|
+
end
|
73
|
+
|
74
|
+
it 'uses the inline certificate' do
|
75
|
+
subject
|
76
|
+
|
77
|
+
expect(log_content).to include('Using 1 inline CA certificates')
|
78
|
+
end
|
79
|
+
end
|
80
|
+
|
81
|
+
def log_content
|
82
|
+
io.tap(&:rewind).read
|
83
|
+
end
|
84
|
+
end
|
data/spec/issues/issue78_spec.rb
CHANGED
@@ -24,7 +24,7 @@ unless ENV["CI"]
|
|
24
24
|
ch2 = @connection1.create_channel
|
25
25
|
|
26
26
|
q = ch1.queue("", exclusive: true)
|
27
|
-
q.subscribe(manual_ack: false
|
27
|
+
q.subscribe(manual_ack: false) do |delivery_info, properties, payload|
|
28
28
|
delivered_data << payload
|
29
29
|
end
|
30
30
|
sleep 0.5
|
@@ -57,7 +57,7 @@ unless ENV["CI"]
|
|
57
57
|
sleep 0.7
|
58
58
|
expect(q.message_count).to eq 3
|
59
59
|
|
60
|
-
q.subscribe(manual_ack: false
|
60
|
+
q.subscribe(manual_ack: false) do |delivery_info, properties, payload|
|
61
61
|
delivered_data << payload
|
62
62
|
end
|
63
63
|
sleep 0.7
|
@@ -2,7 +2,7 @@ require "spec_helper"
|
|
2
2
|
|
3
3
|
describe Bunny::Channel, "#basic_cancel" do
|
4
4
|
before(:all) do
|
5
|
-
@connection = Bunny.new(:user => "bunny_gem", :
|
5
|
+
@connection = Bunny.new(:user => "bunny_gem", password: "bunny_password", :vhost => "bunny_testbed")
|
6
6
|
@connection.start
|
7
7
|
end
|
8
8
|
|
@@ -2,7 +2,7 @@ require "spec_helper"
|
|
2
2
|
|
3
3
|
describe Bunny::Channel, "#basic_consume" do
|
4
4
|
before(:all) do
|
5
|
-
@connection = Bunny.new(:user => "bunny_gem", :
|
5
|
+
@connection = Bunny.new(:user => "bunny_gem", password: "bunny_password", :vhost => "bunny_testbed")
|
6
6
|
@connection.start
|
7
7
|
end
|
8
8
|
|
@@ -12,7 +12,7 @@ describe Bunny::Channel, "#basic_consume" do
|
|
12
12
|
|
13
13
|
it "returns basic.consume-ok when it is received" do
|
14
14
|
ch = @connection.create_channel
|
15
|
-
q = ch.queue("", :
|
15
|
+
q = ch.queue("", exclusive: true)
|
16
16
|
|
17
17
|
consume_ok = ch.basic_consume(q)
|
18
18
|
expect(consume_ok).to be_instance_of AMQ::Protocol::Basic::ConsumeOk
|
@@ -23,7 +23,7 @@ describe Bunny::Channel, "#basic_consume" do
|
|
23
23
|
|
24
24
|
it "carries server-generated consumer tag with basic.consume-ok" do
|
25
25
|
ch = @connection.create_channel
|
26
|
-
q = ch.queue("", :
|
26
|
+
q = ch.queue("", exclusive: true)
|
27
27
|
|
28
28
|
consume_ok = ch.basic_consume(q, "")
|
29
29
|
expect(consume_ok.consumer_tag).to match /amq\.ctag.*/
|
@@ -51,13 +51,13 @@ describe Bunny::Channel, "#basic_consume" do
|
|
51
51
|
|
52
52
|
ch = @connection.create_channel
|
53
53
|
x = ch.default_exchange
|
54
|
-
x.publish("hello", :
|
54
|
+
x.publish("hello", routing_key: queue_name)
|
55
55
|
|
56
56
|
sleep 0.7
|
57
57
|
expect(delivered_keys).to include queue_name
|
58
58
|
expect(delivered_data).to include "hello"
|
59
59
|
|
60
|
-
expect(ch.queue(queue_name, :
|
60
|
+
expect(ch.queue(queue_name, auto_delete: true, durable: false).message_count).to eq 0
|
61
61
|
|
62
62
|
ch.close
|
63
63
|
end
|
@@ -72,7 +72,7 @@ describe Bunny::Channel, "#basic_consume" do
|
|
72
72
|
|
73
73
|
t = Thread.new do
|
74
74
|
ch = @connection.create_channel
|
75
|
-
q = ch.queue(queue_name, :
|
75
|
+
q = ch.queue(queue_name, auto_delete: true, durable: false)
|
76
76
|
ch.basic_consume(q, "", false, false) do |delivery_info, properties, payload|
|
77
77
|
delivered_keys << delivery_info.routing_key
|
78
78
|
delivered_data << payload
|
@@ -85,13 +85,13 @@ describe Bunny::Channel, "#basic_consume" do
|
|
85
85
|
|
86
86
|
ch = @connection.create_channel
|
87
87
|
x = ch.default_exchange
|
88
|
-
x.publish("hello", :
|
88
|
+
x.publish("hello", routing_key: queue_name)
|
89
89
|
|
90
90
|
sleep 0.7
|
91
91
|
expect(delivered_keys).to include queue_name
|
92
92
|
expect(delivered_data).to include "hello"
|
93
93
|
|
94
|
-
expect(ch.queue(queue_name, :
|
94
|
+
expect(ch.queue(queue_name, auto_delete: true, durable: false).message_count).to eq 0
|
95
95
|
|
96
96
|
ch.close
|
97
97
|
end
|
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: 2.
|
4
|
+
version: 2.19.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Duncan
|
@@ -9,101 +9,61 @@ authors:
|
|
9
9
|
- Jakub Stastny aka botanicus
|
10
10
|
- Michael S. Klishin
|
11
11
|
- Stefan Kaes
|
12
|
-
autorequire:
|
12
|
+
autorequire:
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
|
-
date:
|
15
|
+
date: 2021-06-25 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: amq-protocol
|
19
19
|
requirement: !ruby/object:Gem::Requirement
|
20
20
|
requirements:
|
21
|
-
- - ">="
|
22
|
-
- !ruby/object:Gem::Version
|
23
|
-
version: 2.3.0
|
24
21
|
- - "~>"
|
25
22
|
- !ruby/object:Gem::Version
|
26
23
|
version: '2.3'
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 2.3.1
|
27
27
|
type: :runtime
|
28
28
|
prerelease: false
|
29
29
|
version_requirements: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '2.3'
|
31
34
|
- - ">="
|
32
35
|
- !ruby/object:Gem::Version
|
33
|
-
version: 2.3.
|
36
|
+
version: 2.3.1
|
37
|
+
- !ruby/object:Gem::Dependency
|
38
|
+
name: sorted_set
|
39
|
+
requirement: !ruby/object:Gem::Requirement
|
40
|
+
requirements:
|
34
41
|
- - "~>"
|
35
42
|
- !ruby/object:Gem::Version
|
36
|
-
version: '
|
37
|
-
|
43
|
+
version: '1'
|
44
|
+
- - ">="
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: 1.0.2
|
47
|
+
type: :runtime
|
48
|
+
prerelease: false
|
49
|
+
version_requirements: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - "~>"
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '1'
|
54
|
+
- - ">="
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: 1.0.2
|
57
|
+
description: Easy to use, feature complete Ruby client for RabbitMQ 3.3 and later
|
58
|
+
versions.
|
38
59
|
email:
|
39
|
-
-
|
60
|
+
- michael.s.klishin@gmail.com
|
40
61
|
executables: []
|
41
62
|
extensions: []
|
42
63
|
extra_rdoc_files:
|
43
64
|
- README.md
|
44
65
|
files:
|
45
|
-
- ".github/ISSUE_TEMPLATE.md"
|
46
|
-
- ".gitignore"
|
47
|
-
- ".rspec"
|
48
|
-
- ".travis.yml"
|
49
|
-
- ".yardopts"
|
50
|
-
- CONTRIBUTING.md
|
51
|
-
- ChangeLog.md
|
52
|
-
- Gemfile
|
53
|
-
- LICENSE
|
54
66
|
- README.md
|
55
|
-
- Rakefile
|
56
|
-
- benchmarks/basic_publish/with_128K_messages.rb
|
57
|
-
- benchmarks/basic_publish/with_1k_messages.rb
|
58
|
-
- benchmarks/basic_publish/with_4K_messages.rb
|
59
|
-
- benchmarks/basic_publish/with_64K_messages.rb
|
60
|
-
- benchmarks/channel_open.rb
|
61
|
-
- benchmarks/mutex_and_monitor.rb
|
62
|
-
- benchmarks/queue_declare.rb
|
63
|
-
- benchmarks/queue_declare_and_bind.rb
|
64
|
-
- benchmarks/queue_declare_bind_and_delete.rb
|
65
|
-
- benchmarks/synchronized_sorted_set.rb
|
66
|
-
- benchmarks/write_vs_write_nonblock.rb
|
67
|
-
- bunny.gemspec
|
68
|
-
- docker-compose.yml
|
69
|
-
- docker/Dockerfile
|
70
|
-
- docker/apt/preferences.d/erlang
|
71
|
-
- docker/apt/sources.list.d/bintray.rabbitmq.list
|
72
|
-
- docker/docker-entrypoint.sh
|
73
|
-
- docker/rabbitmq.conf
|
74
|
-
- examples/connection/authentication_failure.rb
|
75
|
-
- examples/connection/automatic_recovery_with_basic_get.rb
|
76
|
-
- examples/connection/automatic_recovery_with_client_named_queues.rb
|
77
|
-
- examples/connection/automatic_recovery_with_multiple_consumers.rb
|
78
|
-
- examples/connection/automatic_recovery_with_republishing.rb
|
79
|
-
- examples/connection/automatic_recovery_with_server_named_queues.rb
|
80
|
-
- examples/connection/channel_level_exception.rb
|
81
|
-
- examples/connection/disabled_automatic_recovery.rb
|
82
|
-
- examples/connection/heartbeat.rb
|
83
|
-
- examples/connection/manually_reconnecting_consumer.rb
|
84
|
-
- examples/connection/manually_reconnecting_publisher.rb
|
85
|
-
- examples/connection/unknown_host.rb
|
86
|
-
- examples/consumers/high_and_low_priority.rb
|
87
|
-
- examples/guides/exchanges/direct_exchange_routing.rb
|
88
|
-
- examples/guides/exchanges/fanout_exchange_routing.rb
|
89
|
-
- examples/guides/exchanges/headers_exchange_routing.rb
|
90
|
-
- examples/guides/exchanges/mandatory_messages.rb
|
91
|
-
- examples/guides/extensions/alternate_exchange.rb
|
92
|
-
- examples/guides/extensions/basic_nack.rb
|
93
|
-
- examples/guides/extensions/connection_blocked.rb
|
94
|
-
- examples/guides/extensions/consumer_cancellation_notification.rb
|
95
|
-
- examples/guides/extensions/dead_letter_exchange.rb
|
96
|
-
- examples/guides/extensions/exchange_to_exchange_bindings.rb
|
97
|
-
- examples/guides/extensions/per_message_ttl.rb
|
98
|
-
- examples/guides/extensions/per_queue_message_ttl.rb
|
99
|
-
- examples/guides/extensions/publisher_confirms.rb
|
100
|
-
- examples/guides/extensions/queue_lease.rb
|
101
|
-
- examples/guides/extensions/sender_selected_distribution.rb
|
102
|
-
- examples/guides/getting_started/blabbr.rb
|
103
|
-
- examples/guides/getting_started/hello_world.rb
|
104
|
-
- examples/guides/getting_started/weathr.rb
|
105
|
-
- examples/guides/queues/one_off_consumer.rb
|
106
|
-
- examples/guides/queues/redeliveries.rb
|
107
67
|
- lib/amq/protocol/extensions.rb
|
108
68
|
- lib/bunny.rb
|
109
69
|
- lib/bunny/authentication/credentials_encoder.rb
|
@@ -141,8 +101,6 @@ files:
|
|
141
101
|
- lib/bunny/transport.rb
|
142
102
|
- lib/bunny/version.rb
|
143
103
|
- lib/bunny/versioned_delivery_tag.rb
|
144
|
-
- profiling/basic_publish/with_4K_messages.rb
|
145
|
-
- repl
|
146
104
|
- spec/config/enabled_plugins
|
147
105
|
- spec/config/rabbitmq.conf
|
148
106
|
- spec/higher_level_api/integration/basic_ack_spec.rb
|
@@ -190,6 +148,7 @@ files:
|
|
190
148
|
- spec/issues/issue224_spec.rb
|
191
149
|
- spec/issues/issue465_spec.rb
|
192
150
|
- spec/issues/issue549_spec.rb
|
151
|
+
- spec/issues/issue609_spec.rb
|
193
152
|
- spec/issues/issue78_spec.rb
|
194
153
|
- spec/issues/issue83_spec.rb
|
195
154
|
- spec/issues/issue97_attachment.json
|
@@ -204,15 +163,6 @@ files:
|
|
204
163
|
- spec/stress/concurrent_publishers_stress_spec.rb
|
205
164
|
- spec/stress/connection_open_close_spec.rb
|
206
165
|
- spec/stress/merry_go_round_spec.rb
|
207
|
-
- spec/tls/ca_certificate.pem
|
208
|
-
- spec/tls/ca_key.pem
|
209
|
-
- spec/tls/client_certificate.pem
|
210
|
-
- spec/tls/client_key.pem
|
211
|
-
- spec/tls/generate-server-cert.sh
|
212
|
-
- spec/tls/server-openssl.cnf
|
213
|
-
- spec/tls/server.csr
|
214
|
-
- spec/tls/server_certificate.pem
|
215
|
-
- spec/tls/server_key.pem
|
216
166
|
- spec/toxiproxy_helper.rb
|
217
167
|
- spec/unit/bunny_spec.rb
|
218
168
|
- spec/unit/concurrent/atomic_fixnum_spec.rb
|
@@ -225,7 +175,7 @@ homepage: http://rubybunny.info
|
|
225
175
|
licenses:
|
226
176
|
- MIT
|
227
177
|
metadata: {}
|
228
|
-
post_install_message:
|
178
|
+
post_install_message:
|
229
179
|
rdoc_options: []
|
230
180
|
require_paths:
|
231
181
|
- lib
|
@@ -240,10 +190,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
240
190
|
- !ruby/object:Gem::Version
|
241
191
|
version: '0'
|
242
192
|
requirements: []
|
243
|
-
rubygems_version: 3.
|
244
|
-
signing_key:
|
193
|
+
rubygems_version: 3.1.4
|
194
|
+
signing_key:
|
245
195
|
specification_version: 4
|
246
|
-
summary:
|
196
|
+
summary: Popular easy to use Ruby client for RabbitMQ
|
247
197
|
test_files:
|
248
198
|
- spec/config/enabled_plugins
|
249
199
|
- spec/config/rabbitmq.conf
|
@@ -292,6 +242,7 @@ test_files:
|
|
292
242
|
- spec/issues/issue224_spec.rb
|
293
243
|
- spec/issues/issue465_spec.rb
|
294
244
|
- spec/issues/issue549_spec.rb
|
245
|
+
- spec/issues/issue609_spec.rb
|
295
246
|
- spec/issues/issue78_spec.rb
|
296
247
|
- spec/issues/issue83_spec.rb
|
297
248
|
- spec/issues/issue97_attachment.json
|
@@ -306,15 +257,6 @@ test_files:
|
|
306
257
|
- spec/stress/concurrent_publishers_stress_spec.rb
|
307
258
|
- spec/stress/connection_open_close_spec.rb
|
308
259
|
- spec/stress/merry_go_round_spec.rb
|
309
|
-
- spec/tls/ca_certificate.pem
|
310
|
-
- spec/tls/ca_key.pem
|
311
|
-
- spec/tls/client_certificate.pem
|
312
|
-
- spec/tls/client_key.pem
|
313
|
-
- spec/tls/generate-server-cert.sh
|
314
|
-
- spec/tls/server-openssl.cnf
|
315
|
-
- spec/tls/server.csr
|
316
|
-
- spec/tls/server_certificate.pem
|
317
|
-
- spec/tls/server_key.pem
|
318
260
|
- spec/toxiproxy_helper.rb
|
319
261
|
- spec/unit/bunny_spec.rb
|
320
262
|
- spec/unit/concurrent/atomic_fixnum_spec.rb
|
data/.github/ISSUE_TEMPLATE.md
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
## Does This Really Belong to GitHub issues?
|
2
|
-
|
3
|
-
If you find a bug you understand well, poor default, incorrect or unclear piece of documentation,
|
4
|
-
or missing feature, please [file an
|
5
|
-
issue](http://github.com/ruby-amqp/bunny/issues) on GitHub.
|
6
|
-
|
7
|
-
Please use [Bunny's mailing list](http://groups.google.com/group/ruby-amqp) for questions,
|
8
|
-
investigations, and discussions. GitHub issues should be used for specific, well understood, actionable
|
9
|
-
maintainers and contributors can work on.
|
10
|
-
|
11
|
-
When filing an issue, please specify
|
12
|
-
|
13
|
-
* Which Bunny and RabbitMQ versions are used
|
14
|
-
* Recent RabbitMQ log file contents
|
15
|
-
* Full exception stack traces
|
16
|
-
* Steps to reproduce or a failing test case
|
17
|
-
|
18
|
-
This would greatly help the maintainers help you.
|
data/.gitignore
DELETED
@@ -1,28 +0,0 @@
|
|
1
|
-
.DS_Store
|
2
|
-
.*.swp
|
3
|
-
*.class
|
4
|
-
*.rbc
|
5
|
-
*.gem
|
6
|
-
/doc/
|
7
|
-
.yardoc
|
8
|
-
.rvmrc
|
9
|
-
Gemfile.lock
|
10
|
-
.rbx/*
|
11
|
-
.tags
|
12
|
-
.tags_sorted_by_file
|
13
|
-
.Apple*
|
14
|
-
/bin/*
|
15
|
-
.bundle/*
|
16
|
-
vendor/*
|
17
|
-
playground/*
|
18
|
-
*.org
|
19
|
-
repl-*
|
20
|
-
debug/*
|
21
|
-
*.dump
|
22
|
-
deploy.docs.sh
|
23
|
-
.ruby-version
|
24
|
-
.idea
|
25
|
-
*.srl
|
26
|
-
spec/tls/*.pem
|
27
|
-
spec/tls/*.pem~
|
28
|
-
spec/tls/*.p12
|