graphite-api 0.1.5 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- NjI1ZDdmMTUyNTBlOTQ3NzMwZGRhYmM5ODI1ODlkYTBlZmRmY2Y4Nw==
5
- data.tar.gz: !binary |-
6
- MGQwYzYxYTU5MjFiMWMwMGFhODdiZWFmYmU2ZDQ2MjM3MzI4Zjc3Mg==
2
+ SHA1:
3
+ metadata.gz: 50c8607f66d8e0850a55ed24081f20e1cae818bc
4
+ data.tar.gz: 451ddc3dcb68b31a4f1fdbaf1366cd359d9b72af
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- MDM3MWEyZmRhYzE2NGFjNDg1YTYyOGYwYmQ1NWM4MWQxYmZlNDkwNWVkNWEz
10
- OTY4MGUyZWEwZjY4M2Q3NWIyNGE2ZGMwNzI1ODRhNjQ1MDJiYmZmMTc4ZmZm
11
- OGJiOTI4YjJiNTMwYWUzMmQ1Njk2Mzc1MGQ3NGQ5OTgwYjQyMzU=
12
- data.tar.gz: !binary |-
13
- NzYwMWIyNjQzY2U5MTMzMWM3NmViYjlkNTRmZTE2ODc0ZDJjMWJkMGM0YTgz
14
- OWY5MThjYTg4YzhjZmQ2NDVkMjdmN2UxNTI5ZTI0NjNkYzFlYWNmYjFjZGU2
15
- ZTMzMjBmODc0OGZjZDg5M2VhNGUwZjkyNGVkYjcwNWUxNjExOGI=
6
+ metadata.gz: 70e742bb60e811197261e9732c9573044b79288c94e2696f8008cf09661d989082ee5403c180bb1b9e923e577a6d3f96822f169aa3f73535b06a833620af7dbd
7
+ data.tar.gz: 23af9da3eba9d1fb00cde18b530cac2bad63307a1cf240e1004435213cac9045febc32f48b2c31732798655d57287c3582a7156e7b36cbfd666b193ab47e3924
@@ -76,7 +76,7 @@ module GraphiteAPI
76
76
  data.map do |time, hash|
77
77
  hash.map do |key, value|
78
78
  value = cache.incr(time,key,value) if cache
79
- results = ["#{prefix}#{key}",("%.2f"%value).to_f, time]
79
+ results = ["#{prefix}#{key}",("%f"%value).to_f, time]
80
80
  format == :string ? results.join(" ") : results
81
81
  end
82
82
  end.flatten(1)
@@ -1,3 +1,3 @@
1
1
  module GraphiteAPI
2
- VERSION = "0.1.5"
2
+ VERSION = "0.1.6"
3
3
  end
metadata CHANGED
@@ -1,41 +1,41 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: graphite-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
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: 2014-10-27 00:00:00.000000000 Z
11
+ date: 2015-05-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: eventmachine
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ! '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: 0.3.3
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ! '>='
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: 0.3.3
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: zscheduler
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ! '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: 0.0.3
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ! '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: 0.0.3
41
41
  description: Graphite API - A Simple ruby client, aggregator daemon and API tools
@@ -72,17 +72,17 @@ require_paths:
72
72
  - lib
73
73
  required_ruby_version: !ruby/object:Gem::Requirement
74
74
  requirements:
75
- - - ! '>='
75
+ - - ">="
76
76
  - !ruby/object:Gem::Version
77
77
  version: 1.8.7
78
78
  required_rubygems_version: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ! '>='
80
+ - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  requirements: []
84
84
  rubyforge_project: graphite-api
85
- rubygems_version: 2.2.2
85
+ rubygems_version: 2.4.6
86
86
  signing_key:
87
87
  specification_version: 4
88
88
  summary: Graphite Ruby Client