train-core 1.4.4 → 1.4.9

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: a5e350d4b4a33762ccefbfbbfd010aa66ee46d675b54235f16a1a026d1dc73ae
4
- data.tar.gz: 3a5f7b27e1cbfdbcb4857dc8322e37e4ffc22e7305e05cda9e1158f6a9f2d8d4
3
+ metadata.gz: f27342510e8c99adb13ef3e433c862edc0153fba572389b9918b4ddbe8129540
4
+ data.tar.gz: 21a634c4c06b5f7366339f52ac5b335d6caa2eb045362b90b73859aabdb98d4b
5
5
  SHA512:
6
- metadata.gz: f4153a597fa50a720ab53bc0b6ffeac8cdf48c5f42c170feb4f43d373ba8daa05c5c18f21da7cd725ab8a60c6c371d83bc6d67b044a00152280c1bc6d1f32659
7
- data.tar.gz: 366cc4ed3f43fc059ad9ca0b5cc5d1ad1c29b677549e73ce95d4dcac070f21fb81bcf7e0566bf1b8cdfeea7fa16f0f2313d506024f146da3eda4449941dc97ea
6
+ metadata.gz: 5b77bfdffea0f60f5a940f22aeec31610f13389b427f9f663eeef9191a7c2a3644f709783541c0ca8c39b102298a0082c81e660cc7b6a4d7a24fba6fc1ffa97e
7
+ data.tar.gz: 4448047e7277b281e1e90a56ece1097e09927f39e5b25327d78d890e44f3783ed09b6dfc14df968acf593273a8c4c82f7fbf30f0fd684ee5b5435005a76c28c7
@@ -1,22 +1,33 @@
1
- <!-- latest_release 1.4.4 -->
2
- ## [v1.4.4](https://github.com/chef/train/tree/v1.4.4) (2018-05-02)
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
- - Split train into a core gem. [#293](https://github.com/chef/train/pull/293) ([miah](https://github.com/miah))
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.2 -->
10
- ### Changes since 1.4.2 release
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
- - Split train into a core gem. [#293](https://github.com/chef/train/pull/293) ([miah](https://github.com/miah)) <!-- 1.4.4 -->
14
- - Enable expeditor release tasks [#294](https://github.com/chef/train/pull/294) ([jquick](https://github.com/jquick)) <!-- 1.4.3 -->
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
@@ -23,7 +23,7 @@ group :test do
23
23
  end
24
24
 
25
25
  group :integration do
26
- gem 'berkshelf', '~> 4.3'
26
+ gem 'berkshelf', '~> 5.2'
27
27
  gem 'test-kitchen', '~> 1.11'
28
28
  gem 'kitchen-vagrant'
29
29
  end
@@ -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
@@ -10,6 +10,7 @@ module Train::Platforms::Detect::Specifications
10
10
  plat.family('cloud').in_family('api')
11
11
  plat.name('aws').in_family('cloud')
12
12
  plat.name('azure').in_family('cloud')
13
+ plat.name('gcp').in_family('cloud')
13
14
  end
14
15
  end
15
16
  end
@@ -3,5 +3,5 @@
3
3
  # Author:: Dominik Richter (<dominik.richter@gmail.com>)
4
4
 
5
5
  module Train
6
- VERSION = '1.4.4'.freeze
6
+ VERSION = '1.4.9'.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.4.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-02 00:00:00.000000000 Z
11
+ date: 2018-05-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mixlib-shellout