message_bus_client_worker 2.1.0 → 2.1.1

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: c4ef20ee860c68da5470850b190d1b9cb5362361d3dbfd27b0bd5f12fbc5390b
4
- data.tar.gz: 5d481f4e6e10a217494271d47c3a65c02fc91401f13103c98cb169a75ff0b289
3
+ metadata.gz: d7fea76cd116cee19a6770027158c1ede8fa993ebe8ab6941fbfe79478d8a059
4
+ data.tar.gz: e37e7016be468245237e8d0a2b17ea0f9944073833a623e6b571b16a17353f99
5
5
  SHA512:
6
- metadata.gz: 849f256761e8c427f7d5e16d7b80928764f41d54e85e6c5711d3bd5e02052b3fb19240b50daa90e854bbba400b83026dcba7d5c39d67f157ad5076c437ad3658
7
- data.tar.gz: 550137b3cc5fd47f6b19fea9ba784069363e368a0a6f35f68dfd6a48763d7cb94d7f234d7b5ee865df35e4bd085198db12cba0c5384240aa5a25cb2a5757a15e
6
+ metadata.gz: 3fc0a430aefb533a04b359ee36e05b649ba8133c0ac37d126bfd5562dcfc3b4025e77a4fdd16416ddf041688c5e18787a165e38df7a612b74d75eae97582f0a0
7
+ data.tar.gz: 9e438dd0f45009973dc990cdedb4960755c3b222dcb827f727fa91b7fb29ecc584fdd3364945ef8827a02aee6bb706213804df608bbc28d056250cb503afaf92
data/CHANGELOG.md CHANGED
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
4
4
  The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
5
5
  and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
6
6
 
7
+ ## [2.1.1] - 2022-05-26
8
+ ### Fixed
9
+ - Support for Sidekiq 7 or when `Sidekiq.strict_args!` is called
10
+
7
11
  ## [2.1.0] - 2021-10-01
8
12
  ### Added
9
13
  - `MessageBusClientWorker.subscribe(host, config)` which recommended over setting subscriptions via `configure`
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- message_bus_client_worker (2.1.0)
4
+ message_bus_client_worker (2.1.1)
5
5
  activesupport
6
6
  addressable
7
7
  excon
@@ -12,7 +12,7 @@ PATH
12
12
  GEM
13
13
  remote: https://rubygems.org/
14
14
  specs:
15
- activesupport (6.1.4.1)
15
+ activesupport (6.1.6)
16
16
  concurrent-ruby (~> 1.0, >= 1.0.2)
17
17
  i18n (>= 1.6, < 2)
18
18
  minitest (>= 5.1)
@@ -22,24 +22,24 @@ GEM
22
22
  public_suffix (>= 2.0.2, < 5.0)
23
23
  byebug (10.0.2)
24
24
  coderay (1.1.2)
25
- concurrent-ruby (1.1.9)
25
+ concurrent-ruby (1.1.10)
26
26
  connection_pool (2.2.2)
27
27
  diff-lcs (1.3)
28
- excon (0.85.0)
28
+ excon (0.92.3)
29
29
  gem_config (0.3.2)
30
- i18n (1.8.10)
30
+ i18n (1.10.0)
31
31
  concurrent-ruby (~> 1.0)
32
- light-service (0.17.0)
32
+ light-service (0.18.0)
33
33
  activesupport (>= 4.0.0)
34
34
  method_source (0.9.0)
35
- minitest (5.14.4)
35
+ minitest (5.15.0)
36
36
  pry (0.11.3)
37
37
  coderay (~> 1.1.0)
38
38
  method_source (~> 0.9.0)
39
39
  pry-byebug (3.6.0)
40
40
  byebug (~> 10.0)
41
41
  pry (~> 0.10)
42
- public_suffix (4.0.6)
42
+ public_suffix (4.0.7)
43
43
  rack (2.2.2)
44
44
  rack-protection (2.0.8.1)
45
45
  rack
@@ -69,7 +69,7 @@ GEM
69
69
  tzinfo (2.0.4)
70
70
  concurrent-ruby (~> 1.0)
71
71
  wait (0.5.3)
72
- zeitwerk (2.4.2)
72
+ zeitwerk (2.5.4)
73
73
 
74
74
  PLATFORMS
75
75
  ruby
@@ -1,3 +1,3 @@
1
1
  module MessageBusClientWorker
2
- VERSION = "2.1.0"
2
+ VERSION = "2.1.1"
3
3
  end
@@ -6,7 +6,7 @@ module MessageBusClientWorker
6
6
 
7
7
  def perform
8
8
  MessageBusClientWorker.configuration.subscriptions.each do |host, subs|
9
- SubscriptionWorker.perform_async(host, subs)
9
+ SubscriptionWorker.perform_async(host, subs.to_json)
10
10
  end
11
11
  end
12
12
 
@@ -4,9 +4,11 @@ module MessageBusClientWorker
4
4
  include Sidekiq::Worker
5
5
  sidekiq_options retry: 0
6
6
 
7
- def perform(host, subscriptions, long = false)
8
- log(host, subscriptions.with_indifferent_access)
9
- Poll.call(host, subscriptions.with_indifferent_access, long)
7
+ def perform(host, subscriptions_json, long = false)
8
+ subscriptions = JSON.parse(subscriptions_json).with_indifferent_access
9
+
10
+ log(host, subscriptions)
11
+ Poll.call(host, subscriptions, long)
10
12
  end
11
13
 
12
14
  private
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: message_bus_client_worker
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ramon Tayag
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-10-01 00:00:00.000000000 Z
11
+ date: 2022-05-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gem_config