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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1a3ced8e693ae3c7d9912f50c26f939967c77404
4
- data.tar.gz: a89aaf4cb79ac41b3f4fb36663c01665c4c82bbd
3
+ metadata.gz: 3e0d11672c676e513b73498f09f529e11db5cc7e
4
+ data.tar.gz: 86de802c5e2deaacc769729937bc924bbc52aed1
5
5
  SHA512:
6
- metadata.gz: e676ef1950a4693ffcbeff6602e1d9271584e76c2987e602c453fbb2d6fb9bbb46a411c3fde8acd9ccaad71467c8d81df4680ef013676186ecbb19b41d6a3f26
7
- data.tar.gz: be3d0b4587ef821321c5c9059f53d07ff046a542bbd8418cfe2d99c8ac9efe8ab53eabdb8615fc57177ba46cc5f1265db09774f1b3abd8678df839e180d6bd97
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.empty?
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|
@@ -1,5 +1,5 @@
1
1
  module Vagrant
2
2
  module Scp
3
- VERSION = "0.4.2"
3
+ VERSION = "0.4.3"
4
4
  end
5
5
  end
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.2
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-10 00:00:00.000000000 Z
11
+ date: 2015-08-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler