vagrant-scp 0.4.2 → 0.4.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/vagrant/scp/commands/scp.rb +1 -1
- data/lib/vagrant/scp/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3e0d11672c676e513b73498f09f529e11db5cc7e
|
4
|
+
data.tar.gz: 86de802c5e2deaacc769729937bc924bbc52aed1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e55abcb4d09613f4574c10d7760d60fc171058d56dba335e5858a128597325dcd926282162a5b47c71cfebb6e0f15afc932bab711f6691938a674fb9f713caad
|
7
|
+
data.tar.gz: f4bcd73647d86920940a91f3366fa436e6608542939da9d102b8858a500bc7b7f16083fa0408c2ff4e5dfd0da944eee65ab25843f42b67bbb281d3821cf0eab4
|
@@ -16,7 +16,7 @@ module VagrantPlugins
|
|
16
16
|
# We want to get the name of the vm, from a [host_1]:file_1 [host_2]:file_2 description
|
17
17
|
host = [file_1, file_2].map{|file_spec| file_spec.match(/^([^:]*):/)[1] rescue nil}.compact.first
|
18
18
|
# The default machine name for Vagrant is 'default'
|
19
|
-
host = 'default' if host.
|
19
|
+
host = 'default' if (host.nil? || host == 0 )
|
20
20
|
|
21
21
|
# Get the info about the target VM
|
22
22
|
with_target_vms(host) do |machine|
|
data/lib/vagrant/scp/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant-scp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Luca Invernizzi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-08-
|
11
|
+
date: 2015-08-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|