runssh 0.5.1 → 0.5.2
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.
- data/Gemfile.lock +1 -1
- data/README.rdoc +3 -0
- data/completions/_runssh +13 -7
- data/lib/runsshlib/version.rb +1 -1
- metadata +4 -4
data/Gemfile.lock
CHANGED
data/README.rdoc
CHANGED
data/completions/_runssh
CHANGED
|
@@ -47,13 +47,19 @@ _runssh_subcmd_shell() {
|
|
|
47
47
|
|
|
48
48
|
(( $+functions[_runssh_subcmd_scp] )) ||
|
|
49
49
|
_runssh_subcmd_scp() {
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
50
|
+
if [[ $words =~ " -- " ]]; then
|
|
51
|
+
if [[ ! $words[$CURRENT] =~ ^: ]]; then # currently we only offer completions for local files
|
|
52
|
+
_files
|
|
53
|
+
fi
|
|
54
|
+
else
|
|
55
|
+
_arguments \
|
|
56
|
+
'(-L --login)'{-L,--login}'+[Override login]: :' \
|
|
57
|
+
'(-n --host-name)'{-n,--host-name}'+[host to connect to]: :' \
|
|
58
|
+
{\*-o,\*--option}'+[Ssh option]: :' \
|
|
59
|
+
'(-r --recurssive)'{-r,--recurssive}'[copy directories recurssively]' \
|
|
60
|
+
'(-l --limit)'{-l,--limit}'+[limit bandwidth in kbit/s]: :' \
|
|
61
|
+
'*: :_runssh_path_completions'
|
|
62
|
+
fi
|
|
57
63
|
}
|
|
58
64
|
|
|
59
65
|
(( $+functions[_runssh_subcmd_cpid] )) ||
|
data/lib/runsshlib/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: runssh
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 15
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 5
|
|
9
|
-
-
|
|
10
|
-
version: 0.5.
|
|
9
|
+
- 2
|
|
10
|
+
version: 0.5.2
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Haim Ashkenazi
|
|
@@ -15,7 +15,7 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date: 2011-05-
|
|
18
|
+
date: 2011-05-23 00:00:00 +03:00
|
|
19
19
|
default_executable:
|
|
20
20
|
dependencies:
|
|
21
21
|
- !ruby/object:Gem::Dependency
|