rackspace-monitoring 0.2.6 → 0.2.7
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/VERSION +1 -1
- data/lib/rackspace-monitoring.rb +1 -2
- data/lib/rackspace-monitoring/monitoring/requests/create_agent_token.rb +1 -1
- data/lib/rackspace-monitoring/monitoring/requests/create_alarm.rb +1 -1
- data/lib/rackspace-monitoring/monitoring/requests/create_check.rb +1 -1
- data/lib/rackspace-monitoring/monitoring/requests/create_entity.rb +1 -1
- data/lib/rackspace-monitoring/monitoring/requests/evaluate_alarm_example.rb +1 -1
- data/lib/rackspace-monitoring/monitoring/requests/update_check.rb +1 -1
- data/lib/rackspace-monitoring/monitoring/requests/update_entity.rb +1 -1
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.7
|
data/lib/rackspace-monitoring.rb
CHANGED
@@ -1,6 +1,5 @@
|
|
1
1
|
require 'fog'
|
2
2
|
require 'fog/core'
|
3
|
-
require 'json'
|
4
3
|
|
5
4
|
module Fog
|
6
5
|
module Monitoring
|
@@ -119,7 +118,7 @@ module Fog
|
|
119
118
|
end
|
120
119
|
end
|
121
120
|
unless response.body.empty?
|
122
|
-
response.body = JSON.
|
121
|
+
response.body = JSON.decode(response.body)
|
123
122
|
end
|
124
123
|
response
|
125
124
|
rescue Exception => error
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rackspace-monitoring
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 25
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 0.2.
|
9
|
+
- 7
|
10
|
+
version: 0.2.7
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Dan Di Spaltro
|