openstack 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
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: