vagrant-devcommands 0.4.1 → 0.4.2

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: d05feef626b27e4a5a1ee5a2c0f7ba7ef9a5414e
4
- data.tar.gz: 2dec0c91604981ae7785442dd78b698f686e01cd
3
+ metadata.gz: 3fcb38ef1de935682eb7936180d0751237b8af1a
4
+ data.tar.gz: a43fd04b478b34cee2d0526803493b3ab122e8ed
5
5
  SHA512:
6
- metadata.gz: de2c4f6b8506f713c50ff0bca456b8b2f1196654f39a2ca40eff479eeaffd38629329208538c8363830823ae8c7ec26e2afe272153c36509e88e1b1d276f8adc
7
- data.tar.gz: f8c4de9397de1861847b16e6aefb5b493c1a87f9c957742d137c7cde46488d158e9f1ef4e6c743fccf1193c4cbddf4e33a1ab45a57887b67c3b68ef4f15faef0
6
+ metadata.gz: 192a3deea7cfee00afb89e743efc3556e0cba8b9c252c1092e68f089c8a551622d20899c6576b5bfdf02f670e04d13c78fb870a4cfe65b4bbd04bfd79a75ce23
7
+ data.tar.gz: a1eab7b292767c1d421d1674579e0a49164640fc408e12e2ba807b3b2cbee9fb6cc22851023fa38922133228fa94318516a083750bc57da86e909ce4d88f14d8
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## v0.4.2 (2015-12-15)
4
+
5
+ - Bug fixes
6
+ - Properly detects (missing) command name from argv
7
+
3
8
  ## v0.4.1 (2015-12-14)
4
9
 
5
10
  - Bug fixes
@@ -43,10 +43,10 @@ module VagrantPlugins
43
43
  end
44
44
 
45
45
  def argv_command
46
- return nil unless @argv.length
46
+ return nil if @argv.empty?
47
47
 
48
- command = @argv[0]
49
- command = @argv[1] if @env.machine_index.include?(command)
48
+ command = @argv[0].to_s
49
+ command = @argv[1].to_s if @env.machine_index.include?(command)
50
50
 
51
51
  command
52
52
  end
@@ -1,6 +1,6 @@
1
1
  module VagrantPlugins
2
2
  # Defines the current plugin version
3
3
  module DevCommands
4
- VERSION = '0.4.1'
4
+ VERSION = '0.4.2'
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.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marc Neudert
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-12-14 00:00:00.000000000 Z
11
+ date: 2015-12-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -125,7 +125,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
125
125
  version: '0'
126
126
  requirements: []
127
127
  rubyforge_project:
128
- rubygems_version: 2.4.8
128
+ rubygems_version: 2.4.5
129
129
  signing_key:
130
130
  specification_version: 4
131
131
  summary: Runs vagrant commands from a Commandfile