sshkit 1.21.3 → 1.21.4

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
  SHA256:
3
- metadata.gz: aefa716eaeb8369c4f3ab62fce395c84f43d2c8970acaa3d9322c8ab763977c7
4
- data.tar.gz: c271da1544ea98cc4df40c00893832f103c165b90c91362a0ae605c3abc3f8be
3
+ metadata.gz: 42ea735e4b1e6b51eb99c2699ecc11579229fffe3db99cec9afe4e819f466bf0
4
+ data.tar.gz: 74af7dc3101e5bb9853449f5ffc1f3de4a0ad0a3d19f5554540e3eff3e4f99d7
5
5
  SHA512:
6
- metadata.gz: 96e66f27d9bd8d3b27708fc219cf965ce8f56a312341fd4e67595649e335686699cf4299947cc34c72bc0e41a0b87f60e954e94910609c1f4f57e921b72f952b
7
- data.tar.gz: ee176de7ee2325c91b2b713cee0268e2ad954f3ed07c1412e4b8c81e393dd2f9d4f24394c3aa0d817c6cfb6e8bc605a43546ce85ee24875126a84fc17195416b
6
+ metadata.gz: 1d78e3c1a8e8c875b5eef3f3951540817e82cd4ed07e84ddec648f5b6b85d9c38b09493ab476d5a2e728b44d62e56d1d5b5cadd5359c422371f9a1d8773e3b7c
7
+ data.tar.gz: 5f7cdad196d09216c388d8ba95feb65f1299c3fc5deda5ebf7adbf95630621592011f1ebb64fe0405017aa6ebc5a5a73e42852e3b4d90cb865585a08f2ff3031
@@ -0,0 +1,60 @@
1
+ name: test on CI
2
+ on:
3
+ push:
4
+ branches: [ master ]
5
+ pull_request:
6
+ jobs:
7
+ test:
8
+ runs-on: ubuntu-latest
9
+ strategy:
10
+ matrix:
11
+ ruby: [ "2.0", "2.1", "2.2", "2.3", "2.4", "2.5", "2.6", "2.7", "3.0", "3.1", "3.2", "head" ]
12
+ steps:
13
+ - uses: actions/checkout@v3
14
+ - name: Set up Ruby
15
+ uses: ruby/setup-ruby@v1
16
+ with:
17
+ ruby-version: ${{ matrix.ruby }}
18
+ bundler-cache: true
19
+ - name: Run tests
20
+ run: bundle exec rake test:units
21
+
22
+ rubocop:
23
+ runs-on: ubuntu-latest
24
+ steps:
25
+ - uses: actions/checkout@v3
26
+ - name: Set up Ruby
27
+ uses: ruby/setup-ruby@v1
28
+ with:
29
+ ruby-version: "2.7"
30
+ bundler-cache: true
31
+ - name: Run rubocop
32
+ run: bundle exec rake lint
33
+
34
+ functional:
35
+ runs-on: macos-10.15
36
+ strategy:
37
+ matrix:
38
+ ruby: [ "2.0", "2.1", "2.2", "2.3", "2.4", "2.5", "2.6", "2.7", "3.0", "3.1", "3.2", "head" ]
39
+ steps:
40
+ - uses: actions/checkout@v3
41
+
42
+ - name: Cache Vagrant boxes
43
+ uses: actions/cache@v2
44
+ with:
45
+ path: ~/.vagrant.d/boxes
46
+ key: ${{ runner.os }}-vagrant-${{ hashFiles('Vagrantfile') }}
47
+ restore-keys: |
48
+ ${{ runner.os }}-vagrant-
49
+
50
+ - name: Run vagrant up
51
+ run: vagrant up
52
+
53
+ - name: Set up Ruby
54
+ uses: ruby/setup-ruby@v1
55
+ with:
56
+ ruby-version: ${{ matrix.ruby }}
57
+ bundler-cache: true
58
+
59
+ - name: Run functional tests
60
+ run: bundle exec rake test:functional
@@ -7,6 +7,6 @@ jobs:
7
7
  steps:
8
8
  - uses: actions/checkout@master
9
9
  - name: Draft Release
10
- uses: toolmantim/release-drafter@v5.20.1
10
+ uses: toolmantim/release-drafter@v5.22.0
11
11
  env:
12
12
  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
data/README.md CHANGED
@@ -4,7 +4,7 @@
4
4
  more servers.
5
5
 
6
6
  [![Gem Version](https://badge.fury.io/rb/sshkit.svg)](https://rubygems.org/gems/sshkit)
7
- [![Build Status](https://travis-ci.org/capistrano/sshkit.svg?branch=master)](https://travis-ci.org/capistrano/sshkit)
7
+ [![Build Status](https://github.com/capistrano/sshkit/actions/workflows/ci.yml/badge.svg)](https://github.com/capistrano/sshkit/actions/workflows/ci.yml)
8
8
 
9
9
  ## Example
10
10
 
data/Vagrantfile CHANGED
@@ -3,8 +3,8 @@ VAGRANTFILE_API_VERSION = "2"
3
3
  Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
4
4
  config.vm.box = 'hashicorp/precise64'
5
5
  config.vm.provision "shell", inline: <<-SHELL
6
- echo 'ClientAliveInterval 1' >> /etc/ssh/sshd_config
7
- echo 'ClientAliveCountMax 1' >> /etc/ssh/sshd_config
6
+ echo 'ClientAliveInterval 3' >> /etc/ssh/sshd_config
7
+ echo 'ClientAliveCountMax 3' >> /etc/ssh/sshd_config
8
8
  service ssh restart
9
9
  SHELL
10
10
 
@@ -1,3 +1,5 @@
1
+ require 'set'
2
+
1
3
  module SSHKit
2
4
  class DeprecationLogger
3
5
  def initialize(out)
@@ -1,3 +1,3 @@
1
1
  module SSHKit
2
- VERSION = "1.21.3".freeze
2
+ VERSION = "1.21.4".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sshkit
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.21.3
4
+ version: 1.21.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lee Hambley
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2022-09-05 00:00:00.000000000 Z
12
+ date: 2023-02-20 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: net-ssh
@@ -182,11 +182,11 @@ extra_rdoc_files: []
182
182
  files:
183
183
  - ".github/dependabot.yml"
184
184
  - ".github/release-drafter.yml"
185
+ - ".github/workflows/ci.yml"
185
186
  - ".github/workflows/push.yml"
186
187
  - ".gitignore"
187
188
  - ".rubocop.yml"
188
189
  - ".rubocop_todo.yml"
189
- - ".travis.yml"
190
190
  - ".yardopts"
191
191
  - BREAKING_API_WISHLIST.md
192
192
  - CHANGELOG.md
@@ -291,7 +291,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
291
291
  - !ruby/object:Gem::Version
292
292
  version: '0'
293
293
  requirements: []
294
- rubygems_version: 3.3.21
294
+ rubygems_version: 3.4.7
295
295
  signing_key:
296
296
  specification_version: 4
297
297
  summary: SSHKit makes it easy to write structured, testable SSH commands in Ruby
data/.travis.yml DELETED
@@ -1,20 +0,0 @@
1
- language: ruby
2
- rvm:
3
- - 3.0
4
- - 2.7
5
- - 2.6
6
- - 2.5
7
- - 2.4
8
- - 2.3
9
- - 2.2
10
- - 2.1
11
- - 2.0
12
- branches:
13
- only:
14
- - master
15
- matrix:
16
- include:
17
- # Run Danger only once, on 2.5
18
- - rvm: 2.5
19
- script: bundle exec danger
20
- script: bundle exec rake test:units lint