message_bus_client_worker 1.1.0 → 1.1.1

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: 560c4dac8cd9a38d137c89279e61752d8a927f4313069754ee09bf2605a31a03
4
- data.tar.gz: 6d3006363e0daf8dbabe6d66a8884f4e9957f22b008ec3bb236a111d9ee7d313
3
+ metadata.gz: 0c751fde3915093c67772d2c32d1677f823477b6c52bd63a5b5c708bc29c26c9
4
+ data.tar.gz: 4c1c9be014e9854fc82a8b16cceb6cdb7c983179bf9c458b88715f339b374dc3
5
5
  SHA512:
6
- metadata.gz: b74d6e16af245b641910cfa7f1eb168d342ea8ec8e4e63f30bee77bb95629d9047b69165ad26117372f9d922e5b67eba2f954a8648237b9b1df6da69c38b32ab
7
- data.tar.gz: e22be9e812ec11b4f76e7d7479013b042fb1968d78e85ceff30f732fc3260b0ccef19a8bffc524dbbfd8b24ae6a0c67d24de3791738f04965aa62aed3155f942
6
+ metadata.gz: 24cb0a4ff8c18e1189e465c6c793cb383e41a97cf935832db61ae5f682329efeba70c63e44ac9c92db3778834aaac187b3cf9ddc95ffcb6e1ddf08b2c1f32985
7
+ data.tar.gz: 5684faff9b328389beb6700a7eabe448cee8ded1b69f20bfa44e07cd1cd0ebaef8756724e6bed23bd688c3af8d96fd9b3e05b6ffd98c39300d75214ed9d0d6e2
@@ -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
+ ## [1.1.1] - 2018-02-18
8
+ ### Fixed
9
+ - Log channels correctly when `SubscriptionWorker` is performed.
10
+
7
11
  ## [1.1.0] - 2018-02-13
8
12
  ### Added
9
13
  - Add a third argument support for processor which passes the request headers.
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- message_bus_client_worker (1.1.0)
4
+ message_bus_client_worker (1.1.1)
5
5
  activesupport
6
6
  addressable
7
7
  excon
@@ -1,3 +1,3 @@
1
1
  module MessageBusClientWorker
2
- VERSION = "1.1.0"
2
+ VERSION = "1.1.1"
3
3
  end
@@ -5,15 +5,15 @@ module MessageBusClientWorker
5
5
  sidekiq_options retry: 0
6
6
 
7
7
  def perform(host, subscriptions, long = false)
8
- log(host, subscriptions)
8
+ log(host, subscriptions.with_indifferent_access)
9
9
  Poll.call(host, subscriptions.with_indifferent_access, long)
10
10
  end
11
11
 
12
12
  private
13
13
 
14
14
  def log(host, subscriptions)
15
- subscriptions.each do |key, subscription|
16
- Sidekiq::Logging.logger.info "Enqueued #{host} for #{subscription[:channels]}"
15
+ subscriptions[:channels].each do |channel, _|
16
+ Sidekiq::Logging.logger.info "Enqueued #{host} for #{channel}"
17
17
  end
18
18
  end
19
19
 
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: 1.1.0
4
+ version: 1.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: 2019-02-13 00:00:00.000000000 Z
11
+ date: 2019-02-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gem_config