rackspace-monitoring 0.2.10 → 0.2.11
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/rackspace-monitoring.rb +13 -4
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.11
|
data/lib/rackspace-monitoring.rb
CHANGED
@@ -67,15 +67,24 @@ module Fog
|
|
67
67
|
@connection_options = options[:connection_options] || {}
|
68
68
|
|
69
69
|
if options.has_key?("raise_errors")
|
70
|
-
|
70
|
+
@raise_errors = options[:raise_errors]
|
71
71
|
else
|
72
|
-
|
72
|
+
@raise_errors = true
|
73
|
+
end
|
74
|
+
|
75
|
+
begin
|
76
|
+
authenticate
|
77
|
+
rescue Exception => error
|
78
|
+
raise_error(error)
|
73
79
|
end
|
74
80
|
|
75
|
-
authenticate
|
76
81
|
@persistent = options[:persistent] || false
|
77
82
|
|
78
|
-
|
83
|
+
begin
|
84
|
+
@connection = Fog::Connection.new("#{@scheme}://#{@host}:#{@port}", @persistent, @connection_options)
|
85
|
+
rescue Exception => error
|
86
|
+
raise_error(error)
|
87
|
+
end
|
79
88
|
end
|
80
89
|
|
81
90
|
def reload
|
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: 1
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 0.2.
|
9
|
+
- 11
|
10
|
+
version: 0.2.11
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Dan Di Spaltro
|