pingdom-client 0.0.0.alpha → 0.0.1.alpha
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.
- data/lib/pingdom-client.rb +2 -2
- data/pingdom-client.gemspec +1 -1
- metadata +5 -5
data/lib/pingdom-client.rb
CHANGED
|
@@ -352,8 +352,8 @@ module Pingdom
|
|
|
352
352
|
}
|
|
353
353
|
|
|
354
354
|
def self.parse(client, response)
|
|
355
|
-
body = super
|
|
356
|
-
interval = body.keys.detect{ |k| INTERVALS.keys.include?(k.to_s) }.to_sym
|
|
355
|
+
body = super[:summary]
|
|
356
|
+
interval = body.keys.detect{ |k| INTERVALS.keys.include?(k.chomp('s').to_s) }.chomp('s').to_sym
|
|
357
357
|
intervals = body[interval]
|
|
358
358
|
|
|
359
359
|
intervals.map do |perf|
|
data/pingdom-client.gemspec
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pingdom-client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash: -
|
|
5
|
-
prerelease:
|
|
4
|
+
hash: -1851332166
|
|
5
|
+
prerelease: 6
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 0
|
|
9
|
-
-
|
|
9
|
+
- 1
|
|
10
10
|
- alpha
|
|
11
|
-
version: 0.0.
|
|
11
|
+
version: 0.0.1.alpha
|
|
12
12
|
platform: ruby
|
|
13
13
|
authors:
|
|
14
14
|
- Matt Todd
|
|
@@ -194,7 +194,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
194
194
|
requirements: []
|
|
195
195
|
|
|
196
196
|
rubyforge_project:
|
|
197
|
-
rubygems_version: 1.
|
|
197
|
+
rubygems_version: 1.5.2
|
|
198
198
|
signing_key:
|
|
199
199
|
specification_version: 3
|
|
200
200
|
summary: Pingdom Ruby Client
|