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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dcb4d62df3d8022f9deed93056f4cfd49cd36dac
4
- data.tar.gz: 878c238b00247af8a4f7a26d78f9978714b7c924
3
+ metadata.gz: 2d501500de8bca04cf4261c8c97725b215c787e2
4
+ data.tar.gz: cbd4138197443a93a89b53be60f19c5e5263ff4b
5
5
  SHA512:
6
- metadata.gz: 3959629e947474edce4496f75626dbc89aac1d5a38fbc901d5757cb730e3134bf12526c2d695f0fb6cb459956ef8908e6ee56f44d878bbbbb6eb0330afc4eb7c
7
- data.tar.gz: 1d55d16a3c09216214df1fce4c0d981fcb10f4e48c2704aaa63deec92ad3bd0f48bc5eb6fc026649310b50710bc6bd6afb7dcd8f12c35f2fd848b4f5c5f9ed69
6
+ metadata.gz: 7b82d0e74f4a9332c6a9d375018e3ba3e54f57032a8abd901b218b91287c2bbc2b712276b6af37586b5162aab534e25b281341775cc2bbe190730be4f7af0028
7
+ data.tar.gz: 294504a89c81005a6e77958e6d5728dc8cf30bff31f03a054aa57b57f167d96340f314ce38370a00f1e552e8560cd7fb7185c55a28b2462f25642f11c743073b
@@ -14,7 +14,7 @@ module Ec2ssh
14
14
  end
15
15
 
16
16
  def ssh_config_path
17
- cli.options.path || dotfile.path || "#{$ENV['HOME']}/.ssh/config"
17
+ cli.options.path || dotfile.path || "#{ENV['HOME']}/.ssh/config"
18
18
  end
19
19
 
20
20
  def dotfile_path
@@ -1,3 +1,3 @@
1
1
  module Ec2ssh
2
- VERSION = '3.1.0.rc2'
2
+ VERSION = '3.1.0'
3
3
  end
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:__ec2ssh_aws_keys' \
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.rc2
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: 2016-04-30 00:00:00.000000000 Z
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: 1.3.1
118
+ version: '0'
119
119
  requirements: []
120
120
  rubyforge_project: ec2ssh
121
121
  rubygems_version: 2.5.1