fog-softlayer 0.3.19 → 0.3.20
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/fog-softlayer.gemspec +1 -0
- data/lib/fog/softlayer/core.rb +8 -1
- data/lib/fog/softlayer/version.rb +1 -1
- metadata +15 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
YmFkNzcyMWQ3ZGQxMmIxZDVlZWRkZWFiMjgzMmM4ZjgxMDQ4Nzg0OQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
OWQ5Nzk5YjdhMDhhZjNlNzViZjI1OGNkNTBkNWRlYWQxMTQ1MTA3ZQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MTM1ODk4MmM4MzAxZWViNTk1NzczYzA2Y2U4NGFkNGEyNTM3ZjRiNmI5MTYx
|
10
|
+
ZTdjYmI0Yzk5OTYzMDIyMWNkNjY4NGNlOTAyN2UxNjAyOWQxNDI5N2Q1ZGI2
|
11
|
+
NTE0OGRjMzJkODRkZmEyMWYwMjJlMWI0M2VkYzFmZmZhMGE2MTk=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NGYzOWQ2ZWIxYjMzYjlhYWIxOTM3N2Y2YjRkYTVlZGRlMThlNWYxNzE1ZDcx
|
14
|
+
MTcwZDUwNDUwNTllOTA3NGNkMzExMDcyZDQ3NDY3ZWQxMTNkOGFiZGVlMDY0
|
15
|
+
ODcwNGFmNzczNDdiMzA3MjRmMTFmYjMwOWMwOWE0OTlkNmUwMTY=
|
data/fog-softlayer.gemspec
CHANGED
@@ -32,5 +32,6 @@ Gem::Specification.new do |spec|
|
|
32
32
|
spec.add_development_dependency('shindo', '~> 0.3.4')
|
33
33
|
spec.add_development_dependency('fission')
|
34
34
|
spec.add_development_dependency('pry')
|
35
|
+
spec.add_development_dependency('pry-debugger')
|
35
36
|
spec.add_development_dependency('osrcry')
|
36
37
|
end
|
data/lib/fog/softlayer/core.rb
CHANGED
@@ -59,7 +59,14 @@ module Fog
|
|
59
59
|
body = options[:body]
|
60
60
|
end
|
61
61
|
|
62
|
-
|
62
|
+
unless options[:body].nil?
|
63
|
+
# SLAPI reloadOperatingSystem appears to want a different format for the body than any other method...
|
64
|
+
if path =~ /reload/i and path =~ /operating/i and path =~ /system/i
|
65
|
+
params[:body] = Fog::JSON.encode({:parameters => body})
|
66
|
+
else
|
67
|
+
params[:body] = Fog::JSON.encode({:parameters => [body]})
|
68
|
+
end
|
69
|
+
end
|
63
70
|
params[:query] = options[:query] unless options[:query].nil?
|
64
71
|
|
65
72
|
# initialize connection object
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fog-softlayer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.20
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Eldridge
|
@@ -164,6 +164,20 @@ dependencies:
|
|
164
164
|
- - ! '>='
|
165
165
|
- !ruby/object:Gem::Version
|
166
166
|
version: '0'
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
name: pry-debugger
|
169
|
+
requirement: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - ! '>='
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: '0'
|
174
|
+
type: :development
|
175
|
+
prerelease: false
|
176
|
+
version_requirements: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
178
|
+
- - ! '>='
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: '0'
|
167
181
|
- !ruby/object:Gem::Dependency
|
168
182
|
name: osrcry
|
169
183
|
requirement: !ruby/object:Gem::Requirement
|