message_bus 2.2.2 → 2.2.3
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of message_bus might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/CHANGELOG +9 -2
- data/lib/message_bus/backends/redis.rb +1 -1
- data/lib/message_bus/version.rb +1 -1
- data/spec/lib/message_bus/backend_spec.rb +8 -0
- 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: 46de79e771fac3fb31c3edc55b0866842b6dc108df65c5bcbd7d1062568a6279
|
4
|
+
data.tar.gz: 201cb983ab710b1fe487f69105a13f0291873bf94c8a5e16f1749993a22ddc74
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 633808d11a69d4f6e7c8e53f4805c6bff2d5cd5e57b4c38a166af355e8c6cd2e423c6b27cb0f861597cda6b65dedb0c2bf46edfe5b7fada98b79e8f1bed7d38a
|
7
|
+
data.tar.gz: d38cb6e67c791a9e1e3dcaef8764517e47a363fa4045aed35eedff84cdbdf2a7da85bf0e55a2f00c4c877612bf46ce3dbaea430786afb6dd903ae090b4144638
|
data/CHANGELOG
CHANGED
@@ -1,11 +1,18 @@
|
|
1
|
-
|
1
|
+
18-10-2019
|
2
2
|
|
3
|
-
- Version 2.2.
|
3
|
+
- Version 2.2.3
|
4
|
+
|
5
|
+
- FIX: Protect redis config from being manipulated in backend
|
6
|
+
|
7
|
+
09-08-2019
|
8
|
+
|
9
|
+
- Version 2.2.2
|
4
10
|
|
5
11
|
- FEATURE: Support rate limiting by server, 429 status codes are respected and we hold off as needed
|
6
12
|
|
7
13
|
- FIX: In the redis backend make the `is_readonly?` method compatible with the redis gem both pre and post v4.0 when the `client` attribute was removed
|
8
14
|
|
15
|
+
|
9
16
|
30-04-2019
|
10
17
|
|
11
18
|
- Version 2.2.1
|
data/lib/message_bus/version.rb
CHANGED
@@ -406,4 +406,12 @@ describe PUB_SUB_CLASS do
|
|
406
406
|
|
407
407
|
got.map { |m| m.data }.must_equal ["12"]
|
408
408
|
end
|
409
|
+
|
410
|
+
it 'should not lose redis config' do
|
411
|
+
test_only :redis
|
412
|
+
redis_config = { connector: Redis::Client::Connector }
|
413
|
+
@bus.instance_variable_set(:@redis_config, redis_config)
|
414
|
+
@bus.send(:new_redis_connection)
|
415
|
+
expect(@bus.instance_variable_get(:@redis_config)[:connector]).must_equal Redis::Client::Connector
|
416
|
+
end
|
409
417
|
end
|
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: 2.2.
|
4
|
+
version: 2.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sam Saffron
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-10-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rack
|