vagrant_cloud 3.0.2 → 3.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/vagrant_cloud/box.rb +1 -1
  4. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d18cd817a0a9b3c10c3e1b16a0e7738ed92ea93b8b94e660fa3bfc4a1d66d14f
4
- data.tar.gz: ad5d13564800b261a3144ab156d54de6c051623b57980416fa22522fa0bc0dec
3
+ metadata.gz: 55d7fcdea9fcf541172b4cd77cdea187ffaee1e69f3225f041c6a2f755cc2fc4
4
+ data.tar.gz: 93aa4d218616b29168b754df97b5e71ce88a1024a45fee9ef7ae6254eca1ac33
5
5
  SHA512:
6
- metadata.gz: 55b01997babffc39900b35462c455df7d9bae1a6e9c3cf192b15f5d6d8de2b394ab82fee02a3e16ebfc163dc45930b36d26b2ca2d45ecea6ca74af9026863481
7
- data.tar.gz: 154a11bbd5d86adde19251aa8da1e3da4441803a4c1fd2a59f5a86193218f3cefb676c4d3d7320c8d01608260388874a321993a0eb34e38ca137682c1ab2c06e
6
+ metadata.gz: 5d5e2db7d741581a1382843a3d17814a0ef4cfc184aff4528c8c2ff5d208665f24f4c93060b39133ca79b3594a0528f9f91f2b5d88a609535ee774c0e21290d3
7
+ data.tar.gz: f22af98f8b40ccf7a72ea45e61c5ee21d86168ade0e25da750fbe6a909c9268b8a1c5336ae90625af31f857a6145dd4bcbb95f489ab2c52540199638198b6936
data/README.md CHANGED
@@ -104,7 +104,7 @@ require "vagrant_cloud"
104
104
 
105
105
  account = VagrantCloud::Account.new(access_token: "MY_TOKEN")
106
106
  org = account.organization(name: "hashicorp")
107
- box = org.boxes.select { |b| b.name == "bionic64" }
107
+ box = org.boxes.detect { |b| b.name == "bionic64" }
108
108
 
109
109
  puts "Box: #{box[:tag]} Description: #{box[:description]}"
110
110
  ```
@@ -108,8 +108,8 @@ module VagrantCloud
108
108
  #
109
109
  # @return [self]
110
110
  def save
111
- save_versions if dirty?(deep: true)
112
111
  save_box if dirty?
112
+ save_versions if dirty?(deep: true)
113
113
  self
114
114
  end
115
115
 
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.0.2
4
+ version: 3.0.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: 2020-10-30 00:00:00.000000000 Z
12
+ date: 2021-02-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: excon
@@ -128,7 +128,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
128
128
  - !ruby/object:Gem::Version
129
129
  version: '0'
130
130
  requirements: []
131
- rubygems_version: 3.1.4
131
+ rubygems_version: 3.2.3
132
132
  signing_key:
133
133
  specification_version: 4
134
134
  summary: Vagrant Cloud API Library