ec2ssh 3.1.0.rc2 → 3.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ec2ssh/command.rb +1 -1
- data/lib/ec2ssh/version.rb +1 -1
- data/zsh/_ec2ssh +1 -32
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2d501500de8bca04cf4261c8c97725b215c787e2
|
4
|
+
data.tar.gz: cbd4138197443a93a89b53be60f19c5e5263ff4b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7b82d0e74f4a9332c6a9d375018e3ba3e54f57032a8abd901b218b91287c2bbc2b712276b6af37586b5162aab534e25b281341775cc2bbe190730be4f7af0028
|
7
|
+
data.tar.gz: 294504a89c81005a6e77958e6d5728dc8cf30bff31f03a054aa57b57f167d96340f314ce38370a00f1e552e8560cd7fb7185c55a28b2462f25642f11c743073b
|
data/lib/ec2ssh/command.rb
CHANGED
data/lib/ec2ssh/version.rb
CHANGED
data/zsh/_ec2ssh
CHANGED
@@ -25,7 +25,7 @@ _ec2ssh-update() {
|
|
25
25
|
|
26
26
|
integer ret=1
|
27
27
|
_arguments -C -S \
|
28
|
-
'--aws-key:aws key name
|
28
|
+
'--aws-key:aws key name' \
|
29
29
|
'--dotfile:ec2ssh dotfile:_files' \
|
30
30
|
'--verbose' && return
|
31
31
|
return $ret
|
@@ -48,37 +48,6 @@ __ec2ssh_noarg_cmd() {
|
|
48
48
|
return $ret
|
49
49
|
}
|
50
50
|
|
51
|
-
_ec2ssh-help() {
|
52
|
-
local curcontext context state line
|
53
|
-
declare -A opt_args
|
54
|
-
|
55
|
-
integer ret=1
|
56
|
-
_arguments -C -S \
|
57
|
-
'(-): :->commands' && return
|
58
|
-
|
59
|
-
case $state in
|
60
|
-
(commands)
|
61
|
-
_ec2ssh_commands && ret=0
|
62
|
-
;;
|
63
|
-
esac
|
64
|
-
|
65
|
-
return $ret
|
66
|
-
}
|
67
|
-
|
68
|
-
|
69
|
-
__ec2ssh_aws_keys() {
|
70
|
-
local keys dotfile
|
71
|
-
|
72
|
-
if (( ind = ${words[(I)--dotfile]} )) && [ -f "${~words[ind+1]}" ]; then
|
73
|
-
dotfile=${~words[ind+1]}
|
74
|
-
else
|
75
|
-
dotfile="$HOME/.ec2ssh"
|
76
|
-
fi
|
77
|
-
|
78
|
-
keys=$(echo "$dotfile" | ruby -r ec2ssh/dsl -e 'puts Ec2ssh::Dsl::Parser.parse_file(STDIN.read.strip).aws_keys.keys' 2> /dev/null)
|
79
|
-
_values 'aws key name' $(echo $keys)
|
80
|
-
}
|
81
|
-
|
82
51
|
_ec2ssh() {
|
83
52
|
local curcontext context state line
|
84
53
|
declare -A opt_args
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ec2ssh
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.1.0
|
4
|
+
version: 3.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Issei Naruta
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-01-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|
@@ -113,9 +113,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
113
113
|
version: 2.0.0
|
114
114
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
115
115
|
requirements:
|
116
|
-
- - "
|
116
|
+
- - ">="
|
117
117
|
- !ruby/object:Gem::Version
|
118
|
-
version:
|
118
|
+
version: '0'
|
119
119
|
requirements: []
|
120
120
|
rubyforge_project: ec2ssh
|
121
121
|
rubygems_version: 2.5.1
|