message_bus_client_worker 0.2.1 → 0.2.2

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: f18497d280500c4d7043de22e3cef6c164c4427ce003f2a3085d4e411eda35eb
4
- data.tar.gz: 2b72bee2fe666018a20b16c8fce35981faf73ac215752feae4edd2cea8a49c51
3
+ metadata.gz: a76a4c64eeecb0631b887223a862e4459020340a7be64f50ecbb476ae942ede5
4
+ data.tar.gz: fdaa2b68e0321c47e35e4226d50a6f60a67e05ca9a2e38355519f4ce8ee60c75
5
5
  SHA512:
6
- metadata.gz: e863a9765b8799908ed2242a0678985dfe5c0eef5eea2297db8cd2a8cd693c2570ea7931a179f282701ae4351b0fad23707894849781771c29ffc1be71066fe4
7
- data.tar.gz: 0420d8e833e997cab5447d973741b64941d5238450a7b20489bcf57375c410c14e76345906197090a92b5c667d5cdda897f651c9ce1944384bfbc310f78e5333
6
+ metadata.gz: a54a4b4d5dda5da16073f1403f5c4adb8b465777e0b932aec9fd61444d17ad0405617dd1aa48c2893b08cb036b762b87ab935b16cb259e33d40ac97fb625f67c
7
+ data.tar.gz: 40366a6ec2547852868cfdbfda6730a15e836af531048e8b7c722a26defad5cebe15c8d2f842467cb4f61535917d45ee2466000dd45be3696b71424adabbb206
@@ -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
+ ## [0.2.2] - 2018-09-15
8
+ ### Fixed
9
+ - Problem where only one of two subscription workers were enqueued. Previous "fix" didn't work
10
+
7
11
  ## [0.2.1] - 2018-09-14
8
12
  ### Fixed
9
13
  - Fix problems enqueuing more than one SubscriptionWorker
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- message_bus_client_worker (0.2.1)
4
+ message_bus_client_worker (0.2.2)
5
5
  activesupport
6
6
  addressable
7
7
  gem_config
@@ -1,3 +1,3 @@
1
1
  module MessageBusClientWorker
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
3
3
  end
@@ -6,14 +6,15 @@ module MessageBusClientWorker
6
6
  retry: false,
7
7
  lock: :until_executed,
8
8
  unique_args: :unique_args,
9
+ on_conflict: :log,
9
10
  )
10
11
 
11
12
  def perform(host, subscriptions, long=false)
12
13
  Poll.(host, subscriptions.with_indifferent_access, long)
13
14
  end
14
15
 
15
- def self.unique_args(*args)
16
- [args.first]
16
+ def self.unique_args(args)
17
+ args
17
18
  end
18
19
 
19
20
  end
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: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ramon Tayag
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-09-14 00:00:00.000000000 Z
11
+ date: 2018-09-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gem_config