fog 0.0.18 → 0.0.19

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.18
1
+ 0.0.19
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{fog}
8
- s.version = "0.0.18"
8
+ s.version = "0.0.19"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["geemus (Wesley Beary)"]
@@ -27,8 +27,10 @@ module Fog
27
27
  end
28
28
 
29
29
  def save
30
- options = { :metadata => @metadata, :name => @name, :personality => @personality }
30
+ options = { 'metadata' => @metadata, 'name' => @name, 'personality' => @personality }
31
31
  options = options.reject {|key, value| value.nil?}
32
+ p @personality
33
+ p options
32
34
  data = connection.create_server(@flavor_id, @image_id, options)
33
35
  merge_attributes(data.body['server'])
34
36
  true
@@ -56,6 +56,7 @@ unless Fog.mocking?
56
56
  }
57
57
  end
58
58
  end
59
+ p data
59
60
  request(
60
61
  :body => data.to_json,
61
62
  :expects => 202,
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fog
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.18
4
+ version: 0.0.19
5
5
  platform: ruby
6
6
  authors:
7
7
  - geemus (Wesley Beary)