graphite-api 0.1.7 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/graphite-api/connector.rb +2 -1
- data/lib/graphite-api/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 14c8492d53a5c59cdc5aac29799bd8f68f65e6a3
|
4
|
+
data.tar.gz: f507be4c76cced41e1a341522d5e3f3887a9319a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2302eb52dbe69f2cb0af57a5388c60f5a744e38bba5ef4d127d7a0ce312bdbb869df4dea21338c0f12756c14224c12b695e63e64418e45271bd9555edb396ef2
|
7
|
+
data.tar.gz: 0f17e949e935de4ef4af47ad2a2f2061002cbe7a5965253b3166a4ea21dcb04d5292ffc63e47037434d3fc1a6bc90d550cee4f50862cf707bbf0a9120cad2787
|
@@ -28,12 +28,13 @@ module GraphiteAPI
|
|
28
28
|
end
|
29
29
|
|
30
30
|
def puts message
|
31
|
+
counter = 0
|
31
32
|
begin
|
32
33
|
Logger.debug [:connector,:puts,[@host, @port].join(":"),message]
|
33
34
|
socket.puts message + "\n"
|
34
35
|
rescue Errno::EPIPE, Errno::EINVAL, Errno::ETIMEDOUT
|
35
36
|
@socket = nil
|
36
|
-
|
37
|
+
(counter += 1) <= 5 ? retry : raise
|
37
38
|
end
|
38
39
|
end
|
39
40
|
|
data/lib/graphite-api/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: graphite-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eran Barak Levi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-03-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: eventmachine
|
@@ -82,7 +82,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
82
82
|
version: '0'
|
83
83
|
requirements: []
|
84
84
|
rubyforge_project: graphite-api
|
85
|
-
rubygems_version: 2.
|
85
|
+
rubygems_version: 2.6.10
|
86
86
|
signing_key:
|
87
87
|
specification_version: 4
|
88
88
|
summary: Graphite Ruby Client
|