net-ssh 6.2.0.rc1 → 6.2.0.rc2

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dab784d4c76e8674d88c4552bf84a2fc48b7742190580447bf6588b3beabd8b4
4
- data.tar.gz: 1f8a83e388a1837ecc1f37748d17eee872b0a6ae2e1bb10b1bcdc1aaf658273d
3
+ metadata.gz: 41c56dfbc79ea932b949dfc90f27bf3377cdbd3a48c32fd409db872562f38491
4
+ data.tar.gz: 648aeea80bec0e871f4c8e26ea7e24773fbd8de8a0e8ccb305b00a3f96c53172
5
5
  SHA512:
6
- metadata.gz: 10cff19386b74e9fe46dbc312f207abf487742159a143fa71f98707c47cd8f4d5115f6e6fdcc25b3faaabbdc4ec57d725d01dc7ac90099029e42e4a64c34dff7
7
- data.tar.gz: 9df5c393d4a7df322f3c0f58c3876ab55e2b342b9dc561a8a09a0e11b24025cbca6ee99abe90c151ef786af3fdd3288563cbe2799da8fd7e9065d2f06e4911c5
6
+ metadata.gz: 50ded00bb7ce3aa76167557dad7f2840d047c7861a5d3480fe3141bc67ccdcf502fd3a2dd4d1097d21467ec7cf83d1decd14809581e2203851eca52f083b1844
7
+ data.tar.gz: '056481ae85b0919dac4b75cd7434ea921c4fa248a050ef3d6b19d0c38ac49e6f0824731c192d6a242f2b6eba5c684e28244f9b8d15341a5ead44db3aac1d48ea'
checksums.yaml.gz.sig CHANGED
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -0,0 +1,76 @@
1
+ name: CI
2
+ on: [pull_request]
3
+ jobs:
4
+ test:
5
+ runs-on: ubuntu-latest
6
+ strategy:
7
+ matrix:
8
+ ruby-version: [2.7.2, 2.6.6, 2.5.8, 2.4.10, 3.0.0]
9
+ steps:
10
+ - uses: actions/checkout@v1
11
+
12
+ - name: Set up Ruby ${{ matrix.ruby-version }}
13
+ uses: ruby/setup-ruby@v1
14
+ with:
15
+ ruby-version: ${{ matrix.ruby-version }}
16
+ - name: Set up Python ${{ matrix.python-version }}
17
+ uses: actions/setup-python@v2
18
+ with:
19
+ python-version: 2.7
20
+
21
+ - name: Cache bundler
22
+ uses: actions/cache@v1
23
+ id: bundler-cache
24
+ with:
25
+ path: vendor/bundle
26
+ key: ${{ runner.os }}-${{ matrix.ruby-version }}-gem-v3-${{ hashFiles('**/Gemfile') }}-${{ hashFiles('**/net-ssh.gemspec') }}
27
+ restore-keys: |
28
+ ${{ runner.os }}-${{ matrix.ruby-version }}-gem-v3-
29
+
30
+ - name: Cache pip
31
+ uses: actions/cache@v1
32
+ id: pip-cache
33
+ with:
34
+ path: ~/.cache/pip
35
+ key: ${{ runner.os }}-pip-v1
36
+ restore-keys: |
37
+ ${{ runner.os }}-pip-v1
38
+ - name: Bundle install
39
+ run: |
40
+ gem install bundler
41
+ bundle config set path 'vendor/bundle'
42
+ bundle config set --local path 'vendor/bundle'
43
+ bundle install --jobs 4 --retry 3 --path vendor/bundle
44
+ BUNDLE_GEMFILE=./Gemfile.noed25519 bundle install --jobs 4 --retry 3 --path vendor/bundle
45
+ env:
46
+ BUNDLE_PATH: vendor/bundle
47
+
48
+ - name: Add to etc/hosts
49
+ run: |
50
+ sudo echo "127.0.0.1 gateway.netssh" | sudo tee -a /etc/hosts
51
+ - name: Ansible install
52
+ run: |
53
+ python -m pip install --upgrade pip
54
+ pip install ansible urllib3 pyOpenSSL ndg-httpsclient pyasn1
55
+ ansible-galaxy install rvm.ruby
56
+ pwd
57
+ uname -a
58
+ export
59
+ who am i
60
+ ansible-playbook ./test/integration/playbook.yml -i "localhost," --become -c local -e 'no_rvm=true' -e 'myuser=runner' -e 'mygroup=runner' -e 'homedir=/home/runner'
61
+ - name: Run Tests
62
+ run: bundle exec rake test
63
+ env:
64
+ NET_SSH_RUN_INTEGRATION_TESTS_DISABLED: 1
65
+ - name: Run Tests (without ed25519)
66
+ run: bundle exec rake test
67
+ env:
68
+ BUNDLE_GEMFILE: ./Gemfile.noed25519
69
+ NET_SSH_RUN_INTEGRATION_TESTS_DISABLED: 1
70
+ - name: Run test helper test
71
+ run: bundle exec rake test_test
72
+ - name: Rubocop
73
+ if: matrix.ruby-version != '3.0.0'
74
+ run: bundle exec rubocop
75
+
76
+
data/CHANGES.txt CHANGED
@@ -43,7 +43,7 @@
43
43
  === 5.2.0.rc3
44
44
 
45
45
  * Fix check_host_ip read from config
46
- * Support ssh-ed25519 in kown hosts
46
+ * Support ssh-ed25519 in known hosts
47
47
 
48
48
  === 5.2.0.rc2
49
49
 
@@ -683,6 +683,7 @@ module Net
683
683
  #
684
684
  # channel.set_remote_env foo: 'bar', baz: 'whale'
685
685
  def set_remote_env(env)
686
+ env.each { |key, value| puts "E:#{key} V:#{value}" }
686
687
  env.each { |key, value| self.env(key, value) }
687
688
  end
688
689
  end
@@ -56,7 +56,7 @@ module Net
56
56
 
57
57
  # The prerelease component of this version of the Net::SSH library
58
58
  # nil allowed
59
- PRE = "rc1"
59
+ PRE = "rc2"
60
60
 
61
61
  # The current version of the Net::SSH library as a Version instance
62
62
  CURRENT = new(*[MAJOR, MINOR, TINY, PRE].compact)
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: net-ssh
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.2.0.rc1
4
+ version: 6.2.0.rc2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jamis Buck
8
8
  - Delano Mandelbaum
9
9
  - Miklós Fazekas
10
- autorequire:
10
+ autorequire:
11
11
  bindir: exe
12
12
  cert_chain:
13
13
  - |
@@ -31,7 +31,7 @@ cert_chain:
31
31
  voajiJNS75Pw/2j13WnPB4Q6w7dHSb57E/VluBpVKmcQZN0dGdAkEIVty3v7kw9g
32
32
  y++VpCpWM/PstIFv4ApZMf501UY=
33
33
  -----END CERTIFICATE-----
34
- date: 2020-06-30 00:00:00.000000000 Z
34
+ date: 2021-03-12 00:00:00.000000000 Z
35
35
  dependencies:
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: bcrypt_pbkdf
@@ -156,6 +156,7 @@ extra_rdoc_files:
156
156
  - LICENSE.txt
157
157
  - README.md
158
158
  files:
159
+ - ".github/workflows/ci.yml"
159
160
  - ".gitignore"
160
161
  - ".rubocop.yml"
161
162
  - ".rubocop_todo.yml"
@@ -268,7 +269,7 @@ licenses:
268
269
  - MIT
269
270
  metadata:
270
271
  changelog_uri: https://github.com/net-ssh/net-ssh/blob/master/CHANGES.txt
271
- post_install_message:
272
+ post_install_message:
272
273
  rdoc_options: []
273
274
  require_paths:
274
275
  - lib
@@ -284,7 +285,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
284
285
  version: 1.3.1
285
286
  requirements: []
286
287
  rubygems_version: 3.0.3
287
- signing_key:
288
+ signing_key:
288
289
  specification_version: 4
289
290
  summary: 'Net::SSH: a pure-Ruby implementation of the SSH2 client protocol.'
290
291
  test_files: []
metadata.gz.sig CHANGED
Binary file