vagrant-scp 0.5.0 → 0.5.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: 9300b6362864078cc341ff6b5dc43b92b4e8c8ea
4
- data.tar.gz: 2e0970ff029e60d36aa41a2f6a152f90de951411
3
+ metadata.gz: 8977555fbbe5857f2ccc31e4c13fe3b0a9ca8983
4
+ data.tar.gz: efe18aaee5ae5d92ae0af665a508659113fe8dc1
5
5
  SHA512:
6
- metadata.gz: d64aa17b0df115359d9c6a30867d0dab9ba83e6f91fffbb0f5ae1b395cc276412b3c0353c5ef926d655ec4480d0150614abeaf316afb0284e8109391e7bd7452
7
- data.tar.gz: b775d9b17a115fea49828f4692b5fff49983c56d8250cf14c016a5a32f47814020db1fecaa6a85768abd917a9f2dd738c964bc77064f79a03183e690f891ffa1
6
+ metadata.gz: 7a2e1003c2048a1e1bb2313be807fb4ce4b21f37eb2fb63634b4967b4c2dd8d9deb0678529f7ec25c3995f9c0e251ab5c4df50d73fef04498256e0ee52df59da
7
+ data.tar.gz: 8f63fb3798d7ef1394244a842b454b82558f46f92494fb3fb307846f8ed786e0b051fc2f6b2ab5c32c6b240066c71d5d85a1751f917395d6006f4fa38bd021c0
@@ -46,7 +46,7 @@ module VagrantPlugins
46
46
 
47
47
  def host
48
48
  host = [@file_1, @file_2].map{|file_spec| file_spec.match(/^([^:]*):/)[1] rescue nil}.compact.first
49
- host = 'default' if (host.nil? || host == 0 )
49
+ host = nil if (host.nil? || host == 0 )
50
50
  host
51
51
  end
52
52
 
@@ -63,7 +63,7 @@ module VagrantPlugins
63
63
  end
64
64
 
65
65
  def format_file_path(filepath)
66
- if @file_1.include?(':')
66
+ if filepath.include?(':')
67
67
  filepath.split(':').last.gsub("~", "/home/#{@ssh_info[:username]}")
68
68
  else
69
69
  filepath
@@ -1,5 +1,5 @@
1
1
  module Vagrant
2
2
  module Scp
3
- VERSION = "0.5.0"
3
+ VERSION = "0.5.1"
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.5.0
4
+ version: 0.5.1
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-09-14 00:00:00.000000000 Z
11
+ date: 2015-09-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler