vagrant_cloud 3.1.2 → 3.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/vagrant_cloud/auth.rb +1 -1
- data/lib/vagrant_cloud/client.rb +12 -8
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: acd68a761935613927658ed6c4391adec7d25facf5a3bb96494a5b49ec01d113
|
4
|
+
data.tar.gz: c4c860dfb5e5a90ead11c6de2b99a011433931e938cb74046774a5767ba5890e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b3a642b17a68b8cc16429a1aedde0c8a2e641a231840c28e35c80dea6fba7d6e694968c38a0314113f859ab16e87a6a2c90da7516c02c9095c791ba5fea44338
|
7
|
+
data.tar.gz: 7a4964ab768aeb073d2d1882eee63c1bd6f70c07aa4c87f473724c6816fcc5a8c64f372e30262bf16444cb3c98fea1496247d130af5c85f609979dc850766258
|
data/lib/vagrant_cloud/auth.rb
CHANGED
data/lib/vagrant_cloud/client.rb
CHANGED
@@ -292,11 +292,13 @@ module VagrantCloud
|
|
292
292
|
# @return [Hash] box information
|
293
293
|
def box_create(username:, name:, short_description: Data::Nil, description: Data::Nil, is_private: Data::Nil)
|
294
294
|
request(method: :post, path: '/boxes', params: {
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
295
|
+
box: {
|
296
|
+
username: username,
|
297
|
+
name: name,
|
298
|
+
short_description: short_description,
|
299
|
+
description: description,
|
300
|
+
is_private: is_private
|
301
|
+
}
|
300
302
|
})
|
301
303
|
end
|
302
304
|
|
@@ -310,9 +312,11 @@ module VagrantCloud
|
|
310
312
|
# @return [Hash] box information
|
311
313
|
def box_update(username:, name:, short_description: Data::Nil, description: Data::Nil, is_private: Data::Nil)
|
312
314
|
params = {
|
313
|
-
|
314
|
-
|
315
|
-
|
315
|
+
box: {
|
316
|
+
short_description: short_description,
|
317
|
+
description: description,
|
318
|
+
is_private: is_private
|
319
|
+
}
|
316
320
|
}
|
317
321
|
request(method: :put, path: "/box/#{username}/#{name}", params: params)
|
318
322
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant_cloud
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.1.
|
4
|
+
version: 3.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- HashiCorp
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2025-03-28 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: excon
|
@@ -157,7 +157,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
157
157
|
- !ruby/object:Gem::Version
|
158
158
|
version: '0'
|
159
159
|
requirements: []
|
160
|
-
rubygems_version: 3.3.
|
160
|
+
rubygems_version: 3.3.27
|
161
161
|
signing_key:
|
162
162
|
specification_version: 4
|
163
163
|
summary: Vagrant Cloud API Library
|