train 0.19.0 → 0.19.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -2
- data/lib/train/transports/ssh_connection.rb +1 -0
- data/lib/train/transports/winrm.rb +1 -0
- data/lib/train/transports/winrm_connection.rb +2 -0
- data/lib/train/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a52a5c7ef67219ce7efa1358a142c6a26d400d61
|
4
|
+
data.tar.gz: 0e4a108030e0164506191a128463d691cdbfa177
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 58bc527291b454cdd415a2c39fdc3166e010b2b5106f4917b5b845933612d6b9ea01914dafb932eea0760157c925d2f58abb1cd6be626f513c165a37db12acdd
|
7
|
+
data.tar.gz: d67667d29a6cb0bebe830c0c6c4d8706c4c15054ecc7eae6c1f774d0d8c58b9ed51bce96dd4e807444210419e98ff15a6b47ad2d04d4b35240908d87b9948ba0
|
data/CHANGELOG.md
CHANGED
@@ -1,7 +1,15 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
-
## [0.19.
|
4
|
-
[Full Changelog](https://github.com/chef/train/compare/v0.
|
3
|
+
## [0.19.1](https://github.com/chef/train/tree/0.19.1) (2016-09-16)
|
4
|
+
[Full Changelog](https://github.com/chef/train/compare/v0.19.0...0.19.1)
|
5
|
+
|
6
|
+
**Implemented enhancements:**
|
7
|
+
|
8
|
+
- hostname property for WinRM::Connection [\#128](https://github.com/chef/train/issues/128)
|
9
|
+
- Return hostname from WinRM::Connection same as SSH::Connection [\#150](https://github.com/chef/train/pull/150) ([alexpop](https://github.com/alexpop))
|
10
|
+
|
11
|
+
## [v0.19.0](https://github.com/chef/train/tree/v0.19.0) (2016-09-05)
|
12
|
+
[Full Changelog](https://github.com/chef/train/compare/v0.18.0...v0.19.0)
|
5
13
|
|
6
14
|
**Fixed bugs:**
|
7
15
|
|
@@ -30,6 +30,7 @@ class Train::Transports::SSH
|
|
30
30
|
#
|
31
31
|
# @author Fletcher Nichol <fnichol@nichol.ca>
|
32
32
|
class Connection < BaseConnection # rubocop:disable Metrics/ClassLength
|
33
|
+
attr_reader :hostname
|
33
34
|
def initialize(options)
|
34
35
|
super(options)
|
35
36
|
@username = @options.delete(:username)
|
@@ -28,8 +28,10 @@ class Train::Transports::WinRM
|
|
28
28
|
#
|
29
29
|
# @author Fletcher Nichol <fnichol@nichol.ca>
|
30
30
|
class Connection < BaseConnection
|
31
|
+
attr_reader :hostname
|
31
32
|
def initialize(options)
|
32
33
|
super(options)
|
34
|
+
@hostname = @options.delete(:hostname)
|
33
35
|
@rdp_port = @options.delete(:rdp_port)
|
34
36
|
@connection_retries = @options.delete(:connection_retries)
|
35
37
|
@connection_retry_sleep = @options.delete(:connection_retry_sleep)
|
data/lib/train/version.rb
CHANGED
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.19.
|
4
|
+
version: 0.19.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: 2016-09-
|
11
|
+
date: 2016-09-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|