meter 0.1.5 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/meter/version.rb +1 -1
  3. data/lib/meter.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 688dc1d6ce53a1ec04070fa4ad47ae7a98bae4a5
4
- data.tar.gz: e14023b80be493860f28bd39dbdf06b871db639c
3
+ metadata.gz: 6ecf39f5556a5990f62a1fec9672638daea1f03c
4
+ data.tar.gz: 7c2cde533cc5703fe3b2be62273a4f3c1ff17291
5
5
  SHA512:
6
- metadata.gz: 32ba671175cdd0fc8986e237ec9183c2c1692274166bb7443c80d27e64f39037d0f4a0eca2c50eadd146a3e47d7361f8e87f3a10047050cc6f449646beb96edc
7
- data.tar.gz: 8d06e1fd962172fe08c908f3239d27b1e2a74c653fc07e2f3662894116044145c0b55f5eb4bc64c5f1b1f95aec7842d0a1990bd7866f7142fe58703324ff81f4
6
+ metadata.gz: 8bd277e28e8f387067c2d08a8040a0fa8506314cf76f1a38d8a2e1b837b72c7ba750d2d84c1dc0306b267a1e830ae7cb9ba5b35203e195b8e54be62ff33c91fa
7
+ data.tar.gz: 86d2a9c23d1470033f43d520471ed1671fb3d1512dc4bd851fed9951672d983d367e71822a671e115a12fceee6739908412cfbcc32f2c1e764265e0c0c617e4f
data/lib/meter/version.rb CHANGED
@@ -2,7 +2,7 @@ module Meter
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 1
5
- TINY = 5
5
+ TINY = 6
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].compact.join('.')
8
8
  end
data/lib/meter.rb CHANGED
@@ -6,7 +6,7 @@ module Meter
6
6
  def self.increment(key, options = {})
7
7
  id = options.delete(:id)
8
8
  backends.datadog.increment key, options
9
- backends.counter.increment("#{key}.#{id}", options) if id
9
+ backends.counter.increment("#{::Meter.config.namespace}.#{key}.#{id}", options) if id
10
10
 
11
11
  rescue => exception
12
12
  ::Meter.config.logger.error exception.inspect
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: meter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - bukowskis