fog-rackspace 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -1
- data/lib/fog/rackspace/models/compute_v2/server.rb +7 -0
- data/lib/fog/rackspace/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3bbb3eaeb194fdab4983abc4f1fa03f8f7f75685
|
4
|
+
data.tar.gz: 879d01586711d6138f903eaa4286e2d2748cf2d4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 72d607d7cfdda502a8cc2903f8ce23fdf576b8f48df6fb4363dbf24c9b229fec33a37c65bf25afb2f33351262514e1054335ba07c8da6fc42996dd4aecf17351
|
7
|
+
data.tar.gz: 85ad10185a1fb69bdd3f0d4e54e464074ab9ebbb7d8abb7b8586fd7f27e2eb40e86709b3e1c44a15f98abbbcef7be527cecc0f81575e23e00930915c3aa53fc2
|
data/.gitignore
CHANGED
@@ -271,6 +271,13 @@ module Fog
|
|
271
271
|
modified_options[:boot_image_id] ||= attributes[:boot_image_id]
|
272
272
|
modified_options[:boot_volume_size] ||= attributes[:boot_volume_size]
|
273
273
|
|
274
|
+
if mn = modified_options[:networks]
|
275
|
+
# If we've already processed it into the correct form don't process again.
|
276
|
+
unless mn.first.is_a?(Hash)
|
277
|
+
modified_options[:networks].map! { |id| { :uuid => id } }
|
278
|
+
end
|
279
|
+
end
|
280
|
+
|
274
281
|
data = service.create_server(name, image_id, flavor_id, 1, 1, modified_options)
|
275
282
|
merge_attributes(data.body['server'])
|
276
283
|
true
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fog-rackspace
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Darby
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-04-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -948,7 +948,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
948
948
|
version: '0'
|
949
949
|
requirements: []
|
950
950
|
rubyforge_project:
|
951
|
-
rubygems_version: 2.
|
951
|
+
rubygems_version: 2.2.2
|
952
952
|
signing_key:
|
953
953
|
specification_version: 4
|
954
954
|
summary: Rackspace support for Fog
|