bunny 2.14.2 → 2.14.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7a6ffb6e1661c9921afd766382444c1d194f5b816d35021f9f49ab4382adced6
4
- data.tar.gz: 4f7ef1377379a4fa087110316c149c0f012239247537467bfd788463d8c0a904
3
+ metadata.gz: c29f135d76d09fb4260a945a620a80d281b5194ea55bdd9e4fd1f43b9e849544
4
+ data.tar.gz: 23ff6197091a0d373fbad760dba33ec199bbacd85d274f4a828afd8d78b2d28c
5
5
  SHA512:
6
- metadata.gz: 73ada01a49fb86a5ffe95548b79df15169cd63ba47481c2303f5ea314f04e14e97c4f9e7e42b095969bf5259633d15803a4eb116743c054007d4694af62b6fa2
7
- data.tar.gz: b6c533137ea821b45c2dd7e8cc54a87c09384a6e15bad8ae505c3c9ea2ef3c3ed8a53153832bc1a0773adc566888a832e689837abfe8f5f4d1a90e7cf2966da6
6
+ metadata.gz: 4c73f2103a2c7ab9df2ae497592e37c5d28c2e92ff2e8833337375859aa7eb08082952cf1314762df9fe3599b4fb958050ea4242d13c8cf4283ce0cf4bfa0315
7
+ data.tar.gz: 3ab49bec79e0bbacd7e06d3e9d84b0dbb3a3dac0c3cbbf131a96b51c1c6c5fdd50b2cc85d94a5f8bbc9440f6a4a976cdc6e3669d1c1ccf49639f976156cafb50
@@ -1,8 +1,20 @@
1
- ## Changes between Bunny 2.14.2 and 2.14.3 (in development)
1
+ ## Changes between Bunny 2.14.3 and 2.14.4 (in development)
2
2
 
3
3
  No changes yet.
4
4
 
5
5
 
6
+ ## Changes between Bunny 2.14.2 and 2.14.3 (Sep 29th, 2019)
7
+
8
+ ### OpenSSL Exceptions Trigger Recovery
9
+
10
+ OpenSSL exceptions on a fully established connection will now kick off
11
+ connection recovery.
12
+
13
+ GitHub issue: [#583](https://github.com/ruby-amqp/bunny/issues/583)
14
+
15
+ Contributed by Carl Hörberg.
16
+
17
+
6
18
  ## Changes between Bunny 2.14.1 and 2.14.2 (Apr 24th, 2019)
7
19
 
8
20
  ### Lazy Peer Certificate Chain Information Logging
@@ -7,11 +7,15 @@ RUN wget -O - "https://github.com/rabbitmq/signing-keys/releases/download/2.0/ra
7
7
  COPY apt/sources.list.d/bintray.rabbitmq.list /etc/apt/sources.list.d/bintray.rabbitmq.list
8
8
  COPY apt/preferences.d/erlang /etc/apt/preferences.d/erlang
9
9
 
10
- RUN apt-get update -y
10
+ RUN apt-get update -y && apt-get upgrade -y
11
+
12
+ RUN apt-get install -y erlang-base \
13
+ erlang-asn1 erlang-crypto erlang-eldap erlang-ftp erlang-inets \
14
+ erlang-mnesia erlang-os-mon erlang-parsetools erlang-public-key \
15
+ erlang-runtime-tools erlang-snmp erlang-ssl \
16
+ erlang-syntax-tools erlang-tftp erlang-tools erlang-xmerl
11
17
 
12
- RUN apt-get upgrade -y && \
13
- apt-get install -y erlang-asn1 erlang-crypto erlang-public-key erlang-ssl && \
14
- apt-get install -y rabbitmq-server
18
+ RUN apt-get install -y rabbitmq-server
15
19
 
16
20
  COPY docker-entrypoint.sh /
17
21
 
@@ -6,9 +6,9 @@ delay=5
6
6
  echo 'Starting a RabbitMQ node'
7
7
  $server -detached
8
8
 
9
- echo "Waiting $delay seconds for RabbitMQ to start."
9
+ echo "Waiting for RabbitMQ to finish startup..."
10
10
 
11
- sleep $delay
11
+ $ctl await_startup --timeout 15
12
12
 
13
13
  $ctl add_user bunny_gem bunny_password
14
14
  $ctl add_user bunny_reader reader_password
@@ -37,7 +37,8 @@ module Bunny
37
37
  begin
38
38
  break if @mutex.synchronize { @stopping || @stopped || @network_is_down }
39
39
  run_once
40
- rescue AMQ::Protocol::EmptyResponseError, IOError, SystemCallError, Timeout::Error => e
40
+ rescue AMQ::Protocol::EmptyResponseError, IOError, SystemCallError, Timeout::Error,
41
+ OpenSSL::OpenSSLError => e
41
42
  break if terminate? || @session.closing? || @session.closed?
42
43
 
43
44
  @network_is_down = true
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Bunny
4
4
  # @return [String] Version of the library
5
- VERSION = "2.14.2"
5
+ VERSION = "2.14.3"
6
6
  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.14.2
4
+ version: 2.14.3
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: 2019-04-24 00:00:00.000000000 Z
15
+ date: 2019-09-29 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: amq-protocol