train-core 1.5.11 → 1.6.3

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: b96effd96b63d473be914eb23d83523a21bc991299517f822a962c9e2298cdb1
4
- data.tar.gz: a781e807941a889b19de2ff2f01b2182cea28a81548feecbe9d2b22ab4efabe0
3
+ metadata.gz: 0acd7c0583ab8d2dad26cd416ec6a3d0723728450bb2f4051af6c93298ebeaf3
4
+ data.tar.gz: 7ba5f11e7a14f2add6551392f49efeb20cfbfb841a4e9812dc22cc2baef3dda9
5
5
  SHA512:
6
- metadata.gz: c083ae1bcbad82a56e309cea4607efb5c92960bc2639c67b122687ee9d1d2c529a4eb362f7f6f9d06e188826b9c809fb4ac4484eec2f863040484331d492c1c4
7
- data.tar.gz: c7d7856522f0b9e48703406b6a12278a265ab5d69f6baafaa350e3b0e7b6bc5dbe73e4918d1ba47fa025741ee4322d57303baaeeaedcc8839c9bf471893b8b3b
6
+ metadata.gz: 91ca98af45c3dbca4270d3b13a6edd4e681b2d5fba3a89764ef0c7b6f4dd54fea23eafa00544390b9526429678050d2563d911e1923c145ed2533ff4763dfd94
7
+ data.tar.gz: ca2a3dc8545af6bc917a99cfc631ca12bdc2a80143d39deb77ba1ea0637794be02d2dae675a4ba57d9fe1d50c0f016f904f304b37b60e2a0ffad9c8bb79dd410
data/lib/train/version.rb CHANGED
@@ -3,5 +3,5 @@
3
3
  # Author:: Dominik Richter (<dominik.richter@gmail.com>)
4
4
 
5
5
  module Train
6
- VERSION = '1.5.11'.freeze
6
+ VERSION = '1.6.3'.freeze
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: train-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.11
4
+ version: 1.6.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dominik Richter
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-12-10 00:00:00.000000000 Z
11
+ date: 2018-12-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mixlib-shellout
@@ -51,10 +51,7 @@ executables: []
51
51
  extensions: []
52
52
  extra_rdoc_files: []
53
53
  files:
54
- - CHANGELOG.md
55
- - Gemfile
56
54
  - LICENSE
57
- - README.md
58
55
  - lib/train.rb
59
56
  - lib/train/errors.rb
60
57
  - lib/train/extras.rb
@@ -91,7 +88,6 @@ files:
91
88
  - lib/train/transports/local.rb
92
89
  - lib/train/transports/mock.rb
93
90
  - lib/train/version.rb
94
- - train-core.gemspec
95
91
  homepage: https://github.com/inspec/train/
96
92
  licenses:
97
93
  - Apache-2.0
