vagrant-devcommands 0.7.0 → 0.7.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: 9c92cad09fd102f04af3040e3652d21942787743
4
- data.tar.gz: 6f76ac6ff0b4c852b5fa3a9e7419d22a42529c42
3
+ metadata.gz: d5ee9f0199422e98644aad8e3565eee99f0a377c
4
+ data.tar.gz: ae0304f6fc9f8cccb74c77ada99a43abb08a3783
5
5
  SHA512:
6
- metadata.gz: dc5cdabc09ff186bfceb197b3a47bb0100222771e979bf3bf6f596c1685cf7c2216997c294fff863aae382262aa1cc7ca4215bfda35bd5a2ae1b096d9a9be462
7
- data.tar.gz: 810924b466b73987ced9be2d413788eebd42b0fbc859d140f0df4e66dd61fcc2621e31ad209ca4a9fc67fe7d2913e27757402aab72d2c5880902167fd5154af8
6
+ metadata.gz: ea3a8bb6ca2b768c1ea3c9a6f1b00fd07d9647ffa8f0c8b3a5b50aa66d48de79446d3ef9df4abe90b5b3fa00654e8e9f60c3611143c0623814d3a18041ee0640
7
+ data.tar.gz: cd6bbefafdb65ee225b2d2fdbef0af2ebba0384c82756216e8ec198952a955b585cf0af0fdefae395e8896c85468d335b71749ba50f65bf7c9e72a0f88b13e06
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## v0.7.1 (2017-02-15)
4
+
5
+ - Bug fixes
6
+ - Wrapping of optional parameters should now properly be done only if
7
+ at least an empty string is defined as a default value
8
+
3
9
  ## v0.7.0 (2016-09-26)
4
10
 
5
11
  - Enhancements
@@ -77,7 +77,10 @@ module VagrantPlugins
77
77
  def wrap_option_values(options)
78
78
  @parameters.each do |key, conf|
79
79
  next if conf[:wrap].nil?
80
- next if options[key].nil? && conf[:default].nil?
80
+
81
+ if conf[:default].nil?
82
+ next if options[key].nil? || options[key].empty?
83
+ end
81
84
 
82
85
  options[key] = conf[:wrap] % options[key]
83
86
  end
@@ -1,6 +1,6 @@
1
1
  module VagrantPlugins
2
2
  # Defines the current plugin version
3
3
  module DevCommands
4
- VERSION = '0.7.0'.freeze
4
+ VERSION = '0.7.1'.freeze
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-devcommands
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marc Neudert
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-09-26 00:00:00.000000000 Z
11
+ date: 2017-02-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler