ocp 0.0.7 → 0.0.8
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.
- checksums.yaml +4 -4
- data/lib/client/OcpClient.rb +2 -2
- data/lib/config/OcpConfig.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b6499e60008edcff71bd1da312455b92ab8c7c2e
|
4
|
+
data.tar.gz: 4bc6307e64aef76dcf294c34fca7e90a95f7c396
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 93c7b8800b9cdabd6ac499ce9ea3cbbeae3d76f38fabb21af6fc077d43a7911a39c25c958446714df76dd44cafa7e84167838b7b8abd9b505a79cf4111c51a01
|
7
|
+
data.tar.gz: bad4a6e50d3a894b92d4bd22062b23675da8c20445420e33fbc01539982fc1867d17e27bccae934ba83a473856e21641b1420e45d80b3b3712e133274cc51657
|
data/lib/client/OcpClient.rb
CHANGED
@@ -142,7 +142,7 @@ class OcpClient
|
|
142
142
|
puts "Client Cert - #{@clientcert}"
|
143
143
|
puts "Client Key - #{@clientkey}"
|
144
144
|
puts "CA File - #{@clientcafile}"
|
145
|
-
puts "URL - #{@url}
|
145
|
+
puts "URL - #{@url}#{location}"
|
146
146
|
puts "Method - #{method}"
|
147
147
|
end
|
148
148
|
|
@@ -173,7 +173,7 @@ class OcpClient
|
|
173
173
|
).execute
|
174
174
|
end
|
175
175
|
rescue => exception
|
176
|
-
if @debug
|
176
|
+
if @debug and !exception.nil?
|
177
177
|
puts "Exception: " << exception.response
|
178
178
|
end
|
179
179
|
return exception.response.code
|
data/lib/config/OcpConfig.rb
CHANGED