sidekiq_publisher 0.3.2 → 0.3.3

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: cac30430bf0049d4a67a85a8920b260600f4ba49dad50ddc9edebe47a53851bf
4
- data.tar.gz: 4c3cbe5c2bdbb91469c080247a012d66d9ad6342cdb359cf889e2c13b77333b0
3
+ metadata.gz: 28db75bad6526ed4a58488b7bf78a7230238cddc539cb1b515a41d9580df2042
4
+ data.tar.gz: 81990ae1b49a8178c0cefeec10fa69ea3ee8d55be063ebc5a665e34a5dd32691
5
5
  SHA512:
6
- metadata.gz: 3a6b3b37a5aef90dab8c28d756954d331609e1891fdc3ddbdd99c8a50184d1f99656a7c0548aa26ea498fa643d2b24badcad1a373414ecb454e410c18a70911c
7
- data.tar.gz: b2214cc445c955e7e39f8c3a7b30cb95bb143e595e604c25dbf7804e45b49183152d1491a1358778bb630f2c30d4ad75df7bd8c33d6a8f90559ce67c48eae1fa
6
+ metadata.gz: 5e3975d6d20c40b5ce34b381c5595f40e150309987a77f15f3f8b70d77949cc9b7c183c688dd7dcd24f00064d13178a7b6a9080f6ac0053026b637a8cc12bf39
7
+ data.tar.gz: 7c9acc5d584afcc039385edf867cc4362f8cebf89dbaf1e85f7167f6ed3b9a6b5eb341cd3b483ec29c6be2ce1296306371a9dc5b7fefeb1239b3bac5478aba54
data/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # sidekiq_publisher
2
2
 
3
+ ## v0.3.3
4
+ - Do not report published count metric if it is nil.
5
+
3
6
  ## v0.3.2
4
7
  - Require `activerecord-postgres_pub_sub` v0.4.0 or later for
5
8
  strong migrations support.
@@ -44,7 +44,7 @@ module SidekiqPublisher
44
44
  failure_warning(__method__, ex)
45
45
  ensure
46
46
  published_count = update_jobs_as_published!(batch) if pushed_count.present? && published_count.nil?
47
- metrics_reporter.try(:count, "sidekiq_publisher.published", published_count)
47
+ metrics_reporter.try(:count, "sidekiq_publisher.published", published_count) if published_count.present?
48
48
  end
49
49
 
50
50
  def lookup_job_class(name)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SidekiqPublisher
4
- VERSION = "0.3.2"
4
+ VERSION = "0.3.3"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sidekiq_publisher
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - ezCater, Inc
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-07-25 00:00:00.000000000 Z
11
+ date: 2018-08-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activejob