message_bus 4.3.3 → 4.3.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1b692999acb957ed29356cbe5611bc0e1227bf13af613523aea54782aea2983f
4
- data.tar.gz: 14ac3f99c3155428caa990e40cc50d1a1ed35fafced96d8de88d6d982acb8dc0
3
+ metadata.gz: 76a5b68eec4b7cfbe611e8b2a1fa0d60ac5d48dc33594419613ff07579cabe63
4
+ data.tar.gz: 9164fb39f5850d69ff83ce373ea398e9cd4086d9edc319c62c36f1bbdd1ffd99
5
5
  SHA512:
6
- metadata.gz: 5391f6c888f343f0d383745e0ac60390ad82b1666426ffbe6b8bac924e959ddb585bbc118a9cfdb713683b7ec1d38c2a7b3fbb53a7de9abf9e6a4b92e67b372d
7
- data.tar.gz: c50d50cf2e443eb25d68e858b20a023c735b8c155231805d7cddea40fc4039c9be0a1e3704bcfe6adf1368de2a0760905329d1632b37e13636e990c79c4bcf1c
6
+ metadata.gz: 6d9b70b183065bc17178443c8e008b921d3952b3ad9b45c3d30b2b19c388e6b7d9311537d654c0523449926918c797d9a4a5156f1b5631976b605e48b8878444
7
+ data.tar.gz: 7ae3c8104dcfb41af4b58d4baad29371307cbbf13bb6de6e364cddb48b6a271b147a55c123068a74537789dff7ba414a4fa5b4e1953893a5af6b29188ba85906
data/CHANGELOG CHANGED
@@ -1,3 +1,10 @@
1
+ 20-06-2023
2
+
3
+ - Version 4.3.4
4
+
5
+ - Revert "FIX: Don't error when trying to write a message to a closed client (#336)".
6
+ This seems to have broken MessageBus in production so reverting for now.
7
+
1
8
  19-06-2023
2
9
 
3
10
  - Version 4.3.3
@@ -278,7 +278,7 @@ class MessageBus::Client
278
278
  @async_response << data
279
279
  @async_response << postfix
280
280
  @async_response << NEWLINE
281
- elsif @io
281
+ else
282
282
  @io.write(chunk_length.to_s(16) << NEWLINE << data << postfix << NEWLINE)
283
283
  end
284
284
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module MessageBus
4
- VERSION = "4.3.3"
4
+ VERSION = "4.3.4"
5
5
  end
@@ -99,12 +99,6 @@ describe MessageBus::Client do
99
99
  chunk2.length.must_equal 0
100
100
  end
101
101
 
102
- it "does not raise an error when trying to write a message to a closed client using chunked encoding" do
103
- @client.use_chunked = true
104
- assert(@client.closed?)
105
- @client << MessageBus::Message.new(1, 1, "/test", "test")
106
- end
107
-
108
102
  it "does not bleed data across sites" do
109
103
  @client.site_id = "test"
110
104
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: message_bus
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.3.3
4
+ version: 4.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sam Saffron
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-06-19 00:00:00.000000000 Z
11
+ date: 2023-06-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rack