vagrant-mutate 1.0.0 → 1.0.1

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: 0f11d1d281c5163c1fb94808679865f70fdc064e
4
- data.tar.gz: eb2f7a13d0d995e1bfb4bd8118341c7a8e66222e
3
+ metadata.gz: f06fc73611de7264e75ab5119ee342a81a801c59
4
+ data.tar.gz: 1fb41c5d86fe2ca5fe26037c24f45f85c193217a
5
5
  SHA512:
6
- metadata.gz: 96f137bd296afdfbcc8c5c12ef19dc966bc73ebc291abd1e88c45e26e2292940a01f52b3263193197bbb16c368ac64ad1a761234d06909c996ebd7dbb0e6055c
7
- data.tar.gz: d8ff920d3b9c5d818b0b57179bf74382cb5c02972f2b609046e616edfee738447c07c57e5452742d863f9c4453c2a78d4344b9f68a3413d10699fffe7c41bf1d
6
+ metadata.gz: c242373022383aeef9a6859c1d7ac178ce6df64feb6e71afb49b082b9967d4fc4a742456b581a6b228afcf3e94ddd1a874b00a90c30f8fccb9e27d74aa348bbd
7
+ data.tar.gz: 2faa8fd60c73f6f92839847a1bd1a593e4f713e118b8205e3408a43d3dec860d81f02d5019a00e6e1dbe8587925bc14ccb1bce3ee1f632fb99e0f2ffb2c406f8
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ # 1.0.1 (2015-08-16)
2
+ * Throw error during version search when missing box (#72)
3
+
1
4
  # 1.0.0 (2015-05-20)
2
5
  * Support versioned boxes (#51)
3
6
  * Support boxes with slash in name (#52)
@@ -274,9 +274,11 @@ module VagrantMutate
274
274
  if possible_versions.length > 1
275
275
  @logger.info 'Got multiple possible versions, selecting max value'
276
276
  version = possible_versions.max
277
- else
277
+ elsif possible_versions.length == 1
278
278
  @logger.info 'Got a single version, so returning it'
279
279
  version = possible_versions.first
280
+ else
281
+ fail Errors::BoxNotFound, box: name
280
282
  end
281
283
 
282
284
  @logger.info "Found version #{version}"
@@ -1,3 +1,3 @@
1
1
  module VagrantMutate
2
- VERSION = '1.0.0'
2
+ VERSION = '1.0.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-mutate
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Pitts
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-05-21 00:00:00.000000000 Z
11
+ date: 2015-08-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler