sidekiq_publisher 0.2.0 → 0.2.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: 4a5c547481b5ced12b2104fae37180f6e69afb53e56e33c63aa3ab5341c17cde
4
- data.tar.gz: 8726552f9f5e2713e10125763b67210515ca450be70450facbb0d2a0b5d969ee
3
+ metadata.gz: 0e319946d2c731b6fc7e1428282f075ab3c7bea45018409696e21b3053d5522a
4
+ data.tar.gz: ad7c47597341e93c1a5e8b4287d2db1ed85efa1867b93b4c9c504e89487557f3
5
5
  SHA512:
6
- metadata.gz: 343cf4ef74e8e0a30be17386f8174976b328ccb842f75203f994af0f1d0a83112214c8f03e6dea00f4aacab50aeef695457203d561e2df596224b16ba9375eea
7
- data.tar.gz: 29b3a7ffee99df51593c59786c712ea8af6468baf866879a40a3aaf2404435fcaaa5549cab8b7d2c5575a124d5c57f06c2aa9d7abefee06359b9c80abfaef815
6
+ metadata.gz: 99fac255189d01685a9b9800ff914f8e19033f9e3f915c4af2cc2af7dfd1ad299082c23f072a848a24cde2f978f560e5607d5d1df67f6c332f8aae07ceac4675
7
+ data.tar.gz: e7d411a804ebd017e9dfe6b5cab4f1093aa13695a27b7feb89a2c28eac427d8dfdab32752f8f7dc254342ae6d66f39ef424f18bedc7a584b574af5a39cbc50f3
@@ -1,5 +1,8 @@
1
1
  # sidekiq_publisher
2
2
 
3
+ ## v0.2.1
4
+ - Use period instead of colon as a separator in metric names.
5
+
3
6
  ## v0.2.0
4
7
  - Add caching for job class constant lookup.
5
8
  - Add metrics for the number of jobs published and purged.
@@ -34,7 +34,7 @@ module SidekiqPublisher
34
34
  SidekiqPublisher.logger.info("#{name} purging expired published jobs.")
35
35
  count = purgeable.delete_all
36
36
  SidekiqPublisher.logger.info("#{name} purged #{count} expired published jobs.")
37
- SidekiqPublisher.metrics_reporter.try(:count, "sidekiq_publisher:purged", count)
37
+ SidekiqPublisher.metrics_reporter.try(:count, "sidekiq_publisher.purged", count)
38
38
  end
39
39
 
40
40
  def self.unpublished_batches(batch_size: SidekiqPublisher.batch_size)
@@ -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)
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.2.0"
4
+ VERSION = "0.2.1"
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.2.0
4
+ version: 0.2.1
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-05-18 00:00:00.000000000 Z
11
+ date: 2018-05-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activejob