vagrant-scp 0.4.0 → 0.4.1
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 +4 -2
- data/lib/vagrant/scp/version.rb +1 -1
- data/publish_gem.sh +5 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bc3bea575876f70391d7b89969639056f69b237f
|
4
|
+
data.tar.gz: 8a58ef724e2858a623870623eed08fafd676f5a1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5fe3e09596038536f8f101a9514757aba825dc52b7c636ae5fcb6e1e18f708d8958ed3327d8ccd7eaa590bbdc7551db8ce7d1b18f17d6cee2cb806b46da2a234
|
7
|
+
data.tar.gz: 16e42fdbf34ff76b6c3fc80ee6aad9681cf6ce3ee157efe84c5d571e2f994057c6278196056ac7f99c46af17375eba2e78eaae828428af8b7e6bcec320d400f2
|
@@ -11,6 +11,7 @@ module VagrantPlugins
|
|
11
11
|
def execute
|
12
12
|
# Parse the arguments
|
13
13
|
file_1, file_2 = parse_args()
|
14
|
+
return if file_2.nil?
|
14
15
|
# Extract host info
|
15
16
|
#
|
16
17
|
# We want to get the name of the vm, from a [host_1]:file_1 [host_2]:file_2 description
|
@@ -51,8 +52,9 @@ module VagrantPlugins
|
|
51
52
|
o.separator ""
|
52
53
|
end
|
53
54
|
argv = parse_options(opts)
|
54
|
-
|
55
|
-
|
55
|
+
return argv if argv and argv.length == 2
|
56
|
+
@env.ui.info(opts.help, prefix: false) if argv
|
57
|
+
return nil, nil
|
56
58
|
end
|
57
59
|
|
58
60
|
end
|
data/lib/vagrant/scp/version.rb
CHANGED
data/publish_gem.sh
ADDED
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.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-
|
11
|
+
date: 2015-03-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -82,6 +82,7 @@ files:
|
|
82
82
|
- lib/vagrant/scp/commands/scp.rb
|
83
83
|
- lib/vagrant/scp/plugin.rb
|
84
84
|
- lib/vagrant/scp/version.rb
|
85
|
+
- publish_gem.sh
|
85
86
|
- vagrant-scp.gemspec
|
86
87
|
homepage: https://github.com/invernizzi/vagrant-scp
|
87
88
|
licenses:
|