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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6abeddb4d6ad7ff0bb932e242f024e1d2fb5ca24
4
- data.tar.gz: e6fc93ccaa63baf8d9e77a13b47850a47d835abe
3
+ metadata.gz: c7a0f11616b14245cfb8ab6eb7a58edc3792146a
4
+ data.tar.gz: 3fc23c6461352fdff08eda2bbb4dbf2c9f1797bf
5
5
  SHA512:
6
- metadata.gz: 9faec00c67982ea678dd873372cf79a06840ed0c01508838424a851e4d3eaa8defd009f5e02332e4f3b0f00ba09494b5752146e3f009f7c74e061df0448de4f7
7
- data.tar.gz: 011a2f9302605fbb85417ee4fcc904bcdd35081c75f506a90763960e0c154096621f7c3dd26f92b068359d4ed8887e73955fa0ff90c2ad3fd8b04b30f912ce44
6
+ metadata.gz: 89047aa5d535b92ca244874c6a2ec382ab40ddfd521526b0e571204b6ed8d0436edbffd2bebcc839651f80b52495e007ac07fb1575de3d09183b54a043286a56
7
+ data.tar.gz: 441dde9f2241d9dcfeea9ff31f00a8dacfad885be27c98c19d895f89e42fd3d66b7a6a605468596cb6fcc5f1e2cd128eb391b0f4c2f3cc515c8631450ee63319
@@ -1,3 +1,3 @@
1
1
  class UpcloudApi
2
- VERSION = "1.1.0-rc1"
2
+ VERSION = "1.1.0"
3
3
  end
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.pre.rc1
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: 1.3.1
53
+ version: '0'
54
54
  requirements: []
55
55
  rubyforge_project:
56
56
  rubygems_version: 2.4.6