train-core 3.2.14 → 3.2.20

Sign up to get free protection for your applications and to get access to all the features.
@@ -107,8 +107,12 @@ class Train::Plugins::Transport
107
107
  plat
108
108
  end
109
109
 
110
+ def backend_type
111
+ @options[:backend] || "unknown"
112
+ end
113
+
110
114
  def inspect
111
- "%s[%s]" % [self.class, (@options[:backend] || "Unknown")]
115
+ "%s[%s]" % [self.class, backend_type]
112
116
  end
113
117
 
114
118
  alias direct_platform force_platform!
@@ -3,5 +3,5 @@
3
3
  # Author:: Dominik Richter (<dominik.richter@gmail.com>)
4
4
 
5
5
  module Train
6
- VERSION = "3.2.14".freeze
6
+ VERSION = "3.2.20".freeze
7
7
  end
metadata CHANGED
@@ -1,15 +1,43 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: train-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.14
4
+ version: 3.2.20
5
5
  platform: ruby
6
6
  authors:
7
- - Dominik Richter
7
+ - Chef InSpec Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-01-23 00:00:00.000000000 Z
11
+ date: 2020-02-06 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: addressable
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '2.5'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '2.5'
27
+ - !ruby/object:Gem::Dependency
28
+ name: inifile
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '3.0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '3.0'
13
41
  - !ruby/object:Gem::Dependency
14
42
  name: json
15
43
  requirement: !ruby/object:Gem::Requirement
@@ -51,48 +79,48 @@ dependencies:
51
79
  - !ruby/object:Gem::Version
52
80
  version: '4.0'
53
81
  - !ruby/object:Gem::Dependency
54
- name: net-ssh
82
+ name: net-scp
55
83
  requirement: !ruby/object:Gem::Requirement
56
84
  requirements:
57
85
  - - ">="
58
86
  - !ruby/object:Gem::Version
59
- version: '2.9'
87
+ version: '1.2'
60
88
  - - "<"
61
89
  - !ruby/object:Gem::Version
62
- version: '6.0'
90
+ version: '3.0'
63
91
  type: :runtime
64
92
  prerelease: false
65
93
  version_requirements: !ruby/object:Gem::Requirement
66
94
  requirements:
67
95
  - - ">="
68
96
  - !ruby/object:Gem::Version
69
- version: '2.9'
97
+ version: '1.2'
70
98
  - - "<"
71
99
  - !ruby/object:Gem::Version
72
- version: '6.0'
100
+ version: '3.0'
73
101
  - !ruby/object:Gem::Dependency
74
- name: net-scp
102
+ name: net-ssh
75
103
  requirement: !ruby/object:Gem::Requirement
76
104
  requirements:
77
105
  - - ">="
78
106
  - !ruby/object:Gem::Version
79
- version: '1.2'
107
+ version: '2.9'
80
108
  - - "<"
81
109
  - !ruby/object:Gem::Version
82
- version: '3.0'
110
+ version: '6.0'
83
111
  type: :runtime
84
112
  prerelease: false
85
113
  version_requirements: !ruby/object:Gem::Requirement
86
114
  requirements:
87
115
  - - ">="
88
116
  - !ruby/object:Gem::Version
89
- version: '1.2'
117
+ version: '2.9'
90
118
  - - "<"
91
119
  - !ruby/object:Gem::Version
92
- version: '3.0'
120
+ version: '6.0'
93
121
  description: A minimal Train with a backends for ssh and winrm.
94
122
  email:
95
- - drichter@chef.io
123
+ - inspec@chef.io
96
124
  executables: []
97
125
  extensions: []
98
126
  extra_rdoc_files: []