train 0.26.0 → 0.26.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a44ab3d79a850ef26c122ec81a810f4ad7076ad6
4
- data.tar.gz: d80360cb6a0282208d195364adb711d72faddae1
3
+ metadata.gz: 1e61f6374de6b644c41978abf11492d5b5376e5d
4
+ data.tar.gz: df8ef0b55d6683ca3a254e3698e06443f45aa15f
5
5
  SHA512:
6
- metadata.gz: 2a71561d8d10ad14ea361c51cabd0dda1f7969eaf4596fe2e0222589a8661d807ee878bcfd68165e671650db909bfaa49ce95b40d6ec67dae5a9e0ddda65d584
7
- data.tar.gz: 964817b4bc4cd4e0ef59a1157dfe4a4f601ad6ce05823642b9f03a4f73c6483d8ca832d4214d32964e792a3d54e5dbe33ae035498f3b78979d07a3ed59b25ea7
6
+ metadata.gz: 9244312aeeaa68c704e7703b9fe5996647a76f3b2e4dbe56bbda30fe3a27eccbe2b5644f1cdcdee903afd17f2c60e617252d1fbc0ad12dacf28059e3d506d8dc
7
+ data.tar.gz: 8f1d8411299a327d7f55d84aeb0a8374751ae1b1eb1ca5221740dd8a179018f38f60a3e6c28af5525137b30540ae6445a5957161be3681d45d14692ac92f3cda
@@ -1,7 +1,14 @@
1
1
  # Change Log
2
2
 
3
- ## [0.26.0](https://github.com/chef/train/tree/0.26.0) (2017-08-10)
4
- [Full Changelog](https://github.com/chef/train/compare/v0.25.0...0.26.0)
3
+ ## [0.26.1](https://github.com/chef/train/tree/0.26.1) (2017-08-14)
4
+ [Full Changelog](https://github.com/chef/train/compare/v0.26.0...0.26.1)
5
+
6
+ **Merged pull requests:**
7
+
8
+ - Return non-zero exit code for unknown mock command [\#187](https://github.com/chef/train/pull/187) ([chris-rock](https://github.com/chris-rock))
9
+
10
+ ## [v0.26.0](https://github.com/chef/train/tree/v0.26.0) (2017-08-10)
11
+ [Full Changelog](https://github.com/chef/train/compare/v0.25.0...v0.26.0)
5
12
 
6
13
  **Fixed bugs:**
7
14
 
@@ -13,6 +20,7 @@
13
20
 
14
21
  **Merged pull requests:**
15
22
 
23
+ - Release v0.26.0 [\#186](https://github.com/chef/train/pull/186) ([adamleff](https://github.com/adamleff))
16
24
  - typo - should $g for group instead of doulbe $u [\#185](https://github.com/chef/train/pull/185) ([aklyachkin](https://github.com/aklyachkin))
17
25
  - update ruby requirements to 2.2 - 2.4 range [\#184](https://github.com/chef/train/pull/184) ([arlimus](https://github.com/arlimus))
18
26
  - detect operating system name for AIX [\#182](https://github.com/chef/train/pull/182) ([chris-rock](https://github.com/chris-rock))
@@ -87,7 +87,8 @@ class Train::Transports::Mock
87
87
  STDERR.puts(' '+cmd.to_s.split("\n").join("\n "))
88
88
  STDERR.puts(' SHA: ' + Digest::SHA256.hexdigest(cmd.to_s))
89
89
  end
90
- mock_command(cmd)
90
+ # return a non-zero exit code
91
+ mock_command(cmd, nil, nil, 1)
91
92
  end
92
93
 
93
94
  def run_command(cmd)
@@ -3,5 +3,5 @@
3
3
  # Author:: Dominik Richter (<dominik.richter@gmail.com>)
4
4
 
5
5
  module Train
6
- VERSION = '0.26.0'.freeze
6
+ VERSION = '0.26.1'.freeze
7
7
  end
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.26.0
4
+ version: 0.26.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: 2017-08-10 00:00:00.000000000 Z
11
+ date: 2017-08-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json