harness-active_publisher 0.4.0 → 0.5.0

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
  SHA1:
3
- metadata.gz: 23f5656aef12ffca58378a6f1c6ac38ebc2e5bf2
4
- data.tar.gz: 8ba58a4d640809221f2636dbf84ae719dcab36e0
3
+ metadata.gz: 305ec8bb2aeba0fb34e7b71a622de8ba12f77b50
4
+ data.tar.gz: 4698fa4418a5f48735f3419c09f0afd9da1cd124
5
5
  SHA512:
6
- metadata.gz: 314e3cb9c5230949a481cb596a8c9f5f05006db6e29ee8e4fb6e74f154f91f6e399e504ae9601ec8649ae9cd7c34aa34cc27ac0cb26bbed4b6edb2259fec13ce
7
- data.tar.gz: 8589ffa0def40858886f7ff5e38e88d985e8248a60f629bfb367b31f8a645327e9f033a547ed341960a1cfafc0d1f5b9aa2ce0cc3036b9e2cb34380c9343a9ba
6
+ metadata.gz: 6027666c07475c3ddaccde78e7aca7414fa5a604c5323cfaef0bad37031c93208632081c61b19937225ad12cebe7a883c6df4abc61129249bd0b4cb34222dac6
7
+ data.tar.gz: d2dea45b8463dc632fdb0d2513c1d2cc1099cb81aaf0fab50985b51abbacf55a670aae1aca7440148464c2cb8f78efbeea8d9ec1b5937e4767dc7a5069ddd381
@@ -20,7 +20,7 @@ end
20
20
  ::ActiveSupport::Notifications.subscribe "message_published.active_publisher" do |*args|
21
21
  event = ::ActiveSupport::Notifications::Event.new(*args)
22
22
  message_count = event.payload.fetch(:message_count, 1)
23
- ::Harness.increment PUBLISHED_METRIC, message_count
23
+ ::Harness.count PUBLISHED_METRIC, message_count
24
24
  ::Harness.timing LATENCY_METRIC, event.duration
25
25
  end
26
26
 
@@ -1,5 +1,5 @@
1
1
  module Harness
2
2
  module ActivePublisher
3
- VERSION = "0.4.0"
3
+ VERSION = "0.5.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: harness-active_publisher
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Ries
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-10-06 00:00:00.000000000 Z
11
+ date: 2018-03-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport