ec2ssh 5.0.0 → 5.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/main.yml +31 -0
- data/ChangeLog.md +6 -0
- data/Gemfile +5 -5
- data/README.md +2 -2
- data/ec2ssh.gemspec +1 -1
- data/lib/ec2ssh/builder.rb +1 -3
- data/lib/ec2ssh/version.rb +1 -1
- metadata +8 -8
- data/.travis.yml +0 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '093b50c289c52b6442b616dc9cfb0688a5441f540334d9358c1c6e0bf29c1a43'
|
4
|
+
data.tar.gz: e069b0a512b9130c5ae164a8f11ecdc5c7674940cacc312d8d8eb4c220f60130
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 589991eb9c5dd93c750fec943600f7c4de503e6d944cb8a9ef74b9b5e07b0a0dad666dc1f719b01212820a7b90c66036a141ec68ab4cb612af3e0406a5aabafc
|
7
|
+
data.tar.gz: 6e6bb717dcc3958aa79502356dc1c314d5f0a820ddb4438cc0fa67ea595e5b0d720b809f688ef72fe0ef66cd6eefa7596c7e48dd2af124c6f38d834d26e6546b
|
@@ -0,0 +1,31 @@
|
|
1
|
+
name: Ruby
|
2
|
+
|
3
|
+
on:
|
4
|
+
push:
|
5
|
+
branches:
|
6
|
+
- master
|
7
|
+
|
8
|
+
pull_request:
|
9
|
+
|
10
|
+
jobs:
|
11
|
+
build:
|
12
|
+
runs-on: ubuntu-latest
|
13
|
+
name: Ruby ${{ matrix.ruby }}
|
14
|
+
strategy:
|
15
|
+
matrix:
|
16
|
+
ruby:
|
17
|
+
- '2.6'
|
18
|
+
- '2.7'
|
19
|
+
- '3.0'
|
20
|
+
- '3.1'
|
21
|
+
- 'head'
|
22
|
+
|
23
|
+
steps:
|
24
|
+
- uses: actions/checkout@v2
|
25
|
+
- name: Set up Ruby
|
26
|
+
uses: ruby/setup-ruby@v1
|
27
|
+
with:
|
28
|
+
ruby-version: ${{ matrix.ruby }}
|
29
|
+
bundler-cache: true
|
30
|
+
- name: Run the default task
|
31
|
+
run: bundle exec rake
|
data/ChangeLog.md
CHANGED
@@ -1,5 +1,11 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## 5.1.0
|
4
|
+
* Drop support outdated Ruby 2.4 and 2.5 (#60, #61)
|
5
|
+
* CI against for Ruby 3.0 and 3.1 (#61)
|
6
|
+
* Fix arguments warnings of ERB.new on Ruby 3.1 (#61)
|
7
|
+
* Migrate CI from TravisCI to GitHub Actions (#62)
|
8
|
+
|
3
9
|
## 5.0.0
|
4
10
|
* Remove `--aws-key` option and add `--path` option in shellcomp (#56)
|
5
11
|
* Use aws-sdk v3 and stop using v2 (#54)
|
data/Gemfile
CHANGED
@@ -5,10 +5,10 @@ gem 'rake', '>= 12.0.0'
|
|
5
5
|
gem 'rspec', '~> 3.0'
|
6
6
|
gem 'rspec-its', '~> 1.0'
|
7
7
|
gem 'guard-rspec', '~> 4.3'
|
8
|
-
gem 'webmock', '~>
|
8
|
+
gem 'webmock', '~> 3.14'
|
9
9
|
gem 'rb-fsevent', '~> 0.10'
|
10
|
-
gem 'timecop', '~> 0.
|
11
|
-
gem 'fakefs', '~> 1.
|
12
|
-
gem 'vcr', '~>
|
10
|
+
gem 'timecop', '~> 0.9'
|
11
|
+
gem 'fakefs', '~> 1.4', require: 'fakefs/safe'
|
12
|
+
gem 'vcr', '~> 6.1'
|
13
13
|
|
14
|
-
gem 'rexml' if RUBY_VERSION >= '
|
14
|
+
gem 'rexml' if RUBY_VERSION >= '3.0.0'
|
data/README.md
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
[![Gem Version](https://badge.fury.io/rb/ec2ssh.svg)](https://badge.fury.io/rb/ec2ssh)
|
2
|
-
[![Build Status](https://
|
2
|
+
[![Build Status](https://github.com/mirakui/ec2ssh/actions/workflows/main.yml/badge.svg)](https://github.com/mirakui/ec2ssh/actions/workflows/main.yml)
|
3
3
|
|
4
4
|
# Introduction
|
5
5
|
ec2ssh is a ssh_config manager for Amazon EC2.
|
@@ -145,4 +145,4 @@ aws_keys(
|
|
145
145
|
Use `zsh/_ec2ssh`.
|
146
146
|
|
147
147
|
# License
|
148
|
-
Copyright (c)
|
148
|
+
Copyright (c) 2022 Issei Naruta. ec2ssh is released under the MIT license.
|
data/ec2ssh.gemspec
CHANGED
@@ -12,7 +12,7 @@ Gem::Specification.new do |s|
|
|
12
12
|
s.license = "MIT"
|
13
13
|
s.summary = %q{A ssh_config manager for AWS EC2}
|
14
14
|
s.description = %q{ec2ssh is a ssh_config manager for AWS EC2}
|
15
|
-
s.required_ruby_version = ">= 2.
|
15
|
+
s.required_ruby_version = ">= 2.6.0"
|
16
16
|
|
17
17
|
s.add_dependency "thor", ">= 0.14", "< 2.0"
|
18
18
|
s.add_dependency "highline", ">= 1.6", "< 3.0"
|
data/lib/ec2ssh/builder.rb
CHANGED
@@ -6,9 +6,7 @@ module Ec2ssh
|
|
6
6
|
class Builder
|
7
7
|
def initialize(container)
|
8
8
|
@container = container
|
9
|
-
|
10
|
-
erb_trim_mode = '%-'
|
11
|
-
@host_lines_erb = ERB.new @container.host_line, safe_level, erb_trim_mode
|
9
|
+
@host_lines_erb = ERB.new @container.host_line, trim_mode: '%-'
|
12
10
|
end
|
13
11
|
|
14
12
|
def build_host_lines
|
data/lib/ec2ssh/version.rb
CHANGED
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: 5.
|
4
|
+
version: 5.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Issei Naruta
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-04-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|
@@ -86,9 +86,9 @@ executables:
|
|
86
86
|
extensions: []
|
87
87
|
extra_rdoc_files: []
|
88
88
|
files:
|
89
|
+
- ".github/workflows/main.yml"
|
89
90
|
- ".gitignore"
|
90
91
|
- ".rspec"
|
91
|
-
- ".travis.yml"
|
92
92
|
- ChangeLog.md
|
93
93
|
- Gemfile
|
94
94
|
- Guardfile
|
@@ -126,7 +126,7 @@ homepage: http://github.com/mirakui/ec2ssh
|
|
126
126
|
licenses:
|
127
127
|
- MIT
|
128
128
|
metadata: {}
|
129
|
-
post_install_message:
|
129
|
+
post_install_message:
|
130
130
|
rdoc_options: []
|
131
131
|
require_paths:
|
132
132
|
- lib
|
@@ -134,15 +134,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
134
134
|
requirements:
|
135
135
|
- - ">="
|
136
136
|
- !ruby/object:Gem::Version
|
137
|
-
version: 2.
|
137
|
+
version: 2.6.0
|
138
138
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
139
139
|
requirements:
|
140
140
|
- - ">="
|
141
141
|
- !ruby/object:Gem::Version
|
142
142
|
version: '0'
|
143
143
|
requirements: []
|
144
|
-
rubygems_version: 3.
|
145
|
-
signing_key:
|
144
|
+
rubygems_version: 3.3.7
|
145
|
+
signing_key:
|
146
146
|
specification_version: 4
|
147
147
|
summary: A ssh_config manager for AWS EC2
|
148
148
|
test_files:
|
data/.travis.yml
DELETED
@@ -1,12 +0,0 @@
|
|
1
|
-
language: ruby
|
2
|
-
rvm:
|
3
|
-
- 2.4
|
4
|
-
- 2.5
|
5
|
-
- 2.6
|
6
|
-
- 2.7
|
7
|
-
- ruby-head
|
8
|
-
script: 'bundle exec rspec spec'
|
9
|
-
before_install: gem install bundler -v 1.14.3
|
10
|
-
notifications:
|
11
|
-
slack:
|
12
|
-
secure: CYxJDs0jJkrgXfbOyHuF+gJtxgK5JjS0GAFRNOlkWlDUmpEErtcnPuBOrlzkIBJS4eXaDOuSvpyRJSuJZJjEhmp94GEI98GEcyvByHuaehUWhzhUrhXstX/gg/Ntt6jiFR5dC6NrRWAnmKb7cDsfvagGAVNAuNzAtX0Z9iXWQDo=
|