profitbricks 0.9.0 → 0.9.1

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ === 0.9.1 / 2012-05-16
2
+
3
+ * 1 bug fix:
4
+
5
+ * Passing the data_center_id when running Server.create, #fixes 6
6
+
1
7
  === 0.9.0 / 2012-04-12
2
8
 
3
9
  * 1 major enhancement:
data/lib/profitbricks.rb CHANGED
@@ -13,7 +13,7 @@ require 'profitbricks/firewall'
13
13
  require 'profitbricks/rule'
14
14
 
15
15
  module Profitbricks
16
- VERSION = '0.9.0'
16
+ VERSION = '0.9.1'
17
17
  end
18
18
 
19
19
  PB = Profitbricks
@@ -58,7 +58,7 @@ module Profitbricks
58
58
  raise ArgumentError.new(":os_type has to be either 'WINDOWS' or 'OTHER'") if options[:os_type] and !['WINDOWS', 'OTHER'].include? options[:os_type]
59
59
  xml = "<arg0>"
60
60
  xml += get_xml_and_update_attributes options,
61
- [:cores, :ram, :name, :boot_from_storage_id, :boot_from_image_id, :os_type, :internet_access, :lan_id]
61
+ [:cores, :ram, :name, :boot_from_storage_id, :boot_from_image_id, :os_type, :internet_access, :lan_id, :data_center_id]
62
62
  xml += "</arg0>"
63
63
  response = Profitbricks.request :create_server, xml
64
64
  self.find(:id => response.to_hash[:create_server_return][:return][:server_id])
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: profitbricks
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.9.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-04-12 00:00:00.000000000 Z
12
+ date: 2012-05-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: savon
16
- requirement: &16481560 !ruby/object:Gem::Requirement
16
+ requirement: &21861220 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *16481560
24
+ version_requirements: *21861220
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: rdoc
27
- requirement: &16480040 !ruby/object:Gem::Requirement
27
+ requirement: &21860740 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '3.10'
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *16480040
35
+ version_requirements: *21860740
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: hoe
38
- requirement: &16478660 !ruby/object:Gem::Requirement
38
+ requirement: &21860300 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ~>
@@ -43,7 +43,7 @@ dependencies:
43
43
  version: '3.0'
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *16478660
46
+ version_requirements: *21860300
47
47
  description: A Ruby client for the ProfitBricks API.
48
48
  email:
49
49
  - git@dsander.de