train-core 1.4.4 → 1.4.9
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 +19 -8
- data/Gemfile +1 -1
- data/lib/train.rb +6 -1
- data/lib/train/platforms/detect/specifications/api.rb +1 -0
- data/lib/train/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f27342510e8c99adb13ef3e433c862edc0153fba572389b9918b4ddbe8129540
|
4
|
+
data.tar.gz: 21a634c4c06b5f7366339f52ac5b335d6caa2eb045362b90b73859aabdb98d4b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5b77bfdffea0f60f5a940f22aeec31610f13389b427f9f663eeef9191a7c2a3644f709783541c0ca8c39b102298a0082c81e660cc7b6a4d7a24fba6fc1ffa97e
|
7
|
+
data.tar.gz: 4448047e7277b281e1e90a56ece1097e09927f39e5b25327d78d890e44f3783ed09b6dfc14df968acf593273a8c4c82f7fbf30f0fd684ee5b5435005a76c28c7
|
data/CHANGELOG.md
CHANGED
@@ -1,22 +1,33 @@
|
|
1
|
-
<!-- latest_release 1.4.
|
2
|
-
## [v1.4.
|
1
|
+
<!-- latest_release 1.4.9 -->
|
2
|
+
## [v1.4.9](https://github.com/chef/train/tree/v1.4.9) (2018-05-16)
|
3
3
|
|
4
4
|
#### Merged Pull Requests
|
5
|
-
-
|
6
|
-
- Enable expeditor release tasks [#294](https://github.com/chef/train/pull/294) ([jquick](https://github.com/jquick))
|
5
|
+
- Unpin google-protobuf now that we are building it as a gem [#300](https://github.com/chef/train/pull/300) ([scotthain](https://github.com/scotthain))
|
7
6
|
<!-- latest_release -->
|
8
7
|
|
9
|
-
<!-- release_rollup since=1.4.
|
10
|
-
### Changes since 1.4.
|
8
|
+
<!-- release_rollup since=1.4.4 -->
|
9
|
+
### Changes since 1.4.4 release
|
10
|
+
|
11
|
+
#### Bug Fixes
|
12
|
+
- Allow nil password and www_form_encoded_password to work together. [#297](https://github.com/chef/train/pull/297) ([marcparadise](https://github.com/marcparadise)) <!-- 1.4.6 -->
|
11
13
|
|
12
14
|
#### Merged Pull Requests
|
13
|
-
-
|
14
|
-
-
|
15
|
+
- Unpin google-protobuf now that we are building it as a gem [#300](https://github.com/chef/train/pull/300) ([scotthain](https://github.com/scotthain)) <!-- 1.4.9 -->
|
16
|
+
- Change Cisco IOS transport log level to INFO [#298](https://github.com/chef/train/pull/298) ([jerryaldrichiii](https://github.com/jerryaldrichiii)) <!-- 1.4.8 -->
|
17
|
+
- Initial import of transport for GCP. [#283](https://github.com/chef/train/pull/283) ([skpaterson](https://github.com/skpaterson)) <!-- 1.4.7 -->
|
18
|
+
- Support encoded passwords in target url [#296](https://github.com/chef/train/pull/296) ([marcparadise](https://github.com/marcparadise)) <!-- 1.4.5 -->
|
15
19
|
<!-- release_rollup -->
|
16
20
|
|
17
21
|
<!-- latest_stable_release -->
|
22
|
+
## [v1.4.4](https://github.com/chef/train/tree/v1.4.4) (2018-05-02)
|
23
|
+
|
24
|
+
#### Merged Pull Requests
|
25
|
+
- Enable expeditor release tasks [#294](https://github.com/chef/train/pull/294) ([jquick](https://github.com/jquick))
|
26
|
+
- Split train into a core gem. [#293](https://github.com/chef/train/pull/293) ([miah](https://github.com/miah))
|
18
27
|
<!-- latest_stable_release -->
|
19
28
|
|
29
|
+
|
30
|
+
|
20
31
|
# Change Log
|
21
32
|
|
22
33
|
## [1.4.2](https://github.com/chef/train/tree/1.4.2) (2018-04-26)
|
data/Gemfile
CHANGED
data/lib/train.rb
CHANGED
@@ -66,8 +66,13 @@ module Train
|
|
66
66
|
conf[:host] ||= uri.hostname
|
67
67
|
conf[:port] ||= uri.port
|
68
68
|
conf[:user] ||= uri.user
|
69
|
-
conf[:password] ||= uri.password
|
70
69
|
conf[:path] ||= uri.path
|
70
|
+
conf[:password] ||=
|
71
|
+
if conf[:www_form_encoded_password] && !uri.password.nil?
|
72
|
+
URI.decode_www_form_component(uri.password)
|
73
|
+
else
|
74
|
+
uri.password
|
75
|
+
end
|
71
76
|
end
|
72
77
|
|
73
78
|
# ensure path is nil, if its empty; e.g. required to reset defaults for winrm
|
data/lib/train/version.rb
CHANGED
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.4.
|
4
|
+
version: 1.4.9
|
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-05-
|
11
|
+
date: 2018-05-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mixlib-shellout
|