riemann-babbler 0.7.7 → 0.7.8

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.
@@ -69,7 +69,11 @@ module Riemann
69
69
 
70
70
  def get_hostname
71
71
  hostname = File.read('/proc/sys/kernel/hostname').strip.downcase
72
- hostname += options.riemann.suffix unless options.riemann.suffix.nil?
72
+ if options.riemann.installation.nil?
73
+ hostname += options.riemann.suffix unless options.riemann.suffix.nil?
74
+ else
75
+ hostname += ( "." + options.riemann.installation )
76
+ end
73
77
  hostname = options.riemann.prefix + hostname unless options.riemann.prefix.nil?
74
78
  hostname
75
79
  end
@@ -1,5 +1,5 @@
1
1
  module Riemann
2
2
  class Babbler
3
- VERSION = '0.7.7'
3
+ VERSION = '0.7.8'
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: 0.7.7
4
+ version: 0.7.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -165,7 +165,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
165
165
  version: '0'
166
166
  segments:
167
167
  - 0
168
- hash: -1503683459387493173
168
+ hash: -2012535303006927832
169
169
  required_rubygems_version: !ruby/object:Gem::Requirement
170
170
  none: false
171
171
  requirements: