vagrant-puppetfile 0.3.0 → 0.3.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8761f1af7bc1c83e86d12993be22e5520c049069
4
- data.tar.gz: 3467da7324d67e7dac0d1c42013b2c198ac0a47e
3
+ metadata.gz: c916261b2d2647f4f3437eb35a7da808f3b4a55d
4
+ data.tar.gz: 45a8f76b44327825869b71869a12f88190287d37
5
5
  SHA512:
6
- metadata.gz: a2ec4e586cf490120233b69e30d1e014a3c1f137708c3c6395917c503a84c6225f538f38326dd4cfaa9b1c3d3a162d41d4794b9e63c4838f50ac34742ffbef3f
7
- data.tar.gz: 413429affbd4b8f0cd4f93fff66a813421ba0091d8c8fb9c0310cacbb14dfb2734bc62f910c474d7a1af909ff22236faef668fc26a44a097ba5804d331f2a41e
6
+ metadata.gz: f98ab16b73ff66f6f742b8a30dc6c11e2689f64b33aa15b27e60971af84488530074e30ddd710515f1bb42cc85c18c68eb739c8a8b0d29a43e3c4d933879ee7e
7
+ data.tar.gz: 159fdbfb79d554ac9937730e5275d310149370d25d284939adf401f026607c0cb1f987f8e30ebd7dacc10ccddde7d65ab2ef3b2728ffb660b66b02b23ad1cf10
@@ -21,6 +21,6 @@
21
21
  module Vagrant
22
22
  module Puppetfile
23
23
  NAME = 'vagrant-puppetfile'
24
- VERSION = '0.3.0'
24
+ VERSION = '0.3.1'
25
25
  end
26
26
  end
@@ -125,6 +125,10 @@ module Vagrant
125
125
  end
126
126
 
127
127
  def mod(name, version = :latest, options = {})
128
+ if version.is_a?(Hash)
129
+ options, version = version, :latest
130
+ end
131
+
128
132
  unless options.is_a?(Hash) and options.empty?
129
133
  unsupported options, 'mod', name, version, options
130
134
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-puppetfile
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Evan Hanson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-11-23 00:00:00.000000000 Z
11
+ date: 2017-03-15 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Automatically installs puppet modules from a Puppetfile during Vagrant
14
14
  provisioning