train 1.4.9 → 1.4.10

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
  SHA256:
3
- metadata.gz: cecb9bec9682f0acc90154bcdc16a17fbe7c146b30b3be37bbadd774176d7065
4
- data.tar.gz: fa01c4fde81ed2a58584576a07cb68ad52b3e73926521e6329486352c4dfa14c
3
+ metadata.gz: 890a987a41248ad9564b6a4d321f94e86e1e60021691747f26652238c2d4fdea
4
+ data.tar.gz: 8e17748478727833fe58d85f8608ab255d6367d996f474ed4b230c522ab3f1b7
5
5
  SHA512:
6
- metadata.gz: 49af5ddd1e984052b4b4e3ba9d1f121ece725a29ecbcd672589a21187c19fb5f3d51859806560cfe2835f4f6499574fc5ed21fb5ae4356131297c05663bf0c63
7
- data.tar.gz: f8e5cf2d0459c8e1b75ee95d91cba4084313f556a8900a0c7b6dbd9536f9602c0fb613f591787cdf02a63a8b8187cf4d8953cbc735a6defde018a01eb8d79e92
6
+ metadata.gz: daa328bbe03443af4b13fe0d1f48d09c4669af0f70005cef642d95dc92dcb5097583543ae656ba0e8b805a9b301aaa93f322d150388ab0e4d7ebf098e5fecf60
7
+ data.tar.gz: 307f7ac05a516b78babebe068e3c86cbb616215ae391e3487bb9239246671c33d3b41115c483e14343c7e2e7db9b4bee8dedb3815149d353398290eaf979780b
@@ -1,30 +1,35 @@
1
- <!-- latest_release 1.4.9 -->
2
- ## [v1.4.9](https://github.com/chef/train/tree/v1.4.9) (2018-05-16)
1
+ <!-- latest_release 1.4.10 -->
2
+ ## [v1.4.10](https://github.com/chef/train/tree/v1.4.10) (2018-05-17)
3
3
 
4
4
  #### Merged Pull Requests
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))
5
+ - support sudo passwords for cisco [#301](https://github.com/chef/train/pull/301) ([arlimus](https://github.com/arlimus))
6
6
  <!-- latest_release -->
7
7
 
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 -->
8
+ <!-- release_rollup since=1.4.9 -->
9
+ ### Changes since 1.4.9 release
13
10
 
14
11
  #### Merged Pull Requests
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 -->
12
+ - support sudo passwords for cisco [#301](https://github.com/chef/train/pull/301) ([arlimus](https://github.com/arlimus)) <!-- 1.4.10 -->
19
13
  <!-- release_rollup -->
20
14
 
21
15
  <!-- latest_stable_release -->
16
+ ## [v1.4.9](https://github.com/chef/train/tree/v1.4.9) (2018-05-16)
17
+
18
+ #### Bug Fixes
19
+ - Allow nil password and www_form_encoded_password to work together. [#297](https://github.com/chef/train/pull/297) ([marcparadise](https://github.com/marcparadise))
20
+
21
+ #### Merged Pull Requests
22
+ - Support encoded passwords in target url [#296](https://github.com/chef/train/pull/296) ([marcparadise](https://github.com/marcparadise))
23
+ - Initial import of transport for GCP. [#283](https://github.com/chef/train/pull/283) ([skpaterson](https://github.com/skpaterson))
24
+ - Change Cisco IOS transport log level to INFO [#298](https://github.com/chef/train/pull/298) ([jerryaldrichiii](https://github.com/jerryaldrichiii))
25
+ - 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))
26
+ <!-- latest_stable_release -->
27
+
22
28
  ## [v1.4.4](https://github.com/chef/train/tree/v1.4.4) (2018-05-02)
23
29
 
24
30
  #### Merged Pull Requests
25
31
  - Enable expeditor release tasks [#294](https://github.com/chef/train/pull/294) ([jquick](https://github.com/jquick))
26
32
  - Split train into a core gem. [#293](https://github.com/chef/train/pull/293) ([miah](https://github.com/miah))
27
- <!-- latest_stable_release -->
28
33
 
29
34
 
30
35
 
@@ -202,7 +202,10 @@ module Train::Transports
202
202
  ios_options = {}
203
203
  ios_options[:host] = @options[:host]
204
204
  ios_options[:user] = @options[:user]
205
- ios_options[:enable_password] = @options[:enable_password]
205
+ # The enable password is used to elevate privileges on Cisco devices
206
+ # We will also support the sudo password field for the same purpose
207
+ # for the interim. # TODO
208
+ ios_options[:enable_password] = @options[:enable_password] || @options[:sudo_password]
206
209
  ios_options.merge!(@connection_options)
207
210
  conn = CiscoIOSConnection.new(ios_options)
208
211
  end
@@ -3,5 +3,5 @@
3
3
  # Author:: Dominik Richter (<dominik.richter@gmail.com>)
4
4
 
5
5
  module Train
6
- VERSION = '1.4.9'.freeze
6
+ VERSION = '1.4.10'.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: 1.4.9
4
+ version: 1.4.10
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-16 00:00:00.000000000 Z
11
+ date: 2018-05-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json