riemann-babbler 1.3.9.7 → 1.4.0

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.
@@ -57,8 +57,8 @@ module Riemann
57
57
  end
58
58
  event[:metric] = event[:metric].round(2) if event[:metric].kind_of? Float
59
59
  # set tags
60
- unless options.riemann.tags.nil?
61
- event[:tags] = options.riemann.tags if event[:tags].nil?
60
+ if event[:tags].nil?
61
+ event[:tags] = options.riemann.tags unless options.riemann.tags.nil?
62
62
  end
63
63
  # set host
64
64
  event[:host] = hostname if event[:host].nil?
@@ -1,5 +1,5 @@
1
1
  module Riemann
2
2
  class Babbler
3
- VERSION = '1.3.9.7'
3
+ VERSION = '1.4.0'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: riemann-babbler
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.9.7
4
+ version: 1.4.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: