train 0.25.0 → 0.26.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3d5ba0a8f8379e5671fbe8175b6a30f738b37325
4
- data.tar.gz: 7de578f40b6116ce01c5d0a2bcf163d627f05d98
3
+ metadata.gz: a44ab3d79a850ef26c122ec81a810f4ad7076ad6
4
+ data.tar.gz: d80360cb6a0282208d195364adb711d72faddae1
5
5
  SHA512:
6
- metadata.gz: 9d0dc0adf8e12a97c53852ac99ca904ca188e5457ba51bc82cc7e8c14506c8905a706bf2a66a509fe227835d8be053bcd8af9272a8b8f7d1ee4e31bddbe1faca
7
- data.tar.gz: 744b6133eba631cc0e89926b46484865fe21868064d9ded6b4f7176748525c02464b3c228f95e59c6940794835d4fc2200b7b5523877f4af41868b9c046b1cd5
6
+ metadata.gz: 2a71561d8d10ad14ea361c51cabd0dda1f7969eaf4596fe2e0222589a8661d807ee878bcfd68165e671650db909bfaa49ce95b40d6ec67dae5a9e0ddda65d584
7
+ data.tar.gz: 964817b4bc4cd4e0ef59a1157dfe4a4f601ad6ce05823642b9f03a4f73c6483d8ca832d4214d32964e792a3d54e5dbe33ae035498f3b78979d07a3ed59b25ea7
@@ -1,7 +1,24 @@
1
1
  # Change Log
2
2
 
3
- ## [0.25.0](https://github.com/chef/train/tree/0.25.0) (2017-06-15)
4
- [Full Changelog](https://github.com/chef/train/compare/v0.24.0...0.25.0)
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)
5
+
6
+ **Fixed bugs:**
7
+
8
+ - AIX operating system name is not detected properly [\#181](https://github.com/chef/train/issues/181)
9
+
10
+ **Closed issues:**
11
+
12
+ - Add support for ssh-agent to ssh transport [\#129](https://github.com/chef/train/issues/129)
13
+
14
+ **Merged pull requests:**
15
+
16
+ - typo - should $g for group instead of doulbe $u [\#185](https://github.com/chef/train/pull/185) ([aklyachkin](https://github.com/aklyachkin))
17
+ - update ruby requirements to 2.2 - 2.4 range [\#184](https://github.com/chef/train/pull/184) ([arlimus](https://github.com/arlimus))
18
+ - detect operating system name for AIX [\#182](https://github.com/chef/train/pull/182) ([chris-rock](https://github.com/chris-rock))
19
+
20
+ ## [v0.25.0](https://github.com/chef/train/tree/v0.25.0) (2017-06-15)
21
+ [Full Changelog](https://github.com/chef/train/compare/v0.24.0...v0.25.0)
5
22
 
6
23
  **Merged pull requests:**
7
24
 
@@ -14,6 +14,7 @@ module Train::Extras
14
14
  case uname_s.downcase
15
15
  when /aix/
16
16
  @platform[:family] = 'aix'
17
+ @platform[:name] = uname_s.lines[0].chomp
17
18
  out = @backend.run_command('uname -rvp').stdout
18
19
  m = out.match(/(\d+)\s+(\d+)\s+(.*)/)
19
20
  unless m.nil?
@@ -107,7 +107,7 @@ module Train::Extras
107
107
  @a = #{lstat}(shift) or exit 2;
108
108
  $u = getpwuid($a[4]);
109
109
  $g = getgrgid($a[5]);
110
- printf("0%o\\n%s\\n%d\\n%s\\n%d\\n%d\\n%d\\n", $a[2], $u, $a[4], $u, $a[5], $a[9], $a[7])
110
+ printf("0%o\\n%s\\n%d\\n%s\\n%d\\n%d\\n%d\\n", $a[2], $u, $a[4], $g, $a[5], $a[9], $a[7])
111
111
  ' #{shell_escaped_path}
112
112
  EOP
113
113
 
@@ -3,5 +3,5 @@
3
3
  # Author:: Dominik Richter (<dominik.richter@gmail.com>)
4
4
 
5
5
  module Train
6
- VERSION = '0.25.0'.freeze
6
+ VERSION = '0.26.0'.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.25.0
4
+ version: 0.26.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-06-15 00:00:00.000000000 Z
11
+ date: 2017-08-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json