train 0.22.0 → 0.22.1
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 +11 -2
- data/lib/train/extras/os_detect_linux.rb +2 -2
- data/lib/train/version.rb +1 -1
- data/train.gemspec +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 50712f567f410669486c5e2e4a8e0c385cf9a84f
|
4
|
+
data.tar.gz: b0f2778a184c620325001ad56053d23499202f68
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dd67bf3e1a388e54e4fdb8379991e6f586814378553b91400f5c3eb62e1cdb22c951d64ce8610e1ae6cc8aac5909d1d04e391d42400e7ad9eae126985504396d
|
7
|
+
data.tar.gz: 0324c5ca5668dec1c5e50b7ae8f73587003954e4ec3f8756693a65d5661165afa7cf4cb86cc31f6fe0a6a4faa5cbda1b0780981b43516137a29e545c15527f70
|
data/CHANGELOG.md
CHANGED
@@ -1,7 +1,16 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
-
## [0.22.
|
4
|
-
[Full Changelog](https://github.com/chef/train/compare/v0.
|
3
|
+
## [0.22.1](https://github.com/chef/train/tree/0.22.1) (2017-01-17)
|
4
|
+
[Full Changelog](https://github.com/chef/train/compare/v0.22.0...0.22.1)
|
5
|
+
|
6
|
+
**Merged pull requests:**
|
7
|
+
|
8
|
+
- Relax net-ssh dep to allow 4.0 [\#168](https://github.com/chef/train/pull/168) ([tduffield](https://github.com/tduffield))
|
9
|
+
- Fix Oracle Linux detection [\#167](https://github.com/chef/train/pull/167) ([carldjohnston](https://github.com/carldjohnston))
|
10
|
+
- Add support for parallels & virtuozzo linux [\#166](https://github.com/chef/train/pull/166) ([jaxxstorm](https://github.com/jaxxstorm))
|
11
|
+
|
12
|
+
## [v0.22.0](https://github.com/chef/train/tree/v0.22.0) (2016-11-29)
|
13
|
+
[Full Changelog](https://github.com/chef/train/compare/v0.21.1...v0.22.0)
|
5
14
|
|
6
15
|
**Implemented enhancements:**
|
7
16
|
|
@@ -14,14 +14,14 @@ require 'train/extras/uname'
|
|
14
14
|
module Train::Extras
|
15
15
|
module DetectLinux # rubocop:disable Metrics/ModuleLength
|
16
16
|
DEBIAN_FAMILY = %w{debian ubuntu linuxmint raspbian}.freeze
|
17
|
-
REDHAT_FAMILY = %w{centos redhat oracle scientific enterpriseenterprise xenserver cloudlinux ibm_powerkvm nexus_centos wrlinux}.freeze
|
17
|
+
REDHAT_FAMILY = %w{centos redhat oracle scientific enterpriseenterprise xenserver cloudlinux ibm_powerkvm nexus_centos wrlinux virtuozzo parallels}.freeze
|
18
18
|
SUSE_FAMILY = %w{suse opensuse}.freeze
|
19
19
|
|
20
20
|
include Train::Extras::LinuxLSB
|
21
21
|
include Train::Extras::Uname
|
22
22
|
|
23
23
|
def detect_linux_via_config # rubocop:disable Metrics/AbcSize, Metrics/CyclomaticComplexity, Metrics/MethodLength, Metrics/PerceivedComplexity
|
24
|
-
if !(raw = get_config('oracle-release')).nil?
|
24
|
+
if !(raw = get_config('/etc/oracle-release')).nil?
|
25
25
|
@platform[:name] = 'oracle'
|
26
26
|
@platform[:release] = redhatish_version(raw)
|
27
27
|
elsif !(raw = get_config('/etc/enterprise-release')).nil?
|
data/lib/train/version.rb
CHANGED
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', '>= 2.9', '<
|
31
|
+
spec.add_dependency 'net-ssh', '>= 2.9', '< 5.0'
|
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.22.
|
4
|
+
version: 0.22.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dominik Richter
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-01-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|
@@ -53,7 +53,7 @@ dependencies:
|
|
53
53
|
version: '2.9'
|
54
54
|
- - "<"
|
55
55
|
- !ruby/object:Gem::Version
|
56
|
-
version: '
|
56
|
+
version: '5.0'
|
57
57
|
type: :runtime
|
58
58
|
prerelease: false
|
59
59
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -63,7 +63,7 @@ dependencies:
|
|
63
63
|
version: '2.9'
|
64
64
|
- - "<"
|
65
65
|
- !ruby/object:Gem::Version
|
66
|
-
version: '
|
66
|
+
version: '5.0'
|
67
67
|
- !ruby/object:Gem::Dependency
|
68
68
|
name: net-scp
|
69
69
|
requirement: !ruby/object:Gem::Requirement
|
@@ -253,7 +253,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
253
253
|
version: '0'
|
254
254
|
requirements: []
|
255
255
|
rubyforge_project:
|
256
|
-
rubygems_version: 2.
|
256
|
+
rubygems_version: 2.6.8
|
257
257
|
signing_key:
|
258
258
|
specification_version: 4
|
259
259
|
summary: Transport interface to talk to different backends.
|