graphite-api 0.0.1 → 0.0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/graphite-api/buffer.rb +1 -1
- data/lib/graphite-api/connector.rb +2 -2
- data/lib/graphite-api/version.rb +1 -1
- metadata +3 -3
data/lib/graphite-api/buffer.rb
CHANGED
@@ -23,8 +23,8 @@ module GraphiteAPI
|
|
23
23
|
def puts message
|
24
24
|
begin
|
25
25
|
Logger.debug [:connector,:puts,[host,port].join(":"),message]
|
26
|
-
socket.puts message
|
27
|
-
rescue Errno::EPIPE
|
26
|
+
socket.puts message + "\n"
|
27
|
+
rescue Errno::EPIPE, Errno::EINVAL
|
28
28
|
@socket = nil
|
29
29
|
retry
|
30
30
|
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.1
|
4
|
+
version: 0.0.1.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2012-05-02 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: eventmachine
|
16
|
-
requirement: &
|
16
|
+
requirement: &70173407309400 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,7 +21,7 @@ dependencies:
|
|
21
21
|
version: 0.3.3
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70173407309400
|
25
25
|
description: Graphite API - A Simple ruby client, aggregator daemon and API tools
|
26
26
|
email: eran@kontera.com
|
27
27
|
executables:
|