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 +4 -4
- data/CHANGELOG.textile +3 -0
- data/lib/softlayer/BareMetalServerOrder_Package.rb +2 -2
- data/lib/softlayer/base.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4936c19f8a711d7babe49535dca28e149bd7ad43
|
4
|
+
data.tar.gz: 667178b6fc03102b85bb25275308720b50712af5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
data/lib/softlayer/base.rb
CHANGED
@@ -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.
|
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.
|
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-
|
11
|
+
date: 2014-09-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: configparser
|