openstack 1.0.2 → 1.0.3

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.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.2
1
+ 1.0.3
@@ -64,7 +64,7 @@ module Compute
64
64
  @image = data["image"]
65
65
  @flavor = data["flavor"]
66
66
  @key_name = data["key_name"] # if provider uses the keys API extension for accessing servers
67
- @security_groups = data["security_groups"].inject([]){|res, c| res << c["id"] ; res}
67
+ @security_groups = (data["security_groups"] || []).inject([]){|res, c| res << c["id"] ; res}
68
68
  true
69
69
  end
70
70
  alias :refresh :populate
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openstack
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: