vagrant-plugins 0.2.0 → 0.2.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.
@@ -1,3 +1,7 @@
1
+ # v0.2.1
2
+
3
+ * fixes false positive feature detection for comfigs and commands
4
+
1
5
  # v0.2.0
2
6
 
3
7
  * Adds a verbose flag. Informs about plugin features such as "provides commands" or "action hook" etc.
@@ -46,9 +46,9 @@ module VagrantPlugininspection
46
46
  :hosts => !!plugin.data[:hosts],
47
47
  :guests => !!plugin.data[:guests],
48
48
  :provisioners => !!plugin.data[:provisioners],
49
- :commands => !!plugin.data[:command],
49
+ :commands => plugin.data[:command] && !plugin.command.to_hash.empty?,
50
50
  :action_hooks => !!plugin.data[:action_hooks],
51
- :configs => !!plugin.data[:config],
51
+ :configs => plugin.data[:config] && !plugin.config.to_hash.empty?,
52
52
  }) if options[:verbose]
53
53
 
54
54
  # return the plugins info Hash
@@ -1,3 +1,3 @@
1
1
  module VagrantPlugininspection
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-plugins
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: