train 0.26.2 → 0.27.0
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 +4 -4
- data/CHANGELOG.md +10 -2
- data/lib/train/transports/ssh.rb +1 -1
- data/lib/train/version.rb +1 -1
- data/test/unit/transports/ssh_test.rb +13 -0
- data/train.gemspec +1 -1
- metadata +6 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 802cb7956050b4a8db80e8260bcafab0802ba46f
|
4
|
+
data.tar.gz: 372b756cae6c8b8fc34e57eee61521545098e312
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a831de36739909f5803dfce9bccd3a1de0061af38087d3b7d1af37e42b87ef8f7465c1b776b47cda5add839a2d807b7254ff9cfc9d44ad15a688a635952c183a
|
7
|
+
data.tar.gz: c71f0bcb8eb7908076ad5d282975e8dfe10ee99a9bd1faebba374c43173543c4f35488eefe63a1a0f29957ed8e56abd7c01d67f0e89622d880b0c7cd6f2c2f14
|
data/CHANGELOG.md
CHANGED
@@ -1,10 +1,18 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
-
## [0.
|
4
|
-
[Full Changelog](https://github.com/chef/train/compare/v0.26.
|
3
|
+
## [0.27.0](https://github.com/chef/train/tree/0.27.0) (2017-09-25)
|
4
|
+
[Full Changelog](https://github.com/chef/train/compare/v0.26.2...0.27.0)
|
5
5
|
|
6
6
|
**Merged pull requests:**
|
7
7
|
|
8
|
+
- Bump to net-ssh 4.2, fix bad net-ssh deprecation [\#197](https://github.com/chef/train/pull/197) ([adamleff](https://github.com/adamleff))
|
9
|
+
|
10
|
+
## [v0.26.2](https://github.com/chef/train/tree/v0.26.2) (2017-09-05)
|
11
|
+
[Full Changelog](https://github.com/chef/train/compare/v0.26.1...v0.26.2)
|
12
|
+
|
13
|
+
**Merged pull requests:**
|
14
|
+
|
15
|
+
- Release 0.26.2 [\#195](https://github.com/chef/train/pull/195) ([adamleff](https://github.com/adamleff))
|
8
16
|
- Fix inconsistent link\_path behavior [\#194](https://github.com/chef/train/pull/194) ([adamleff](https://github.com/adamleff))
|
9
17
|
|
10
18
|
## [v0.26.1](https://github.com/chef/train/tree/v0.26.1) (2017-08-14)
|
data/lib/train/transports/ssh.rb
CHANGED
data/lib/train/version.rb
CHANGED
@@ -49,6 +49,19 @@ describe 'ssh transport' do
|
|
49
49
|
end
|
50
50
|
end
|
51
51
|
|
52
|
+
describe 'connection options' do
|
53
|
+
let(:ssh) { cls.new({ host: 'dummy' }) }
|
54
|
+
let(:connection_options) { ssh.send(:connection_options, {}) }
|
55
|
+
|
56
|
+
it 'does not set a paranoid option - deprecated in net-ssh 4.2' do
|
57
|
+
connection_options.key?(:paranoid).must_equal false
|
58
|
+
end
|
59
|
+
|
60
|
+
it 'sets a verify_host_key option, replacement for paranoid' do
|
61
|
+
connection_options[:verify_host_key].must_equal false
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
52
65
|
describe 'opening a connection' do
|
53
66
|
let(:ssh) { cls.new(conf) }
|
54
67
|
let(:connection) { ssh.connection }
|
data/train.gemspec
CHANGED
@@ -28,7 +28,7 @@ Gem::Specification.new do |spec|
|
|
28
28
|
spec.add_dependency 'mixlib-shellout', '~> 2.0'
|
29
29
|
# net-ssh 3.x drops Ruby 1.9 support, so this constraint could be raised when
|
30
30
|
# 1.9 support is no longer needed here or for Inspec
|
31
|
-
spec.add_dependency 'net-ssh', '
|
31
|
+
spec.add_dependency 'net-ssh', '~> 4.2'
|
32
32
|
spec.add_dependency 'net-scp', '~> 1.2'
|
33
33
|
spec.add_dependency 'winrm', '~> 2.0'
|
34
34
|
spec.add_dependency 'winrm-fs', '~> 1.0'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: train
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.27.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dominik Richter
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-09-
|
11
|
+
date: 2017-09-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|
@@ -48,22 +48,16 @@ dependencies:
|
|
48
48
|
name: net-ssh
|
49
49
|
requirement: !ruby/object:Gem::Requirement
|
50
50
|
requirements:
|
51
|
-
- - "
|
52
|
-
- !ruby/object:Gem::Version
|
53
|
-
version: '2.9'
|
54
|
-
- - "<"
|
51
|
+
- - "~>"
|
55
52
|
- !ruby/object:Gem::Version
|
56
|
-
version: '
|
53
|
+
version: '4.2'
|
57
54
|
type: :runtime
|
58
55
|
prerelease: false
|
59
56
|
version_requirements: !ruby/object:Gem::Requirement
|
60
57
|
requirements:
|
61
|
-
- - "
|
62
|
-
- !ruby/object:Gem::Version
|
63
|
-
version: '2.9'
|
64
|
-
- - "<"
|
58
|
+
- - "~>"
|
65
59
|
- !ruby/object:Gem::Version
|
66
|
-
version: '
|
60
|
+
version: '4.2'
|
67
61
|
- !ruby/object:Gem::Dependency
|
68
62
|
name: net-scp
|
69
63
|
requirement: !ruby/object:Gem::Requirement
|