graphite-api 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/graphite-api/client.rb +2 -1
- data/lib/graphite-api/version.rb +1 -1
- metadata +2 -2
data/lib/graphite-api/client.rb
CHANGED
@@ -67,6 +67,7 @@ module GraphiteAPI
|
|
67
67
|
def metrics metric, time = Time.now
|
68
68
|
buffer.push :metric => metric, :time => time
|
69
69
|
end
|
70
|
+
alias_method :add_metrics, :metrics
|
70
71
|
|
71
72
|
def join
|
72
73
|
sleep while buffer.new_records?
|
@@ -116,4 +117,4 @@ module GraphiteAPI
|
|
116
117
|
end
|
117
118
|
|
118
119
|
end
|
119
|
-
end
|
120
|
+
end
|
data/lib/graphite-api/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: graphite-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-03-
|
12
|
+
date: 2013-03-20 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: eventmachine
|