memcached_graphite 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -23,7 +23,7 @@ def format_hostname ( hostname, options )
23
23
  end
24
24
 
25
25
  def get_stats_items (host, port)
26
- Hash[MemcacheDo.exec('stats items').gsub(/^STAT items:(\d+):/,'STAT items_\1.').scan(/^STAT (.*?) (.*)\r$/)]
26
+ Hash[MemcacheDo.exec('stats items',host,port).gsub(/^STAT items:(\d+):/,'STAT items_\1.').scan(/^STAT (.*?) (.*)\r$/)]
27
27
  end
28
28
 
29
29
  def get_stats_slabs (host, port)
@@ -1,3 +1,3 @@
1
1
  module MemcachedGraphite
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: memcached_graphite
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
4
+ hash: 23
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 3
10
- version: 0.0.3
9
+ - 4
10
+ version: 0.0.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Aaron Brown