softlayer_api 2.2.0 → 2.2.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 05bc26a020b1873a59356b3f2fd700cf9179e6ee
4
- data.tar.gz: b4e61f95ed3f0e01cd9a98e5fddb3a19c6b52ff5
3
+ metadata.gz: 4936c19f8a711d7babe49535dca28e149bd7ad43
4
+ data.tar.gz: 667178b6fc03102b85bb25275308720b50712af5
5
5
  SHA512:
6
- metadata.gz: dc7368ecd4e5794452f828071825a957296eb5934856d54d522fa31835234ebf550c9ede65706a534764fdb86396cda7c7eea2a38c1ef991fc0d8ae9561bcfa0
7
- data.tar.gz: 992295885ea1fd4f30c064ecf10c5ef53220e373ee4e071ec84f7f0db20ac7582238573761b80168e744aee7d4f72238014898cd3f1fe8e96401201cc17f9502
6
+ metadata.gz: 47cc499fad6bc36db67a9f1380f74119cfa9ade88f02025df3886c80d08c045c6ebf1a69944f4e63a3f6c981487b201ca8a08c217ef6273cc077805e1bb35d24
7
+ data.tar.gz: 1636e72268665d211546f1e78ead56082950662d2abea19bb9de0920029da4133fd598f06984a13f842ad8d9ab3c6b3d6c44de428a70f3f8c1c182e170a0e590
data/CHANGELOG.textile CHANGED
@@ -1,3 +1,6 @@
1
+ *2.2.2*
2
+ * Fixed a bug in BareMetalServerOrder_Package.rb where the order template did not use an array for the "hardware" key. This lead to an order template that would be accepted by verifyOrder, but rejected by placeOrder. An internal issue to review verifyOrder has also been generated. (reported by Rohit Singh)
3
+
1
4
  *2.2*
2
5
  * Added the ability to set a timout for network requests. The timeout is given when a client is created by passing the :timeout hash parameter when creating a client. The value of the parameter is an integer number of seconds.
3
6
  * Fixed a bug in VirtualServer#capture_image
@@ -133,10 +133,10 @@ module SoftLayer
133
133
  product_order = {
134
134
  'packageId' => @package.id,
135
135
  'useHourlyPricing' => false,
136
- 'hardware' => {
136
+ 'hardware' => [{
137
137
  'hostname' => @hostname,
138
138
  'domain' => @domain
139
- }
139
+ }]
140
140
  }
141
141
 
142
142
  product_order['location'] = @package.location_id_for_datacenter_name(@datacenter.downcase) if @datacenter
@@ -31,7 +31,7 @@ require 'rubygems'
31
31
  # - +$SL_API_BASE_URL+- The default URL used to access the SoftLayer API. This defaults to the value of +SoftLayer::API_PUBLIC_ENDPOINT+
32
32
  #
33
33
  module SoftLayer
34
- VERSION = "2.2.0" # version history in the CHANGELOG.textile file at the root of the source
34
+ VERSION = "2.2.2" # version history in the CHANGELOG.textile file at the root of the source
35
35
 
36
36
  # The base URL of the SoftLayer API available to the public internet.
37
37
  API_PUBLIC_ENDPOINT = 'https://api.softlayer.com/xmlrpc/v3/'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: softlayer_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.0
4
+ version: 2.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - SoftLayer Development Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-06 00:00:00.000000000 Z
11
+ date: 2014-09-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: configparser