data/CHANGELOG.md DELETED
@@ -1,900 +0,0 @@
1
- <!-- latest_release 1.5.11 -->
2
- ## [v1.5.11](https://github.com/inspec/train/tree/v1.5.11) (2018-12-10)
3
-
4
- #### Merged Pull Requests
5
- - Pass logger to Cisco IOS transport [#381](https://github.com/inspec/train/pull/381) ([btm](https://github.com/btm))
6
- <!-- latest_release -->
7
-
8
- <!-- release_rollup since=1.5.6 -->
9
- ### Changes since 1.5.6 release
10
-
11
- #### Merged Pull Requests
12
- - Pass logger to Cisco IOS transport [#381](https://github.com/inspec/train/pull/381) ([btm](https://github.com/btm)) <!-- 1.5.11 -->
13
- - Added a new matcher for amazon linux 2 [#380](https://github.com/inspec/train/pull/380) ([artyomtkachenko](https://github.com/artyomtkachenko)) <!-- 1.5.10 -->
14
- - Remove `#local?` [#365](https://github.com/inspec/train/pull/365) ([jerryaldrichiii](https://github.com/jerryaldrichiii)) <!-- 1.5.9 -->
15
- - Fix shallow_link_path on remote unix [#373](https://github.com/inspec/train/pull/373) ([mheiges](https://github.com/mheiges)) <!-- 1.5.8 -->
16
- - Add Google API application info [#378](https://github.com/inspec/train/pull/378) ([nathenharvey](https://github.com/nathenharvey)) <!-- 1.5.7 -->
17
- <!-- release_rollup -->
18
-
19
- <!-- latest_stable_release -->
20
- ## [v1.5.6](https://github.com/inspec/train/tree/v1.5.6) (2018-11-01)
21
-
22
- #### Merged Pull Requests
23
- - Fix Cisco IOS detection when banners lack a `\r\n` [#372](https://github.com/inspec/train/pull/372) ([jerryaldrichiii](https://github.com/jerryaldrichiii))
24
- - Adds cached_client method in BaseConnection [#371](https://github.com/inspec/train/pull/371) ([dmccown](https://github.com/dmccown))
25
- <!-- latest_stable_release -->
26
-
27
- ## [v1.5.4](https://github.com/inspec/train/tree/v1.5.4) (2018-10-18)
28
-
29
- #### Merged Pull Requests
30
- - Fixes the link pointing back to the plugin docs [#362](https://github.com/inspec/train/pull/362) ([cattywampus](https://github.com/cattywampus))
31
- - Remove the legacy version bumping from the rakefile [#359](https://github.com/inspec/train/pull/359) ([tas50](https://github.com/tas50))
32
- - Adds Azure Vault Client [#351](https://github.com/inspec/train/pull/351) ([r-fennell](https://github.com/r-fennell))
33
- - Correct example plugin link [#363](https://github.com/inspec/train/pull/363) ([jerryaldrichiii](https://github.com/jerryaldrichiii))
34
-
35
- ## [v1.5.0](https://github.com/inspec/train/tree/v1.5.0) (2018-09-27)
36
-
37
- #### Merged Pull Requests
38
- - Update google-api-client version. [#348](https://github.com/inspec/train/pull/348) ([skpaterson](https://github.com/skpaterson))
39
- - Adding GCP admin_client helper. [#349](https://github.com/inspec/train/pull/349) ([skpaterson](https://github.com/skpaterson))
40
- - Plugins: Test harness, test fixture, docs, and local-type example [#356](https://github.com/inspec/train/pull/356) ([clintoncwolfe](https://github.com/clintoncwolfe))
41
- - Bump minor version. [#357](https://github.com/inspec/train/pull/357) ([jquick](https://github.com/jquick))
42
-
43
- ## [v1.4.37](https://github.com/inspec/train/tree/v1.4.37) (2018-09-13)
44
-
45
- #### Merged Pull Requests
46
- - Rescues SystemCallError instead of Errno [#346](https://github.com/inspec/train/pull/346) ([dmccown](https://github.com/dmccown))
47
- - Add a export method for platforms [#347](https://github.com/inspec/train/pull/347) ([jquick](https://github.com/jquick))
48
-
49
- ## [v1.4.35](https://github.com/inspec/train/tree/v1.4.35) (2018-08-23)
50
-
51
- #### Merged Pull Requests
52
- - Ensure unique_identifier returns something meaningful for service acc… [#338](https://github.com/inspec/train/pull/338) ([skpaterson](https://github.com/skpaterson))
53
- - Modify Cisco UUID detection to use processor ID [#342](https://github.com/inspec/train/pull/342) ([jerryaldrichiii](https://github.com/jerryaldrichiii))
54
- - Fixes failing test when you have a cred file [#343](https://github.com/inspec/train/pull/343) ([dmccown](https://github.com/dmccown))
55
- - Adds connection to Graph RBAC API [#327](https://github.com/inspec/train/pull/327) ([r-fennell](https://github.com/r-fennell))
56
-
57
- ## [v1.4.31](https://github.com/inspec/train/tree/v1.4.31) (2018-08-17)
58
-
59
- #### Merged Pull Requests
60
- - Fixes an issue where the credential file was nil [#337](https://github.com/inspec/train/pull/337) ([dmccown](https://github.com/dmccown))
61
- - Enable using rubygems as plugins [#335](https://github.com/inspec/train/pull/335) ([clintoncwolfe](https://github.com/clintoncwolfe))
62
-
63
- ## [v1.4.29](https://github.com/inspec/train/tree/v1.4.29) (2018-08-15)
64
-
65
- #### Features & Enhancements
66
- - Pulls file credentials parsing out of Azure class [#324](https://github.com/inspec/train/pull/324) ([dmccown](https://github.com/dmccown))
67
-
68
- #### Merged Pull Requests
69
- - Modify checksum logic to use system binaries [#251](https://github.com/inspec/train/pull/251) ([jerryaldrichiii](https://github.com/jerryaldrichiii))
70
- - Require Ruby 2.0 and allow net-ssh 5.0 [#334](https://github.com/inspec/train/pull/334) ([tas50](https://github.com/tas50))
71
- - Add non_interactive support for SSH [#336](https://github.com/inspec/train/pull/336) ([marcparadise](https://github.com/marcparadise))
72
-
73
- ## [v1.4.25](https://github.com/inspec/train/tree/v1.4.25) (2018-08-01)
74
-
75
- #### Merged Pull Requests
76
- - Remove not needed google-cloud dependency (see #328) and correct GCP … [#329](https://github.com/inspec/train/pull/329) ([skpaterson](https://github.com/skpaterson))
77
-
78
- ## [v1.4.24](https://github.com/inspec/train/tree/v1.4.24) (2018-07-26)
79
-
80
- #### Merged Pull Requests
81
- - Add shallow_link_path to inspect symlink direct link [#309](https://github.com/inspec/train/pull/309) ([ColinHebert](https://github.com/ColinHebert))
82
- - Retry SSH command on IOError (Cisco IOS specific) [#326](https://github.com/inspec/train/pull/326) ([jerryaldrichiii](https://github.com/jerryaldrichiii))
83
-
84
- ## [v1.4.22](https://github.com/inspec/train/tree/v1.4.22) (2018-07-16)
85
-
86
- #### Merged Pull Requests
87
- - Add VMware transport [#321](https://github.com/inspec/train/pull/321) ([jerryaldrichiii](https://github.com/jerryaldrichiii))
88
-
89
- ## [v1.4.21](https://github.com/inspec/train/tree/v1.4.21) (2018-07-05)
90
-
91
- #### Merged Pull Requests
92
- - Remove the delivery cookbook [#317](https://github.com/inspec/train/pull/317) ([tas50](https://github.com/tas50))
93
- - Modify `WindowsPipeRunner` stderr to use String [#320](https://github.com/inspec/train/pull/320) ([jerryaldrichiii](https://github.com/jerryaldrichiii))
94
-
95
- ## [v1.4.19](https://github.com/inspec/train/tree/v1.4.19) (2018-06-29)
96
-
97
- #### Merged Pull Requests
98
- - Fix detection of amazon linux 2 [#312](https://github.com/inspec/train/pull/312) ([artem-sidorenko](https://github.com/artem-sidorenko))
99
- - Adding proper bastion support [#310](https://github.com/inspec/train/pull/310) ([frezbo](https://github.com/frezbo))
100
- - Remove github_changelog_generator [#313](https://github.com/inspec/train/pull/313) ([tas50](https://github.com/tas50))
101
- - Remove the deploy config from Travis [#315](https://github.com/inspec/train/pull/315) ([tas50](https://github.com/tas50))
102
-
103
- ## [v1.4.15](https://github.com/inspec/train/tree/v1.4.15) (2018-06-14)
104
-
105
- #### Merged Pull Requests
106
- - Allow TrainError to provide a supplement reason [#303](https://github.com/inspec/train/pull/303) ([marcparadise](https://github.com/marcparadise))
107
- - Adding Oneview to platform detection. [#307](https://github.com/inspec/train/pull/307) ([skpaterson](https://github.com/skpaterson))
108
- - Add the mock transport to train-core [#308](https://github.com/inspec/train/pull/308) ([jquick](https://github.com/jquick))
109
- - Don&#39;t double-escape paths [#306](https://github.com/inspec/train/pull/306) ([voroniys](https://github.com/voroniys))
110
-
111
- ## [v1.4.11](https://github.com/inspec/train/tree/v1.4.11) (2018-05-17)
112
-
113
- #### Merged Pull Requests
114
- - Add required env for azure shell msi headers [#302](https://github.com/inspec/train/pull/302) ([jquick](https://github.com/jquick))
115
-
116
- ## [v1.4.10](https://github.com/inspec/train/tree/v1.4.10) (2018-05-17)
117
-
118
- #### Merged Pull Requests
119
- - support sudo passwords for cisco [#301](https://github.com/inspec/train/pull/301) ([arlimus](https://github.com/arlimus))
120
-
121
- ## [v1.4.9](https://github.com/inspec/train/tree/v1.4.9) (2018-05-16)
122
-
123
- #### Bug Fixes
124
- - Allow nil password and www_form_encoded_password to work together. [#297](https://github.com/inspec/train/pull/297) ([marcparadise](https://github.com/marcparadise))
125
-
126
- #### Merged Pull Requests
127
- - Support encoded passwords in target url [#296](https://github.com/inspec/train/pull/296) ([marcparadise](https://github.com/marcparadise))
128
- - Initial import of transport for GCP. [#283](https://github.com/inspec/train/pull/283) ([skpaterson](https://github.com/skpaterson))
129
- - Change Cisco IOS transport log level to INFO [#298](https://github.com/inspec/train/pull/298) ([jerryaldrichiii](https://github.com/jerryaldrichiii))
130
- - Unpin google-protobuf now that we are building it as a gem [#300](https://github.com/inspec/train/pull/300) ([scotthain](https://github.com/scotthain))
131
-
132
- ## [v1.4.4](https://github.com/inspec/train/tree/v1.4.4) (2018-05-02)
133
-
134
- #### Merged Pull Requests
135
- - Enable expeditor release tasks [#294](https://github.com/inspec/train/pull/294) ([jquick](https://github.com/jquick))
136
- - Split train into a core gem. [#293](https://github.com/inspec/train/pull/293) ([miah](https://github.com/miah))
137
-
138
-
139
-
140
- # Change Log
141
-
142
- ## [1.4.2](https://github.com/inspec/train/tree/1.4.2) (2018-04-26)
143
- [Full Changelog](https://github.com/inspec/train/compare/v1.4.1...1.4.2)
144
-
145
- **Merged pull requests:**
146
-
147
- - switched method of determining aws account id to STS [\#286](https://github.com/inspec/train/pull/286) ([tkrueger](https://github.com/tkrueger))
148
-
149
- ## [v1.4.1](https://github.com/inspec/train/tree/v1.4.1) (2018-04-19)
150
- [Full Changelog](https://github.com/inspec/train/compare/v1.4.0...v1.4.1)
151
-
152
- **Merged pull requests:**
153
-
154
- - Release 1.4.1 [\#287](https://github.com/inspec/train/pull/287) ([jquick](https://github.com/jquick))
155
- - Add UUID for Cisco IOS and Nexus devices [\#285](https://github.com/inspec/train/pull/285) ([jerryaldrichiii](https://github.com/jerryaldrichiii))
156
- - Add handling for privileged exec mode [\#284](https://github.com/inspec/train/pull/284) ([jerryaldrichiii](https://github.com/jerryaldrichiii))
157
-
158
- ## [v1.4.0](https://github.com/inspec/train/tree/v1.4.0) (2018-04-12)
159
- [Full Changelog](https://github.com/inspec/train/compare/v1.3.0...v1.4.0)
160
-
161
- **Closed issues:**
162
-
163
- - Train reports directories with the archive bit set as files on the windows platform [\#274](https://github.com/inspec/train/issues/274)
164
-
165
- **Merged pull requests:**
166
-
167
- - Release 1.4.0 [\#282](https://github.com/inspec/train/pull/282) ([jquick](https://github.com/jquick))
168
- - Add CloudLinux as a detected platform [\#281](https://github.com/inspec/train/pull/281) ([tarcinil](https://github.com/tarcinil))
169
- - Move Cisco IOS connection under SSH transport [\#279](https://github.com/inspec/train/pull/279) ([jerryaldrichiii](https://github.com/jerryaldrichiii))
170
- - Initialize FileManager using '@service' [\#278](https://github.com/inspec/train/pull/278) ([marcparadise](https://github.com/marcparadise))
171
- - small fix to make sure windows directories with the archive bit set a… [\#275](https://github.com/inspec/train/pull/275) ([devoptimist](https://github.com/devoptimist))
172
-
173
- ## [v1.3.0](https://github.com/inspec/train/tree/v1.3.0) (2018-03-29)
174
- [Full Changelog](https://github.com/inspec/train/compare/v1.2.0...v1.3.0)
175
-
176
- **Implemented enhancements:**
177
-
178
- - Update errors to have a base type of Train::Error [\#273](https://github.com/inspec/train/pull/273) ([marcparadise](https://github.com/marcparadise))
179
-
180
- **Closed issues:**
181
-
182
- - RFC: Generate unique uuid for platforms [\#264](https://github.com/inspec/train/issues/264)
183
-
184
- **Merged pull requests:**
185
-
186
- - Release Train 1.3.0 [\#276](https://github.com/inspec/train/pull/276) ([jquick](https://github.com/jquick))
187
- - Add MSI connection option for azure. [\#272](https://github.com/inspec/train/pull/272) ([jquick](https://github.com/jquick))
188
- - Add transport for Cisco IOS [\#271](https://github.com/inspec/train/pull/271) ([jerryaldrichiii](https://github.com/jerryaldrichiii))
189
- - Add platform uuid information. [\#270](https://github.com/inspec/train/pull/270) ([jquick](https://github.com/jquick))
190
-
191
- ## [v1.2.0](https://github.com/inspec/train/tree/v1.2.0) (2018-03-15)
192
- [Full Changelog](https://github.com/inspec/train/compare/v1.1.1...v1.2.0)
193
-
194
- **Implemented enhancements:**
195
-
196
- - Change error message to use `connection` [\#263](https://github.com/inspec/train/pull/263) ([jerryaldrichiii](https://github.com/jerryaldrichiii))
197
-
198
- **Closed issues:**
199
-
200
- - Force 64bit powershell if using ruby32 on a 64bit os [\#265](https://github.com/inspec/train/issues/265)
201
- - Master OS detect family [\#260](https://github.com/inspec/train/issues/260)
202
-
203
- **Merged pull requests:**
204
-
205
- - Release train 1.2.0 [\#269](https://github.com/inspec/train/pull/269) ([jquick](https://github.com/jquick))
206
- - Force 64bit powershell for 32bit ruby running on 64bit windows [\#266](https://github.com/inspec/train/pull/266) ([jquick](https://github.com/jquick))
207
- - support cisco ios xe [\#262](https://github.com/inspec/train/pull/262) ([arlimus](https://github.com/arlimus))
208
- - Create a master OS family and refactor specifications [\#261](https://github.com/inspec/train/pull/261) ([jquick](https://github.com/jquick))
209
- - Support for Brocade FOS-based SAN devices [\#254](https://github.com/inspec/train/pull/254) ([marcelhuth](https://github.com/marcelhuth))
210
- - ProxyCommand support [\#227](https://github.com/inspec/train/pull/227) ([cbeckr](https://github.com/cbeckr))
211
-
212
- ## [v1.1.1](https://github.com/inspec/train/tree/v1.1.1) (2018-02-14)
213
- [Full Changelog](https://github.com/inspec/train/compare/v1.1.0...v1.1.1)
214
-
215
- **Merged pull requests:**
216
-
217
- - Release train 1.1.1 [\#259](https://github.com/inspec/train/pull/259) ([jquick](https://github.com/jquick))
218
- - Add api sdk versions as platform release [\#258](https://github.com/inspec/train/pull/258) ([jquick](https://github.com/jquick))
219
- - Add plat helper methods to api direct platforms. [\#257](https://github.com/inspec/train/pull/257) ([jquick](https://github.com/jquick))
220
-
221
- ## [v1.1.0](https://github.com/inspec/train/tree/v1.1.0) (2018-02-08)
222
- [Full Changelog](https://github.com/inspec/train/compare/v1.0.0...v1.1.0)
223
-
224
- **Closed issues:**
225
-
226
- - Add azure:// target [\#233](https://github.com/inspec/train/issues/233)
227
-
228
- **Merged pull requests:**
229
-
230
- - Release train 1.1.0 [\#255](https://github.com/inspec/train/pull/255) ([jquick](https://github.com/jquick))
231
- - Add qnx platform support [\#253](https://github.com/inspec/train/pull/253) ([jquick](https://github.com/jquick))
232
- - Add azure transport [\#250](https://github.com/inspec/train/pull/250) ([jquick](https://github.com/jquick))
233
- - Fix AIX and QNX file support [\#249](https://github.com/inspec/train/pull/249) ([adamleff](https://github.com/adamleff))
234
-
235
- ## [v1.0.0](https://github.com/inspec/train/tree/v1.0.0) (2018-02-01)
236
- [Full Changelog](https://github.com/inspec/train/compare/v0.32.0...v1.0.0)
237
-
238
- **Closed issues:**
239
-
240
- - Add aws:// target [\#229](https://github.com/inspec/train/issues/229)
241
-
242
- **Merged pull requests:**
243
-
244
- - Update version to 1.0.0 [\#248](https://github.com/inspec/train/pull/248) ([jquick](https://github.com/jquick))
245
- - cisco nexus + ios12 [\#247](https://github.com/inspec/train/pull/247) ([arlimus](https://github.com/arlimus))
246
- - Add a CONTRIBUTING.md to Train [\#245](https://github.com/inspec/train/pull/245) ([miah](https://github.com/miah))
247
- - catch detect failing to parse json [\#243](https://github.com/inspec/train/pull/243) ([arlimus](https://github.com/arlimus))
248
- - if ssh closes the session force it to reset and reopen [\#242](https://github.com/inspec/train/pull/242) ([arlimus](https://github.com/arlimus))
249
- - Add AWS transport [\#239](https://github.com/inspec/train/pull/239) ([clintoncwolfe](https://github.com/clintoncwolfe))
250
- - Fix detection of Scientific Linux [\#237](https://github.com/inspec/train/pull/237) ([schrd](https://github.com/schrd))
251
-
252
- ## [v0.32.0](https://github.com/inspec/train/tree/v0.32.0) (2018-01-04)
253
- [Full Changelog](https://github.com/inspec/train/compare/v0.31.1...v0.32.0)
254
-
255
- **Fixed bugs:**
256
-
257
- - platform names should be lower case [\#191](https://github.com/inspec/train/issues/191)
258
- - Return platform name that is lower case and underscored [\#228](https://github.com/inspec/train/pull/228) ([jquick](https://github.com/jquick))
259
-
260
- **Merged pull requests:**
261
-
262
- - Release 0.32.0 [\#232](https://github.com/inspec/train/pull/232) ([adamleff](https://github.com/adamleff))
263
- - Set mock transport to use the platform instance variable [\#230](https://github.com/inspec/train/pull/230) ([jquick](https://github.com/jquick))
264
-
265
- ## [v0.31.1](https://github.com/inspec/train/tree/v0.31.1) (2017-12-06)
266
- [Full Changelog](https://github.com/inspec/train/compare/v0.31.0...v0.31.1)
267
-
268
- **Merged pull requests:**
269
-
270
- - Release 0.31.1 [\#226](https://github.com/inspec/train/pull/226) ([adamleff](https://github.com/adamleff))
271
- - Allow runner specifications for local connections [\#225](https://github.com/inspec/train/pull/225) ([jerryaldrichiii](https://github.com/jerryaldrichiii))
272
-
273
- ## [v0.31.0](https://github.com/inspec/train/tree/v0.31.0) (2017-12-05)
274
- [Full Changelog](https://github.com/inspec/train/compare/v0.30.0...v0.31.0)
275
-
276
- **Fixed bugs:**
277
-
278
- - Add release detect for failback debian [\#223](https://github.com/inspec/train/pull/223) ([jquick](https://github.com/jquick))
279
-
280
- **Merged pull requests:**
281
-
282
- - Release 0.31.0 [\#224](https://github.com/inspec/train/pull/224) ([adamleff](https://github.com/adamleff))
283
- - Use named pipe to decrease local Windows runtime [\#220](https://github.com/inspec/train/pull/220) ([jerryaldrichiii](https://github.com/jerryaldrichiii))
284
-
285
- ## [v0.30.0](https://github.com/inspec/train/tree/v0.30.0) (2017-12-04)
286
- [Full Changelog](https://github.com/inspec/train/compare/v0.29.2...v0.30.0)
287
-
288
- **Merged pull requests:**
289
-
290
- - Release 0.30.0 [\#222](https://github.com/inspec/train/pull/222) ([adamleff](https://github.com/adamleff))
291
- - Change the mock transport name to be 'mock' [\#221](https://github.com/inspec/train/pull/221) ([jquick](https://github.com/jquick))
292
- - Enable caching on connections [\#214](https://github.com/inspec/train/pull/214) ([jquick](https://github.com/jquick))
293
-
294
- ## [v0.29.2](https://github.com/inspec/train/tree/v0.29.2) (2017-11-21)
295
- [Full Changelog](https://github.com/inspec/train/compare/v0.29.1...v0.29.2)
296
-
297
- **Fixed bugs:**
298
-
299
- - Add unix\_mode\_mask method to Train::File::Local::Unix [\#215](https://github.com/inspec/train/pull/215) ([adamleff](https://github.com/adamleff))
300
-
301
- **Merged pull requests:**
302
-
303
- - Fix regressions in 0.29.1 [\#219](https://github.com/inspec/train/pull/219) ([adamleff](https://github.com/adamleff))
304
- - Use the sanitized file path for remote linux files [\#218](https://github.com/inspec/train/pull/218) ([RoboticCheese](https://github.com/RoboticCheese))
305
- - Remove bundler install during Appveyor tests [\#217](https://github.com/inspec/train/pull/217) ([adamleff](https://github.com/adamleff))
306
- - Fix inspec mock tests [\#216](https://github.com/inspec/train/pull/216) ([jquick](https://github.com/jquick))
307
- - Platform framework and detect DSL [\#209](https://github.com/inspec/train/pull/209) ([jquick](https://github.com/jquick))
308
-
309
- ## [v0.29.1](https://github.com/inspec/train/tree/v0.29.1) (2017-11-13)
310
- [Full Changelog](https://github.com/inspec/train/compare/v0.29.0...v0.29.1)
311
-
312
- **Merged pull requests:**
313
-
314
- - Release 0.29.1 [\#213](https://github.com/inspec/train/pull/213) ([adamleff](https://github.com/adamleff))
315
- - Allow for a nil value when mocking OS [\#212](https://github.com/inspec/train/pull/212) ([adamleff](https://github.com/adamleff))
316
- - Ensure a `mounted?` method exists for all File classes, including Mock [\#211](https://github.com/inspec/train/pull/211) ([adamleff](https://github.com/adamleff))
317
-
318
- ## [v0.29.0](https://github.com/inspec/train/tree/v0.29.0) (2017-11-13)
319
- [Full Changelog](https://github.com/inspec/train/compare/v0.28.0...v0.29.0)
320
-
321
- **Merged pull requests:**
322
-
323
- - Release 0.29.0 [\#210](https://github.com/inspec/train/pull/210) ([adamleff](https://github.com/adamleff))
324
- - Reverting accidental push to master re: \#204 [\#208](https://github.com/inspec/train/pull/208) ([adamleff](https://github.com/adamleff))
325
- - clearer error if no auth methods are available [\#207](https://github.com/inspec/train/pull/207) ([thommay](https://github.com/thommay))
326
- - Build a complete mock OS object [\#206](https://github.com/inspec/train/pull/206) ([adamleff](https://github.com/adamleff))
327
- - Platform framework and detect DSL [\#204](https://github.com/inspec/train/pull/204) ([jquick](https://github.com/jquick))
328
- - add basic qnx support for train [\#203](https://github.com/inspec/train/pull/203) ([chris-rock](https://github.com/chris-rock))
329
- - Add CODEOWNERS for train [\#202](https://github.com/inspec/train/pull/202) ([adamleff](https://github.com/adamleff))
330
- - implement uploads and downloads for ssh and winrm [\#201](https://github.com/inspec/train/pull/201) ([thommay](https://github.com/thommay))
331
- - \[MSYS-649\] Fix InSpec file size in Windows, refactor File classes [\#193](https://github.com/inspec/train/pull/193) ([Vasu1105](https://github.com/Vasu1105))
332
-
333
- ## [v0.28.0](https://github.com/inspec/train/tree/v0.28.0) (2017-09-25)
334
- [Full Changelog](https://github.com/inspec/train/compare/v0.27.0...v0.28.0)
335
-
336
- **Merged pull requests:**
337
-
338
- - Release 0.28.0 [\#200](https://github.com/inspec/train/pull/200) ([adamleff](https://github.com/adamleff))
339
- - Continue to support older net-ssh while fixing 4.2 deprecation [\#199](https://github.com/inspec/train/pull/199) ([adamleff](https://github.com/adamleff))
340
-
341
- ## [v0.27.0](https://github.com/inspec/train/tree/v0.27.0) (2017-09-25)
342
- [Full Changelog](https://github.com/inspec/train/compare/v0.26.2...v0.27.0)
343
-
344
- **Merged pull requests:**
345
-
346
- - Release v0.27.0 [\#198](https://github.com/inspec/train/pull/198) ([adamleff](https://github.com/adamleff))
347
- - Bump to net-ssh 4.2, fix bad net-ssh deprecation [\#197](https://github.com/inspec/train/pull/197) ([adamleff](https://github.com/adamleff))
348
-
349
- ## [v0.26.2](https://github.com/inspec/train/tree/v0.26.2) (2017-09-05)
350
- [Full Changelog](https://github.com/inspec/train/compare/v0.26.1...v0.26.2)
351
-
352
- **Merged pull requests:**
353
-
354
- - Release 0.26.2 [\#195](https://github.com/inspec/train/pull/195) ([adamleff](https://github.com/adamleff))
355
- - Fix inconsistent link\_path behavior [\#194](https://github.com/inspec/train/pull/194) ([adamleff](https://github.com/adamleff))
356
-
357
- ## [v0.26.1](https://github.com/inspec/train/tree/v0.26.1) (2017-08-14)
358
- [Full Changelog](https://github.com/inspec/train/compare/v0.26.0...v0.26.1)
359
-
360
- **Merged pull requests:**
361
-
362
- - Release 0.26.1 [\#188](https://github.com/inspec/train/pull/188) ([adamleff](https://github.com/adamleff))
363
- - Return non-zero exit code for unknown mock command [\#187](https://github.com/inspec/train/pull/187) ([chris-rock](https://github.com/chris-rock))
364
-
365
- ## [v0.26.0](https://github.com/inspec/train/tree/v0.26.0) (2017-08-10)
366
- [Full Changelog](https://github.com/inspec/train/compare/v0.25.0...v0.26.0)
367
-
368
- **Fixed bugs:**
369
-
370
- - AIX operating system name is not detected properly [\#181](https://github.com/inspec/train/issues/181)
371
-
372
- **Closed issues:**
373
-
374
- - Add support for ssh-agent to ssh transport [\#129](https://github.com/inspec/train/issues/129)
375
-
376
- **Merged pull requests:**
377
-
378
- - Release v0.26.0 [\#186](https://github.com/inspec/train/pull/186) ([adamleff](https://github.com/adamleff))
379
- - typo - should $g for group instead of doulbe $u [\#185](https://github.com/inspec/train/pull/185) ([aklyachkin](https://github.com/aklyachkin))
380
- - update ruby requirements to 2.2 - 2.4 range [\#184](https://github.com/inspec/train/pull/184) ([arlimus](https://github.com/arlimus))
381
- - detect operating system name for AIX [\#182](https://github.com/inspec/train/pull/182) ([chris-rock](https://github.com/chris-rock))
382
-
383
- ## [v0.25.0](https://github.com/inspec/train/tree/v0.25.0) (2017-06-15)
384
- [Full Changelog](https://github.com/inspec/train/compare/v0.24.0...v0.25.0)
385
-
386
- **Merged pull requests:**
387
-
388
- - Fix CoreOS platform detection [\#180](https://github.com/inspec/train/pull/180) ([rarenerd](https://github.com/rarenerd))
389
- - Remove autoloads in favor of eager loading [\#178](https://github.com/inspec/train/pull/178) ([Sharpie](https://github.com/Sharpie))
390
- - Fixed IPv6 URI parsing [\#176](https://github.com/inspec/train/pull/176) ([zfjagann](https://github.com/zfjagann))
391
-
392
- ## [v0.24.0](https://github.com/inspec/train/tree/v0.24.0) (2017-05-30)
393
- [Full Changelog](https://github.com/inspec/train/compare/v0.23.0...v0.24.0)
394
-
395
- **Merged pull requests:**
396
-
397
- - prevent sudo on localhost targets [\#179](https://github.com/inspec/train/pull/179) ([arlimus](https://github.com/arlimus))
398
-
399
- ## [v0.23.0](https://github.com/inspec/train/tree/v0.23.0) (2017-03-29)
400
- [Full Changelog](https://github.com/inspec/train/compare/v0.22.1...v0.23.0)
401
-
402
- **Merged pull requests:**
403
-
404
- - Release 0.23.0 [\#173](https://github.com/inspec/train/pull/173) ([adamleff](https://github.com/adamleff))
405
- - Fix Net::SSH warning when passing nil option values [\#172](https://github.com/inspec/train/pull/172) ([tylercloke](https://github.com/tylercloke))
406
- - winrm: hide password [\#171](https://github.com/inspec/train/pull/171) ([crepetl](https://github.com/crepetl))
407
-
408
- ## [v0.22.1](https://github.com/inspec/train/tree/v0.22.1) (2017-01-17)
409
- [Full Changelog](https://github.com/inspec/train/compare/v0.22.0...v0.22.1)
410
-
411
- **Merged pull requests:**
412
-
413
- - Release 0.22.1 [\#169](https://github.com/inspec/train/pull/169) ([tduffield](https://github.com/tduffield))
414
- - Relax net-ssh dep to allow 4.0 [\#168](https://github.com/inspec/train/pull/168) ([tduffield](https://github.com/tduffield))
415
- - Fix Oracle Linux detection [\#167](https://github.com/inspec/train/pull/167) ([carldjohnston](https://github.com/carldjohnston))
416
- - Add support for parallels & virtuozzo linux [\#166](https://github.com/inspec/train/pull/166) ([jaxxstorm](https://github.com/jaxxstorm))
417
-
418
- ## [v0.22.0](https://github.com/inspec/train/tree/v0.22.0) (2016-11-29)
419
- [Full Changelog](https://github.com/inspec/train/compare/v0.21.1...v0.22.0)
420
-
421
- **Implemented enhancements:**
422
-
423
- - Try to use ssh agent if no password or key files have been specified [\#165](https://github.com/inspec/train/pull/165) ([alexpop](https://github.com/alexpop))
424
-
425
- **Merged pull requests:**
426
-
427
- - Add openvms detection [\#159](https://github.com/inspec/train/pull/159) ([briandoodyie](https://github.com/briandoodyie))
428
-
429
- ## [v0.21.1](https://github.com/inspec/train/tree/v0.21.1) (2016-11-04)
430
- [Full Changelog](https://github.com/inspec/train/compare/v0.21.0...v0.21.1)
431
-
432
- **Closed issues:**
433
-
434
- - detect\_arista\_eos raises exception against unix host [\#160](https://github.com/inspec/train/issues/160)
435
-
436
- **Merged pull requests:**
437
-
438
- - ensure the os detection works in pty mode [\#161](https://github.com/inspec/train/pull/161) ([chris-rock](https://github.com/chris-rock))
439
-
440
- ## [v0.21.0](https://github.com/inspec/train/tree/v0.21.0) (2016-11-04)
441
- [Full Changelog](https://github.com/inspec/train/compare/v0.20.1...v0.21.0)
442
-
443
- **Implemented enhancements:**
444
-
445
- - Train doesn't create a login shell [\#148](https://github.com/inspec/train/issues/148)
446
-
447
- **Merged pull requests:**
448
-
449
- - Add detection for Arista EOS [\#158](https://github.com/inspec/train/pull/158) ([jerearista](https://github.com/jerearista))
450
-
451
- ## [v0.20.1](https://github.com/inspec/train/tree/v0.20.1) (2016-10-15)
452
- [Full Changelog](https://github.com/inspec/train/compare/v0.20.0...v0.20.1)
453
-
454
- **Fixed bugs:**
455
-
456
- - support empty URIs [\#154](https://github.com/inspec/train/pull/154) ([arlimus](https://github.com/arlimus))
457
-
458
- ## [v0.20.0](https://github.com/inspec/train/tree/v0.20.0) (2016-09-21)
459
- [Full Changelog](https://github.com/inspec/train/compare/v0.19.1...v0.20.0)
460
-
461
- **Fixed bugs:**
462
-
463
- - get `Preparing modules for first use.` when I use train on Windows [\#153](https://github.com/inspec/train/issues/153)
464
-
465
- **Merged pull requests:**
466
-
467
- - `Preparing modules for first use.` error message on Windows [\#152](https://github.com/inspec/train/pull/152) ([chris-rock](https://github.com/chris-rock))
468
- - Convert `wmic` architecture to a normal standard [\#151](https://github.com/inspec/train/pull/151) ([jerryaldrichiii](https://github.com/jerryaldrichiii))
469
- - Login shell [\#149](https://github.com/inspec/train/pull/149) ([jonathanmorley](https://github.com/jonathanmorley))
470
-
471
- ## [v0.19.1](https://github.com/inspec/train/tree/v0.19.1) (2016-09-16)
472
- [Full Changelog](https://github.com/inspec/train/compare/v0.19.0...v0.19.1)
473
-
474
- **Implemented enhancements:**
475
-
476
- - hostname property for WinRM::Connection [\#128](https://github.com/inspec/train/issues/128)
477
- - Return hostname from WinRM::Connection same as SSH::Connection [\#150](https://github.com/inspec/train/pull/150) ([alexpop](https://github.com/alexpop))
478
-
479
- ## [v0.19.0](https://github.com/inspec/train/tree/v0.19.0) (2016-09-05)
480
- [Full Changelog](https://github.com/inspec/train/compare/v0.18.0...v0.19.0)
481
-
482
- **Fixed bugs:**
483
-
484
- - use stat -c for alpine linux [\#146](https://github.com/inspec/train/pull/146) ([chris-rock](https://github.com/chris-rock))
485
-
486
- **Merged pull requests:**
487
-
488
- - support ruby 2.2.1 [\#145](https://github.com/inspec/train/pull/145) ([chris-rock](https://github.com/chris-rock))
489
- - Use winrm v2 implementation [\#122](https://github.com/inspec/train/pull/122) ([mwrock](https://github.com/mwrock))
490
-
491
- ## [v0.18.0](https://github.com/inspec/train/tree/v0.18.0) (2016-08-26)
492
- [Full Changelog](https://github.com/inspec/train/compare/v0.17.0...v0.18.0)
493
-
494
- **Merged pull requests:**
495
-
496
- - Allow JSON 2.0 on Ruby 2.2 and above [\#144](https://github.com/inspec/train/pull/144) ([jkeiser](https://github.com/jkeiser))
497
- - Enable Ruby 2.3 in Travis, make it default suite [\#143](https://github.com/inspec/train/pull/143) ([jkeiser](https://github.com/jkeiser))
498
- - Add the darwin platform family [\#141](https://github.com/inspec/train/pull/141) ([tas50](https://github.com/tas50))
499
- - update integration test dependencies [\#139](https://github.com/inspec/train/pull/139) ([tas50](https://github.com/tas50))
500
- - Add badges to the readme [\#138](https://github.com/inspec/train/pull/138) ([tas50](https://github.com/tas50))
501
- - use --decode on base64 command to maintain compatibility with Darwin. [\#137](https://github.com/inspec/train/pull/137) ([thomascate](https://github.com/thomascate))
502
-
503
- ## [v0.17.0](https://github.com/inspec/train/tree/v0.17.0) (2016-08-19)
504
- [Full Changelog](https://github.com/inspec/train/compare/v0.16.0...v0.17.0)
505
-
506
- **Implemented enhancements:**
507
-
508
- - return owner for files on windows [\#132](https://github.com/inspec/train/pull/132) ([chris-rock](https://github.com/chris-rock))
509
-
510
- **Closed issues:**
511
-
512
- - prefix powershell commands with `$ProgressPreference = "SilentlyContinue"` [\#134](https://github.com/inspec/train/issues/134)
513
-
514
- **Merged pull requests:**
515
-
516
- - CI improvements [\#133](https://github.com/inspec/train/pull/133) ([chris-rock](https://github.com/chris-rock))
517
- - Rescue EPIPE on connect in ssh transport [\#130](https://github.com/inspec/train/pull/130) ([stevendanna](https://github.com/stevendanna))
518
-
519
- ## [v0.16.0](https://github.com/inspec/train/tree/v0.16.0) (2016-08-08)
520
- [Full Changelog](https://github.com/inspec/train/compare/v0.15.1...v0.16.0)
521
-
522
- **Merged pull requests:**
523
-
524
- - provide file\_version and product\_version for windows files [\#127](https://github.com/inspec/train/pull/127) ([chris-rock](https://github.com/chris-rock))
525
- - Bring train platform data more in line with ohai's platform data [\#126](https://github.com/inspec/train/pull/126) ([stevendanna](https://github.com/stevendanna))
526
-
527
- ## [v0.15.1](https://github.com/inspec/train/tree/v0.15.1) (2016-07-11)
528
- [Full Changelog](https://github.com/inspec/train/compare/v0.15.0...v0.15.1)
529
-
530
- **Fixed bugs:**
531
-
532
- - bugfix: higher mode bits on local connection [\#125](https://github.com/inspec/train/pull/125) ([arlimus](https://github.com/arlimus))
533
-
534
- **Merged pull requests:**
535
-
536
- - Test ruby 2.1 instead of 1.9.3 and only launch one test group per travis/appveyor [\#123](https://github.com/inspec/train/pull/123) ([mwrock](https://github.com/mwrock))
537
-
538
- ## [v0.15.0](https://github.com/inspec/train/tree/v0.15.0) (2016-07-01)
539
- [Full Changelog](https://github.com/inspec/train/compare/v0.14.2...v0.15.0)
540
-
541
- **Implemented enhancements:**
542
-
543
- - have net-ssh request a pty [\#60](https://github.com/inspec/train/issues/60)
544
-
545
- **Merged pull requests:**
546
-
547
- - Allow requesting a PTY [\#121](https://github.com/inspec/train/pull/121) ([srenatus](https://github.com/srenatus))
548
-
549
- ## [v0.14.2](https://github.com/inspec/train/tree/v0.14.2) (2016-06-28)
550
- [Full Changelog](https://github.com/inspec/train/compare/v0.14.1...v0.14.2)
551
-
552
- **Merged pull requests:**
553
-
554
- - do not log password in ssh connection output [\#120](https://github.com/inspec/train/pull/120) ([marcparadise](https://github.com/marcparadise))
555
-
556
- ## [v0.14.1](https://github.com/inspec/train/tree/v0.14.1) (2016-06-27)
557
- [Full Changelog](https://github.com/inspec/train/compare/v0.14.0...v0.14.1)
558
-
559
- **Fixed bugs:**
560
-
561
- - bugfix: add mock backend initialization [\#119](https://github.com/inspec/train/pull/119) ([arlimus](https://github.com/arlimus))
562
-
563
- ## [v0.14.0](https://github.com/inspec/train/tree/v0.14.0) (2016-06-27)
564
- [Full Changelog](https://github.com/inspec/train/compare/v0.13.1...v0.14.0)
565
-
566
- **Implemented enhancements:**
567
-
568
- - json in and out for base connection [\#118](https://github.com/inspec/train/pull/118) ([arlimus](https://github.com/arlimus))
569
- - ESX support [\#116](https://github.com/inspec/train/pull/116) ([Anirudh-Gupta](https://github.com/Anirudh-Gupta))
570
-
571
- **Fixed bugs:**
572
-
573
- - sporadic appveyor failure on `winrm delete ...` [\#105](https://github.com/inspec/train/issues/105)
574
- - bugfix: run frozen string commands via ssh [\#117](https://github.com/inspec/train/pull/117) ([arlimus](https://github.com/arlimus))
575
-
576
- ## [v0.13.1](https://github.com/inspec/train/tree/v0.13.1) (2016-06-16)
577
- [Full Changelog](https://github.com/inspec/train/compare/v0.13.0...v0.13.1)
578
-
579
- **Implemented enhancements:**
580
-
581
- - use train as gem name. Thanks @halo [\#115](https://github.com/inspec/train/pull/115) ([chris-rock](https://github.com/chris-rock))
582
-
583
- ## [v0.13.0](https://github.com/inspec/train/tree/v0.13.0) (2016-06-16)
584
- [Full Changelog](https://github.com/inspec/train/compare/v0.12.1...v0.13.0)
585
-
586
- **Implemented enhancements:**
587
-
588
- - provide uri-formatted information on all connections [\#113](https://github.com/inspec/train/pull/113) ([arlimus](https://github.com/arlimus))
589
-
590
- **Fixed bugs:**
591
-
592
- - Authentication with SSH Server on OSX is failing [\#111](https://github.com/inspec/train/issues/111)
593
-
594
- **Merged pull requests:**
595
-
596
- - adding support for vmware's esx server [\#114](https://github.com/inspec/train/pull/114) ([Anirudh-Gupta](https://github.com/Anirudh-Gupta))
597
- - add missing keyboard-interactive authentication method [\#112](https://github.com/inspec/train/pull/112) ([chris-rock](https://github.com/chris-rock))
598
-
599
- ## [v0.12.1](https://github.com/inspec/train/tree/v0.12.1) (2016-05-23)
600
- [Full Changelog](https://github.com/inspec/train/compare/v0.12.0...v0.12.1)
601
-
602
- **Fixed bugs:**
603
-
604
- - loosen restriction for docker api [\#109](https://github.com/inspec/train/pull/109) ([chris-rock](https://github.com/chris-rock))
605
-
606
- **Closed issues:**
607
-
608
- - docker-api conflict when using docker cookbook [\#108](https://github.com/inspec/train/issues/108)
609
-
610
- ## [v0.12.0](https://github.com/inspec/train/tree/v0.12.0) (2016-05-16)
611
- [Full Changelog](https://github.com/inspec/train/compare/v0.11.4...v0.12.0)
612
-
613
- **Merged pull requests:**
614
-
615
- - Custom sudo command [\#107](https://github.com/inspec/train/pull/107) ([jeremymv2](https://github.com/jeremymv2))
616
-
617
- ## [v0.11.4](https://github.com/inspec/train/tree/v0.11.4) (2016-05-13)
618
- [Full Changelog](https://github.com/inspec/train/compare/v0.11.3...v0.11.4)
619
-
620
- **Fixed bugs:**
621
-
622
- - mount resource incorrect matching [\#103](https://github.com/inspec/train/issues/103)
623
- - Add a space to avoid matching partial paths [\#104](https://github.com/inspec/train/pull/104) ([alexpop](https://github.com/alexpop))
624
- - Update README.md [\#102](https://github.com/inspec/train/pull/102) ([mcquin](https://github.com/mcquin))
625
-
626
- **Merged pull requests:**
627
-
628
- - 0.11.4 [\#106](https://github.com/inspec/train/pull/106) ([arlimus](https://github.com/arlimus))
629
-
630
- ## [v0.11.3](https://github.com/inspec/train/tree/v0.11.3) (2016-05-10)
631
- [Full Changelog](https://github.com/inspec/train/compare/v0.11.2...v0.11.3)
632
-
633
- **Fixed bugs:**
634
-
635
- - appveyor fixing... [\#98](https://github.com/inspec/train/pull/98) ([arlimus](https://github.com/arlimus))
636
-
637
- **Merged pull requests:**
638
-
639
- - fix: winrm https listener is not configured anymore in appveyor [\#100](https://github.com/inspec/train/pull/100) ([chris-rock](https://github.com/chris-rock))
640
- - use aix stats implementation for hpux as well [\#99](https://github.com/inspec/train/pull/99) ([Anirudh-Gupta](https://github.com/Anirudh-Gupta))
641
-
642
- ## [v0.11.2](https://github.com/inspec/train/tree/v0.11.2) (2016-04-29)
643
- [Full Changelog](https://github.com/inspec/train/compare/v0.11.1...v0.11.2)
644
-
645
- **Fixed bugs:**
646
-
647
- - bugfix: windows file failed to initialize with new symlink handler [\#96](https://github.com/inspec/train/pull/96) ([arlimus](https://github.com/arlimus))
648
-
649
- **Merged pull requests:**
650
-
651
- - 0.11.2 [\#97](https://github.com/inspec/train/pull/97) ([alexpop](https://github.com/alexpop))
652
-
653
- ## [v0.11.1](https://github.com/inspec/train/tree/v0.11.1) (2016-04-28)
654
- [Full Changelog](https://github.com/inspec/train/compare/v0.11.0...v0.11.1)
655
-
656
- **Fixed bugs:**
657
-
658
- - fix nil file paths [\#94](https://github.com/inspec/train/pull/94) ([arlimus](https://github.com/arlimus))
659
-
660
- **Merged pull requests:**
661
-
662
- - provide a source path for filecommon [\#95](https://github.com/inspec/train/pull/95) ([arlimus](https://github.com/arlimus))
663
- - restructure docker tests to balance load between 2 runs [\#93](https://github.com/inspec/train/pull/93) ([arlimus](https://github.com/arlimus))
664
-
665
- ## [v0.11.0](https://github.com/inspec/train/tree/v0.11.0) (2016-04-28)
666
- [Full Changelog](https://github.com/inspec/train/compare/v0.10.8...v0.11.0)
667
-
668
- **Implemented enhancements:**
669
-
670
- - Overhault file\(...\) and stat\(...\); point to destination of symlinks [\#92](https://github.com/inspec/train/pull/92) ([arlimus](https://github.com/arlimus))
671
-
672
- **Fixed bugs:**
673
-
674
- - validate the backend configuration [\#91](https://github.com/inspec/train/pull/91) ([arlimus](https://github.com/arlimus))
675
-
676
- ## [v0.10.8](https://github.com/inspec/train/tree/v0.10.8) (2016-04-25)
677
- [Full Changelog](https://github.com/inspec/train/compare/v0.10.7...v0.10.8)
678
-
679
- **Implemented enhancements:**
680
-
681
- - loose restriction for mixlib-shellout [\#89](https://github.com/inspec/train/pull/89) ([chris-rock](https://github.com/chris-rock))
682
-
683
- **Merged pull requests:**
684
-
685
- - use gemspec for travis [\#90](https://github.com/inspec/train/pull/90) ([chris-rock](https://github.com/chris-rock))
686
- - Don't strip off the second byte of the octal mode. [\#88](https://github.com/inspec/train/pull/88) ([justindossey](https://github.com/justindossey))
687
-
688
- ## [v0.10.7](https://github.com/inspec/train/tree/v0.10.7) (2016-04-21)
689
- [Full Changelog](https://github.com/inspec/train/compare/v0.10.6...v0.10.7)
690
-
691
- **Merged pull requests:**
692
-
693
- - 0.10.7 [\#87](https://github.com/inspec/train/pull/87) ([arlimus](https://github.com/arlimus))
694
- - Revert "add -L to get stat for symlink" [\#86](https://github.com/inspec/train/pull/86) ([arlimus](https://github.com/arlimus))
695
-
696
- ## [v0.10.6](https://github.com/inspec/train/tree/v0.10.6) (2016-04-20)
697
- [Full Changelog](https://github.com/inspec/train/compare/v0.10.5...v0.10.6)
698
-
699
- **Merged pull requests:**
700
-
701
- - add -L to get stat for symlink [\#85](https://github.com/inspec/train/pull/85) ([vjeffrey](https://github.com/vjeffrey))
702
- - release via travis + test via rubygems [\#84](https://github.com/inspec/train/pull/84) ([arlimus](https://github.com/arlimus))
703
-
704
- ## [v0.10.5](https://github.com/inspec/train/tree/v0.10.5) (2016-04-18)
705
- [Full Changelog](https://github.com/inspec/train/compare/v0.10.4...v0.10.5)
706
-
707
- **Merged pull requests:**
708
-
709
- - 0.10.5 [\#83](https://github.com/inspec/train/pull/83) ([srenatus](https://github.com/srenatus))
710
- - detection for hp-ux machine [\#82](https://github.com/inspec/train/pull/82) ([Anirudh-Gupta](https://github.com/Anirudh-Gupta))
711
-
712
- ## [v0.10.4](https://github.com/inspec/train/tree/v0.10.4) (2016-03-31)
713
- [Full Changelog](https://github.com/inspec/train/compare/v0.10.3...v0.10.4)
714
-
715
- **Fixed bugs:**
716
-
717
- - bugfix: do not use unix path escape for windows [\#79](https://github.com/inspec/train/pull/79) ([chris-rock](https://github.com/chris-rock))
718
-
719
- **Merged pull requests:**
720
-
721
- - 0.10.4 [\#80](https://github.com/inspec/train/pull/80) ([arlimus](https://github.com/arlimus))
722
-
723
- ## [v0.10.3](https://github.com/inspec/train/tree/v0.10.3) (2016-03-07)
724
- [Full Changelog](https://github.com/inspec/train/compare/v0.10.1...v0.10.3)
725
-
726
- **Fixed bugs:**
727
-
728
- - set default value for ssh compression to false [\#77](https://github.com/inspec/train/pull/77) ([chris-rock](https://github.com/chris-rock))
729
- - avoid mock backend error on nil commands [\#75](https://github.com/inspec/train/pull/75) ([arlimus](https://github.com/arlimus))
730
-
731
- **Merged pull requests:**
732
-
733
- - 0.10.3 [\#78](https://github.com/inspec/train/pull/78) ([chris-rock](https://github.com/chris-rock))
734
- - 0.10.2 [\#76](https://github.com/inspec/train/pull/76) ([arlimus](https://github.com/arlimus))
735
-
736
- ## [v0.10.1](https://github.com/inspec/train/tree/v0.10.1) (2016-02-29)
737
- [Full Changelog](https://github.com/inspec/train/compare/v0.10.0...v0.10.1)
738
-
739
- **Merged pull requests:**
740
-
741
- - 0.10.1 [\#74](https://github.com/inspec/train/pull/74) ([chris-rock](https://github.com/chris-rock))
742
- - fix gem build license warning [\#73](https://github.com/inspec/train/pull/73) ([chris-rock](https://github.com/chris-rock))
743
- - depend on docker-api 1.26.2 [\#72](https://github.com/inspec/train/pull/72) ([someara](https://github.com/someara))
744
-
745
- ## [v0.10.0](https://github.com/inspec/train/tree/v0.10.0) (2016-02-19)
746
- [Full Changelog](https://github.com/inspec/train/compare/v0.9.7...v0.10.0)
747
-
748
- **Implemented enhancements:**
749
-
750
- - show mock failures for commands [\#69](https://github.com/inspec/train/pull/69) ([arlimus](https://github.com/arlimus))
751
- - update gems and rubocop [\#68](https://github.com/inspec/train/pull/68) ([arlimus](https://github.com/arlimus))
752
-
753
- **Fixed bugs:**
754
-
755
- - complete rewrite of windows version detection [\#70](https://github.com/inspec/train/pull/70) ([chris-rock](https://github.com/chris-rock))
756
-
757
- **Merged pull requests:**
758
-
759
- - 0.10.0 [\#71](https://github.com/inspec/train/pull/71) ([chris-rock](https://github.com/chris-rock))
760
-
761
- ## [v0.9.7](https://github.com/inspec/train/tree/v0.9.7) (2016-02-05)
762
- [Full Changelog](https://github.com/inspec/train/compare/v0.9.6...v0.9.7)
763
-
764
- **Implemented enhancements:**
765
-
766
- - feature: add file.basename [\#64](https://github.com/inspec/train/pull/64) ([arlimus](https://github.com/arlimus))
767
- - add `requiretty` workaround measures [\#63](https://github.com/inspec/train/pull/63) ([srenatus](https://github.com/srenatus))
768
-
769
- **Fixed bugs:**
770
-
771
- - ensure bundler is installed on travis [\#66](https://github.com/inspec/train/pull/66) ([chris-rock](https://github.com/chris-rock))
772
-
773
- **Merged pull requests:**
774
-
775
- - 0.9.7 [\#67](https://github.com/inspec/train/pull/67) ([chris-rock](https://github.com/chris-rock))
776
-
777
- ## [v0.9.6](https://github.com/inspec/train/tree/v0.9.6) (2016-01-29)
778
- [Full Changelog](https://github.com/inspec/train/compare/v0.9.5...v0.9.6)
779
-
780
- **Implemented enhancements:**
781
-
782
- - add solaris support [\#61](https://github.com/inspec/train/pull/61) ([chris-rock](https://github.com/chris-rock))
783
-
784
- **Merged pull requests:**
785
-
786
- - 0.9.6 [\#62](https://github.com/inspec/train/pull/62) ([chris-rock](https://github.com/chris-rock))
787
-
788
- ## [v0.9.5](https://github.com/inspec/train/tree/v0.9.5) (2016-01-25)
789
- [Full Changelog](https://github.com/inspec/train/compare/v0.9.4...v0.9.5)
790
-
791
- **Implemented enhancements:**
792
-
793
- - use minitest for windows tests [\#56](https://github.com/inspec/train/pull/56) ([chris-rock](https://github.com/chris-rock))
794
- - use negotiate auth for winrm and not basic\_auth [\#55](https://github.com/inspec/train/pull/55) ([mwrock](https://github.com/mwrock))
795
- - bugfix: pin net-ssh 2.9 in gem file [\#54](https://github.com/inspec/train/pull/54) ([chris-rock](https://github.com/chris-rock))
796
- - Add appveyor and Windows test [\#53](https://github.com/inspec/train/pull/53) ([chris-rock](https://github.com/chris-rock))
797
- - Deprecating winrm-tansport gem [\#46](https://github.com/inspec/train/pull/46) ([mwrock](https://github.com/mwrock))
798
-
799
- **Fixed bugs:**
800
-
801
- - Cannot install train on Windows with ChefDK if username \>9 chars in length due to spec filename lengths in docker-api gem. [\#28](https://github.com/inspec/train/issues/28)
802
- - Properly wrap commands in powershell for local backend [\#57](https://github.com/inspec/train/pull/57) ([chris-rock](https://github.com/chris-rock))
803
- - Copying https://github.com/test-kitchen/test-kitchen/pull/919 to this repo [\#52](https://github.com/inspec/train/pull/52) ([tyler-ball](https://github.com/tyler-ball))
804
-
805
- **Merged pull requests:**
806
-
807
- - 0.9.5 [\#58](https://github.com/inspec/train/pull/58) ([chris-rock](https://github.com/chris-rock))
808
-
809
- ## [v0.9.4](https://github.com/inspec/train/tree/v0.9.4) (2016-01-15)
810
- [Full Changelog](https://github.com/inspec/train/compare/v0.9.3...v0.9.4)
811
-
812
- **Implemented enhancements:**
813
-
814
- - 0.9.3 is empty on Windows [\#48](https://github.com/inspec/train/pull/48) ([tyler-ball](https://github.com/tyler-ball))
815
- - Updating to the latest release of net-ssh to consume https://github.com/net-ssh/net-ssh/pull/280 [\#47](https://github.com/inspec/train/pull/47) ([tyler-ball](https://github.com/tyler-ball))
816
-
817
- **Fixed bugs:**
818
-
819
- - bugfix: command wrapper always return nil [\#50](https://github.com/inspec/train/pull/50) ([chris-rock](https://github.com/chris-rock))
820
-
821
- **Merged pull requests:**
822
-
823
- - 0.9.4 [\#51](https://github.com/inspec/train/pull/51) ([chris-rock](https://github.com/chris-rock))
824
-
825
- ## [v0.9.3](https://github.com/inspec/train/tree/v0.9.3) (2016-01-03)
826
- [Full Changelog](https://github.com/inspec/train/compare/v0.9.2...v0.9.3)
827
-
828
- **Implemented enhancements:**
829
-
830
- - introduce `mounted` as a separate method to retrieve the content [\#44](https://github.com/inspec/train/pull/44) ([chris-rock](https://github.com/chris-rock))
831
- - Support for local transport on Windows [\#43](https://github.com/inspec/train/pull/43) ([chris-rock](https://github.com/chris-rock))
832
- - Split integration test preparation from executing [\#42](https://github.com/inspec/train/pull/42) ([chris-rock](https://github.com/chris-rock))
833
- - Support for AIX and targeted SSH testing [\#41](https://github.com/inspec/train/pull/41) ([foobarbam](https://github.com/foobarbam))
834
-
835
- **Merged pull requests:**
836
-
837
- - 0.9.3 [\#45](https://github.com/inspec/train/pull/45) ([chris-rock](https://github.com/chris-rock))
838
-
839
- ## [v0.9.2](https://github.com/inspec/train/tree/v0.9.2) (2015-12-11)
840
- [Full Changelog](https://github.com/inspec/train/compare/v0.9.1...v0.9.2)
841
-
842
- **Implemented enhancements:**
843
-
844
- - add changelog [\#38](https://github.com/inspec/train/pull/38) ([chris-rock](https://github.com/chris-rock))
845
- - activate integration tests in travis [\#37](https://github.com/inspec/train/pull/37) ([chris-rock](https://github.com/chris-rock))
846
- - Adding support for Wind River Linux in support of Cisco devices [\#33](https://github.com/inspec/train/pull/33) ([adamleff](https://github.com/adamleff))
847
-
848
- **Fixed bugs:**
849
-
850
- - Integration test failures [\#34](https://github.com/inspec/train/issues/34)
851
- - Implemented WindowsFile\#exist? [\#36](https://github.com/inspec/train/pull/36) ([docwhat](https://github.com/docwhat))
852
- - adapt integration test to changes in command\_wrapper [\#35](https://github.com/inspec/train/pull/35) ([srenatus](https://github.com/srenatus))
853
-
854
- **Closed issues:**
855
-
856
- - WinRM plaintext transport is hardcoded \(cannot use SSL\) [\#29](https://github.com/inspec/train/issues/29)
857
-
858
- **Merged pull requests:**
859
-
860
- - 0.9.2 [\#40](https://github.com/inspec/train/pull/40) ([arlimus](https://github.com/arlimus))
861
- - add rake version helpers [\#39](https://github.com/inspec/train/pull/39) ([arlimus](https://github.com/arlimus))
862
-
863
- ## [v0.9.1](https://github.com/inspec/train/tree/v0.9.1) (2015-11-03)
864
- [Full Changelog](https://github.com/inspec/train/compare/0.9.0...v0.9.1)
865
-
866
- **Implemented enhancements:**
867
-
868
- - R train [\#27](https://github.com/inspec/train/pull/27) ([arlimus](https://github.com/arlimus))
869
- - Update style of readme [\#26](https://github.com/inspec/train/pull/26) ([chris-rock](https://github.com/chris-rock))
870
- - Add Apache 2.0 License [\#25](https://github.com/inspec/train/pull/25) ([jamesc](https://github.com/jamesc))
871
-
872
- ## [0.9.0](https://github.com/inspec/train/tree/0.9.0) (2015-11-03)
873
- **Implemented enhancements:**
874
-
875
- - set windows name in :release [\#23](https://github.com/inspec/train/pull/23) ([arlimus](https://github.com/arlimus))
876
- - basic file transport via winrm [\#21](https://github.com/inspec/train/pull/21) ([chris-rock](https://github.com/chris-rock))
877
- - dont return nil on command errors stdout/stderr [\#20](https://github.com/inspec/train/pull/20) ([arlimus](https://github.com/arlimus))
878
- - skip .delivery in gemspec [\#19](https://github.com/inspec/train/pull/19) ([arlimus](https://github.com/arlimus))
879
- - Verify sudo is working and fail with error messages if it isn't [\#18](https://github.com/inspec/train/pull/18) ([arlimus](https://github.com/arlimus))
880
- - improve file eposure [\#16](https://github.com/inspec/train/pull/16) ([chris-rock](https://github.com/chris-rock))
881
- - add delivery [\#13](https://github.com/inspec/train/pull/13) ([arlimus](https://github.com/arlimus))
882
- - Sudo [\#12](https://github.com/inspec/train/pull/12) ([arlimus](https://github.com/arlimus))
883
- - Extract options handling for transport [\#11](https://github.com/inspec/train/pull/11) ([arlimus](https://github.com/arlimus))
884
- - don't let mock commands return nil on stdout or stderr [\#10](https://github.com/inspec/train/pull/10) ([arlimus](https://github.com/arlimus))
885
- - allow mock command to support sha256 mocking of commands [\#9](https://github.com/inspec/train/pull/9) ([arlimus](https://github.com/arlimus))
886
- - register plugins with both names and symbols [\#8](https://github.com/inspec/train/pull/8) ([arlimus](https://github.com/arlimus))
887
- - split of mock into transport and connection [\#7](https://github.com/inspec/train/pull/7) ([arlimus](https://github.com/arlimus))
888
- - bugfix: add docker dependency to gemspec [\#6](https://github.com/inspec/train/pull/6) ([arlimus](https://github.com/arlimus))
889
- - move train/plugins/common to train/extras [\#2](https://github.com/inspec/train/pull/2) ([arlimus](https://github.com/arlimus))
890
- - add Travis [\#1](https://github.com/inspec/train/pull/1) ([arlimus](https://github.com/arlimus))
891
-
892
- **Fixed bugs:**
893
-
894
- - bugfix: prevent debugging info to stdout on winrm [\#22](https://github.com/inspec/train/pull/22) ([arlimus](https://github.com/arlimus))
895
- - bugfix: fail ssh connections correctly [\#17](https://github.com/inspec/train/pull/17) ([arlimus](https://github.com/arlimus))
896
- - bugfix: initialize mock transport to correct family [\#14](https://github.com/inspec/train/pull/14) ([arlimus](https://github.com/arlimus))
897
-
898
- **Merged pull requests:**
899
-
900
- - bump train version to 0.9.0 [\#24](https://github.com/inspec/train/pull/24) ([chris-rock](https://github.com/chris-rock))
data/Gemfile DELETED
@@ -1,41 +0,0 @@
1
- # encoding: utf-8
2
- source 'https://rubygems.org'
3
- gemspec name: 'train'
4
-
5
- # pin dependency for Ruby 1.9.3 since bundler is not
6
- # detecting that net-ssh 3 does not work with 1.9.3
7
- if Gem::Version.new(RUBY_VERSION) <= Gem::Version.new('1.9.3')
8
- gem 'net-ssh', '~> 2.9'
9
- end
10
-
11
- if Gem::Version.new(RUBY_VERSION) < Gem::Version.new('2.2.2')
12
- gem 'json', '< 2.0'
13
- end
14
-
15
- group :test do
16
- gem 'bundler', '~> 1.11'
17
- gem 'minitest', '~> 5.8'
18
- gem 'rake', '~> 10'
19
- gem 'rubocop', '~> 0.36.0'
20
- gem 'simplecov', '~> 0.10'
21
- gem 'concurrent-ruby', '~> 1.0'
22
- gem 'pry-byebug'
23
- gem 'm'
24
- # This is not a true gem installation
25
- # (Gem::Specification.find_by_path('train-gem-fixture') will return nil)
26
- # but it's close enough to show the gempath handler can find a plugin
27
- # See test/unit/
28
- gem 'train-test-fixture', path: 'test/fixtures/plugins/train-test-fixture'
29
- end
30
-
31
- group :integration do
32
- gem 'berkshelf', '~> 5.2'
33
- gem 'test-kitchen', '~> 1.11'
34
- gem 'kitchen-vagrant'
35
- end
36
-
37
- group :tools do
38
- gem 'pry', '~> 0.10'
39
- gem 'rb-readline'
40
- gem 'license_finder'
41
- end
data/README.md DELETED
@@ -1,212 +0,0 @@
1
- # Train - Transport Interface
2
-
3
- [![Build Status](https://travis-ci.org/inspec/train.svg?branch=master)](https://travis-ci.org/inspec/train)
4
- [![Build Status Master](https://ci.appveyor.com/api/projects/status/github/inspec/train?branch=master&svg=true&passingText=master%20-%20Ok&pendingText=master%20-%20Pending&failingText=master%20-%20Failing)](https://ci.appveyor.com/project/Chef/train/branch/master)
5
- [![Gem Version](https://badge.fury.io/rb/train.svg)](https://badge.fury.io/rb/train)
6
-
7
- Train lets you talk to your local or remote operating systems and APIs with a unified interface.
8
-
9
- It allows you to:
10
-
11
- * execute commands via `run_command`
12
- * interact with files via `file`
13
- * identify the target operating system via `os`
14
- * authenticate to API-based services and treat them like a platform
15
-
16
- Train supports:
17
-
18
- * Local execution
19
- * SSH
20
- * WinRM
21
- * Docker
22
- * Mock (for testing and debugging)
23
- * AWS as an API
24
- * Azure as an API
25
- * VMware via PowerCLI
26
-
27
- # Examples
28
-
29
- ## Setup
30
-
31
- **Local**
32
-
33
- ```ruby
34
- require 'train'
35
- train = Train.create('local')
36
- ```
37
-
38
- **SSH**
39
-
40
- ```ruby
41
- require 'train'
42
- train = Train.create('ssh',
43
- host: '1.2.3.4', port: 22, user: 'root', key_files: '/vagrant')
44
- ```
45
-
46
- If you don't specify the `key_files` and `password` options, SSH agent authentication will be attempted. For example:
47
-
48
- ```ruby
49
- require 'train'
50
- train = Train.create('ssh', host: '1.2.3.4', port: 22, user: 'root')
51
- ```
52
-
53
- **WinRM**
54
-
55
- ```ruby
56
- require 'train'
57
- train = Train.create('winrm',
58
- host: '1.2.3.4', user: 'Administrator', password: '...', ssl: true, self_signed: true)
59
- ```
60
-
61
- **Docker**
62
-
63
- ```ruby
64
- require 'train'
65
- train = Train.create('docker', host: 'container_id...')
66
- ```
67
-
68
- **AWS**
69
-
70
- To use AWS API authentication, setup an AWS client profile to store the Access Key ID and Secret Access Key.
71
-
72
- ```ruby
73
- require 'train'
74
- train = Train.create('aws', region: 'us-east-2', profile: 'my-profile')
75
- ```
76
-
77
- You may also use the standard AWS CLI environment variables, `AWS_ACCESS_KEY_ID`, `AWS_SECRET_ACCESS_KEY` and `AWS_REGION`.
78
- ```ruby
79
- require 'train'
80
- train = Train.create('aws')
81
- ```
82
-
83
- **VMware**
84
-
85
- ```ruby
86
- require 'train'
87
- Train.create('vmware', viserver: '10.0.0.10', user: 'demouser', password: 'securepassword')
88
- ```
89
-
90
- You may also use environment variables by setting `VISERVER`, `VISERVER__USERNAME`, and `VISERVER_PASSWORD`
91
-
92
- ```ruby
93
- require 'train'
94
- Train.create('vmware')
95
- ```
96
-
97
- ## Configuration
98
-
99
- To get a list of available options for a plugin:
100
-
101
- ```ruby
102
- puts Train.options('ssh')
103
- ```
104
- This will provide all configuration options:
105
-
106
- ```ruby
107
- {
108
- :host => { :required => true},
109
- :port => { :default => 22, :required => true},
110
- :user => { :default => "root", :required => true},
111
- :keys => { :default => nil},
112
- :password => { :default => nil},
113
- ...
114
- ```
115
-
116
- ## Usage
117
-
118
- ```ruby
119
- # start or reuse a connection
120
- conn = train.connection
121
-
122
- # run a command on Linux/Unix/Mac
123
- puts conn.run_command('whoami').stdout
124
-
125
- # get OS info
126
- puts conn.os[:family]
127
- puts conn.os[:release]
128
-
129
- # access files
130
- puts conn.file('/proc/version').content
131
-
132
- # access specific API client functionality
133
- ec2_client = train.connection.aws_client(Aws::EC2::Client)
134
- puts ec2_client.describe_instances
135
-
136
- # close the connection
137
- conn.close
138
- ```
139
-
140
- # Testing
141
-
142
- We perform `unit`, `integration` and `windows` tests.
143
-
144
- * `unit` tests ensure the intended behaviour of the implementation
145
- * `integration` tests run against VMs and docker containers
146
- * `windows` tests that run on appveyor for windows integration tests
147
-
148
- ## Mac/Linux
149
-
150
- ```
151
- bundle exec ruby -W -Ilib:test/unit test/unit/extras/stat_test.rb
152
- ```
153
-
154
- ## Windows
155
-
156
- ```
157
- # run windows tests
158
- bundle exec rake test:windows
159
-
160
- # run single tests
161
- bundle exec ruby -I .\test\windows\ .\test\windows\local_test.rb
162
- ```
163
-
164
-
165
- # Kudos and Contributors
166
-
167
- Train is heavily based on the work of:
168
-
169
- * [test-kitchen](https://github.com/test-kitchen/test-kitchen)
170
-
171
- by [Fletcher Nichol](fnichol@nichol.ca)
172
- and [a great community of contributors](https://github.com/test-kitchen/test-kitchen/graphs/contributors)
173
-
174
- * [ohai](https://github.com/chef/ohai)
175
-
176
- by Adam Jacob, Chef Software Inc.
177
- and [a great community of contributors](https://github.com/chef/ohai/graphs/contributors)
178
-
179
-
180
- We also want to thank [halo](https://github.com/halo) who did a great contribution by handing over the `train` gem name.
181
-
182
- ## Contributing
183
-
184
- 1. Fork it
185
- 1. Create your feature branch (git checkout -b my-new-feature)
186
- 1. Commit your changes (git commit -am 'Add some feature')
187
- 1. Push to the branch (git push origin my-new-feature)
188
- 1. Create new Pull Request
189
-
190
- ## License
191
-
192
- | **Author:** | Dominik Richter (<drichter@chef.io>)
193
-
194
- | **Author:** | Christoph Hartmann (<chartmann@chef.io>)
195
-
196
- | **Copyright:** | Copyright (c) 2015-2018 Chef Software Inc.
197
-
198
- | **Copyright:** | Copyright (c) 2015 Vulcano Security GmbH.
199
-
200
- | **License:** | Apache License, Version 2.0
201
-
202
- Licensed under the Apache License, Version 2.0 (the "License");
203
- you may not use this file except in compliance with the License.
204
- You may obtain a copy of the License at
205
-
206
- http://www.apache.org/licenses/LICENSE-2.0
207
-
208
- Unless required by applicable law or agreed to in writing, software
209
- distributed under the License is distributed on an "AS IS" BASIS,
210
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
211
- See the License for the specific language governing permissions and
212
- limitations under the License.
data/train-core.gemspec DELETED
@@ -1,32 +0,0 @@
1
- # encoding: utf-8
2
- lib = File.expand_path('../lib', __FILE__)
3
- $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
- require 'train/version'
5
-
6
- CORE_TRANSPORTS = [
7
- 'lib/train/transports/local.rb',
8
- 'lib/train/transports/mock.rb',
9
- ].freeze
10
-
11
- Gem::Specification.new do |spec|
12
- spec.name = 'train-core'
13
- spec.version = Train::VERSION
14
- spec.authors = ['Dominik Richter']
15
- spec.email = ['drichter@chef.io']
16
- spec.summary = 'Transport interface to talk to a selected set of backends.'
17
- spec.description = 'A minimal Train with a selected set of backends, ssh, winrm, and docker.'
18
- spec.homepage = 'https://github.com/inspec/train/'
19
- spec.license = 'Apache-2.0'
20
-
21
- spec.files = %w{train-core.gemspec README.md LICENSE Gemfile CHANGELOG.md} + Dir
22
- .glob('lib/**/*', File::FNM_DOTMATCH)
23
- .reject { |f| f =~ %r{lib/train/transports} unless CORE_TRANSPORTS.include?(f) }
24
- .reject { |f| File.directory?(f) }
25
-
26
- spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
27
- spec.require_paths = ['lib']
28
-
29
- # chef-client < 12.4.1 require mixlib-shellout-2.0.1
30
- spec.add_dependency 'mixlib-shellout', '~> 2.0'
31
- spec.add_dependency 'json', '>= 1.8', '< 3.0'
32
- end