upcloud_api 1.1.0.pre.rc1 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/upcloud_api/version.rb +1 -1
- data/lib/upcloud_api.rb +3 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c7a0f11616b14245cfb8ab6eb7a58edc3792146a
|
4
|
+
data.tar.gz: 3fc23c6461352fdff08eda2bbb4dbf2c9f1797bf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 89047aa5d535b92ca244874c6a2ec382ab40ddfd521526b0e571204b6ed8d0436edbffd2bebcc839651f80b52495e007ac07fb1575de3d09183b54a043286a56
|
7
|
+
data.tar.gz: 441dde9f2241d9dcfeea9ff31f00a8dacfad885be27c98c19d895f89e42fd3d66b7a6a605468596cb6fcc5f1e2cd128eb391b0f4c2f3cc515c8631450ee63319
|
data/lib/upcloud_api/version.rb
CHANGED
data/lib/upcloud_api.rb
CHANGED
@@ -80,7 +80,8 @@ class UpcloudApi
|
|
80
80
|
# {
|
81
81
|
# "action" => "clone" # Can be "create", "clone" or "attach"
|
82
82
|
# "storage" => template_uuid, # Should be passed only for "clone" or "attach"
|
83
|
-
# "title" => disk_name # Name of the storage
|
83
|
+
# "title" => disk_name # Name of the storage,
|
84
|
+
# "tier" => "maxiops" # No sense using HDD any more
|
84
85
|
# }
|
85
86
|
#
|
86
87
|
# Returns HTTParty response
|
@@ -92,7 +93,7 @@ class UpcloudApi
|
|
92
93
|
"hostname" => hostname,
|
93
94
|
"core_number" => core_number,
|
94
95
|
"memory_amount" => memory_amount,
|
95
|
-
"storage_devices" => storage_devices
|
96
|
+
"storage_devices" => { "storage_device" => storage_devices }
|
96
97
|
}
|
97
98
|
}
|
98
99
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: upcloud_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.0
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samu Voutilainen
|
@@ -48,9 +48,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
48
48
|
version: '0'
|
49
49
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
50
50
|
requirements:
|
51
|
-
- - "
|
51
|
+
- - ">="
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version:
|
53
|
+
version: '0'
|
54
54
|
requirements: []
|
55
55
|
rubyforge_project:
|
56
56
|
rubygems_version: 2.4.6
|