message_bus 4.3.3 → 4.3.6
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 +4 -4
- data/CHANGELOG +18 -0
- data/lib/message_bus/rack/middleware.rb +4 -4
- data/lib/message_bus/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a4df966b88978a23a9caeb38eec64b374d66ce1e364c419d1ac04c722dba36a7
|
|
4
|
+
data.tar.gz: 7bb707ad44b5fb96d8682ed25993d535700a1f8617e3af70ead34c5514b842dc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 600284061dbb261638b47f69535ddf937eaea43038bfce18495be6bcaa7550b9ce910bb32221ed8773e62a855b4adcc829131d9f74f0115d4777d25d451bf11f
|
|
7
|
+
data.tar.gz: 2ec82be8cf27b4eca3da26e7d122a9a7640d8294ffe2212a3f13c0995238276c3ef5519c03869bbb8ce584651d91620bcf464c56ca5017eaf239237a70deee2b
|
data/CHANGELOG
CHANGED
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
28-06-2023
|
|
2
|
+
|
|
3
|
+
- Version 4.3.6
|
|
4
|
+
|
|
5
|
+
- Don't error when trying to write a message to a closed client take 2
|
|
6
|
+
|
|
7
|
+
20-06-2023
|
|
8
|
+
|
|
9
|
+
- Version 4.3.5
|
|
10
|
+
|
|
11
|
+
- Revert "Make headers all lowercase in rack middleware (#328)".
|
|
12
|
+
This seems to have broken MessageBus in production so reverting for now.
|
|
13
|
+
|
|
14
|
+
- Version 4.3.4
|
|
15
|
+
|
|
16
|
+
- Revert "FIX: Don't error when trying to write a message to a closed client (#336)".
|
|
17
|
+
This seems to have broken MessageBus in production so reverting for now.
|
|
18
|
+
|
|
1
19
|
19-06-2023
|
|
2
20
|
|
|
3
21
|
- Version 4.3.3
|
|
@@ -82,10 +82,10 @@ class MessageBus::Rack::Middleware
|
|
|
82
82
|
return [404, {}, ["not found"]] unless client_id
|
|
83
83
|
|
|
84
84
|
headers = {}
|
|
85
|
-
headers["
|
|
86
|
-
headers["
|
|
87
|
-
headers["
|
|
88
|
-
headers["
|
|
85
|
+
headers["Cache-Control"] = "must-revalidate, private, max-age=0"
|
|
86
|
+
headers["Content-Type"] = "application/json; charset=utf-8"
|
|
87
|
+
headers["Pragma"] = "no-cache"
|
|
88
|
+
headers["Expires"] = "0"
|
|
89
89
|
|
|
90
90
|
if @bus.extra_response_headers_lookup
|
|
91
91
|
@bus.extra_response_headers_lookup.call(env).each do |k, v|
|
data/lib/message_bus/version.rb
CHANGED
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.
|
|
4
|
+
version: 4.3.6
|
|
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-
|
|
11
|
+
date: 2023-06-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rack
|