train 1.7.4 → 1.7.5

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: 90c0f7ae6d9f3cd9d417f855a88867b3ae5582ecf02b13775317ac251e4ead35
4
- data.tar.gz: d0eb5084a35c2a4862c74c7857d4d3ff891d9b47dab1f80aaf2ba27a40fcc231
3
+ metadata.gz: d3639eb1435bcae9b06a8dea3b5ec5fee2cbd5a1b2041011a00ce9e50a5d3035
4
+ data.tar.gz: fc4e10bb13a299122a0299310c88ee16eaff0a06e74517bd4b258a9a3e70add0
5
5
  SHA512:
6
- metadata.gz: 8aa5e89b6c7415b04002457f750bec3fe525c1edbc8208e9c9c488fc88aa00ff8bf62d24f71fa18226f8d68bef6d893420024447407bd4d1bb3a4e20228bb6a0
7
- data.tar.gz: '00691484482dcd5ff8a1be8e7458b11229bdb28d6c883666f06e0ac1efb9ea20c3992d2326f863626237f9037439321068d2a07e3e6423ccccf1c9cdcff6e3af'
6
+ metadata.gz: 0757eec47f19f9f4d519c4ab726aad5609a76825b29f3242df0d86dfc140f40cd8867ac9f9e0520e99e8b744e7b4e55099bde0d86befd107594f1beb57aa0dca
7
+ data.tar.gz: 27dd0a3925a9d4d656e818e4af8c48fb4dc6411ad0bcd5ec5edc41f38564868d6595fca201a5e926b59b66d170bf8a3c3da8886768fbf068290122d262e85a88
@@ -14,8 +14,7 @@ module Train::Platforms::Detect::Helpers
14
14
  end
15
15
 
16
16
  def winrm?
17
- Object.const_defined?('Train::Transports::WinRM::Connection') &&
18
- @backend.class == Train::Transports::WinRM::Connection
17
+ @backend.class.to_s == 'Train::Transports::WinRM::Connection'
19
18
  end
20
19
 
21
20
  def unix_file_contents(path)
@@ -3,5 +3,5 @@
3
3
  # Author:: Dominik Richter (<dominik.richter@gmail.com>)
4
4
 
5
5
  module Train
6
- VERSION = '1.7.4'.freeze
6
+ VERSION = '1.7.5'.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.7.4
4
+ version: 1.7.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dominik Richter
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-02-19 00:00:00.000000000 Z
11
+ date: 2019-03-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json