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.
@@ -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|
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = %q{pingdom-client}
3
- s.version = "0.0.0.alpha"
3
+ s.version = "0.0.1.alpha"
4
4
 
5
5
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
6
6
  s.authors = ["Matt Todd"]
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: -1851332162
5
- prerelease: true
4
+ hash: -1851332166
5
+ prerelease: 6
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 0
9
+ - 1
10
10
  - alpha
11
- version: 0.0.0.alpha
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.3.7
197
+ rubygems_version: 1.5.2
198
198
  signing_key:
199
199
  specification_version: 3
200
200
  summary: Pingdom Ruby Client