metrics_machine 0.0.3 → 0.0.4

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: d63e2c33f29fd0071d4475d746503353ad13bcb3
4
- data.tar.gz: c9dee614e7817bef5e0b91a2bc620983b54134eb
3
+ metadata.gz: a229d71b22eb3dc346c836f78703317603804e8d
4
+ data.tar.gz: c5edd85476469ec9b72a838e306975696fbaa8eb
5
5
  SHA512:
6
- metadata.gz: a69a717a85bff5f6965e787a83236e36f3285bc0f747949916743b5cae7bdbcb298374edebec0d78f63da59e3c3639bf9d12e2eb90840393568f8c08ec277282
7
- data.tar.gz: 681f7fdacd6e60f680559054408dab40eae050646fb368987511c8ad3f12d06ae9c5b24053d4f1f168f9460f2bc1e0370b9e23c58d8b241a4923bb215305409b
6
+ metadata.gz: 2596a9dfde9eb6c5c459484e990c1c868140d01015c0016317f869ac1ec5ece622b164b6d1e574fc79705b190b04c59d24457d3a102a22a4972506c11c94cd78
7
+ data.tar.gz: 67551b26571f419cc7024354a544668e048b42d9fccf75e6b6c898915ea684a0c7ac9bde0c1c09764ebcd3cd69a7e041771a19496d031903cc1974829bbeb9eb
@@ -59,7 +59,7 @@ module MetricsMachine
59
59
  end
60
60
 
61
61
  def self.default_prefix
62
- `hostname`.strip
62
+ `hostname`.strip.split('.').reverse.join('.')
63
63
  end
64
64
 
65
65
  end
@@ -1,3 +1,3 @@
1
1
  module MetricsMachine
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
@@ -9,8 +9,8 @@ describe MetricsMachine do
9
9
 
10
10
  def statistics
11
11
  { "some-value" => 50 }
12
- end
13
12
  end
13
+ end
14
14
 
15
15
  it 'should do something' do
16
16
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metrics_machine
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Beer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-08-14 00:00:00.000000000 Z
11
+ date: 2013-08-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: statsd-ruby