rackspace-monitoring 0.1.4 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +1 -1
- data/README.rdoc +1 -1
- data/VERSION +1 -1
- data/lib/rackspace-monitoring.rb +2 -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 +7 -7
data/Gemfile
CHANGED
@@ -2,7 +2,7 @@ source "http://rubygems.org"
|
|
2
2
|
# Add dependencies required to use your gem here.
|
3
3
|
# Example:
|
4
4
|
# gem "activesupport", ">= 2.3.5"
|
5
|
-
gem "fog", "
|
5
|
+
gem "fog", "= 0.7.0"
|
6
6
|
|
7
7
|
# Add dependencies to develop your gem here.
|
8
8
|
# Include everything needed to run rake, tests, features, etc.
|
data/README.rdoc
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
= Rackspace Cloud Monitoring Ruby Bindings
|
2
2
|
|
3
|
-
This project contains the Ruby bindings for the Rackspace Cloud Monitoring product.
|
3
|
+
This project contains the Ruby bindings for the Rackspace Cloud Monitoring product. It is based off the most awesome Fog cloud services library here - https://github.com/fog/fog. This library is used heavily in the https://github.com/racker/cookbooks/tree/master/cloud_monitoring chef cookbook.
|
4
4
|
|
5
5
|
== Contributing
|
6
6
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.2.0
|
data/lib/rackspace-monitoring.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
require 'fog/core'
|
2
2
|
require 'fog/rackspace'
|
3
|
-
require '
|
3
|
+
require 'json'
|
4
4
|
|
5
5
|
module Fog
|
6
6
|
module Monitoring
|
@@ -103,7 +103,7 @@ module Fog
|
|
103
103
|
end
|
104
104
|
end
|
105
105
|
unless response.body.empty?
|
106
|
-
response.body =
|
106
|
+
response.body = JSON.parse(response.body)
|
107
107
|
end
|
108
108
|
response
|
109
109
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rackspace-monitoring
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,24 +9,24 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-06-
|
12
|
+
date: 2012-06-20 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: fog
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
|
-
- -
|
19
|
+
- - '='
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version:
|
21
|
+
version: 0.7.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
25
|
none: false
|
26
26
|
requirements:
|
27
|
-
- -
|
27
|
+
- - '='
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version:
|
29
|
+
version: 0.7.0
|
30
30
|
- !ruby/object:Gem::Dependency
|
31
31
|
name: shoulda
|
32
32
|
requirement: !ruby/object:Gem::Requirement
|
@@ -154,7 +154,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
154
154
|
version: '0'
|
155
155
|
segments:
|
156
156
|
- 0
|
157
|
-
hash:
|
157
|
+
hash: 1535680177378005739
|
158
158
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
159
159
|
none: false
|
160
160
|
requirements:
|