r-train 0.11.3 → 0.11.4

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
  SHA1:
3
- metadata.gz: 25ae706efd7e9f84207d633ab61c5d73ea2101eb
4
- data.tar.gz: 3e20d84d3c015686578dc9d463ca7f6e723267fd
3
+ metadata.gz: badb26613fa1301a65ec04b815788aa1657e4a92
4
+ data.tar.gz: 02fdc25e6e5e23d047feb1d19ce4ba55a9fe530d
5
5
  SHA512:
6
- metadata.gz: 78854edff4a0765ed4a89f0b43afd0ae17a602ce63002df329bc35d2f27943f5443690d2d9b48e7d28d975ab90dc44c5964c80739a187f03f4068fe018f509b4
7
- data.tar.gz: 4dcecbbdcf1343d03287b3356155766756fcc19e7c3f301d9ff4c2e1636bb92c3a92cb472419da31ef34547bf443995cf2ba4e8f9a68492ec1ad7ca9aaa6273c
6
+ metadata.gz: 64cee5ec0bf2dd51a3851e7f3e409d41019fa55aea3337fc4557e53af1b415ced2e91479746983ea93ac93c78e7ef5ff0b6a11b545355e620f6c417a94e97608
7
+ data.tar.gz: 4f10393af9a9d47ebb98a2da0132bd2841434a889efaf8f8595208f5a6c27a04123da73495a837d6ffe663d9d85e6d71b23de293012afbead1dfdd36d156d450
@@ -1,7 +1,16 @@
1
1
  # Change Log
2
2
 
3
- ## [0.11.3](https://github.com/chef/train/tree/0.11.3) (2016-05-10)
4
- [Full Changelog](https://github.com/chef/train/compare/v0.11.2...0.11.3)
3
+ ## [0.11.4](https://github.com/chef/train/tree/0.11.4) (2016-05-13)
4
+ [Full Changelog](https://github.com/chef/train/compare/v0.11.3...0.11.4)
5
+
6
+ **Fixed bugs:**
7
+
8
+ - mount resource incorrect matching [\#103](https://github.com/chef/train/issues/103)
9
+ - Add a space to avoid matching partial paths [\#104](https://github.com/chef/train/pull/104) ([alexpop](https://github.com/alexpop))
10
+ - Update README.md [\#102](https://github.com/chef/train/pull/102) ([mcquin](https://github.com/mcquin))
11
+
12
+ ## [v0.11.3](https://github.com/chef/train/tree/v0.11.3) (2016-05-10)
13
+ [Full Changelog](https://github.com/chef/train/compare/v0.11.2...v0.11.3)
5
14
 
6
15
  **Fixed bugs:**
7
16
 
data/README.md CHANGED
@@ -32,7 +32,7 @@ train = Train.create('local')
32
32
  ```ruby
33
33
  require 'train'
34
34
  train = Train.create('ssh',
35
- host: '1.2.3.4', port: 22, user: 'root', keys: '/vagrant')
35
+ host: '1.2.3.4', port: 22, user: 'root', key_files: '/vagrant')
36
36
  ```
37
37
 
38
38
  **WinRM**
@@ -39,7 +39,7 @@ module Train::Extras
39
39
 
40
40
  def mounted
41
41
  @mounted ||=
42
- @backend.run_command("mount | grep -- ' on #{@spath}'")
42
+ @backend.run_command("mount | grep -- ' on #{@spath} '")
43
43
  end
44
44
 
45
45
  %w{
@@ -3,5 +3,5 @@
3
3
  # Author:: Dominik Richter (<dominik.richter@gmail.com>)
4
4
 
5
5
  module Train
6
- VERSION = '0.11.3'.freeze
6
+ VERSION = '0.11.4'.freeze
7
7
  end
@@ -71,8 +71,8 @@ describe 'file common' do
71
71
  end
72
72
 
73
73
  it 'checks a mounted path' do
74
- backend.mock_command("mount | grep -- ' on path'", rand.to_s)
75
- cls.new(backend, 'path').mounted?.must_equal true
74
+ backend.mock_command("mount | grep -- ' on /mount/path '", rand.to_s)
75
+ cls.new(backend, '/mount/path').mounted?.must_equal true
76
76
  end
77
77
 
78
78
  it 'has nil product version' do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: r-train
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.3
4
+ version: 0.11.4
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-05-10 00:00:00.000000000 Z
11
+ date: 2016-05-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json
@@ -239,7 +239,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
239
239
  version: '0'
240
240
  requirements: []
241
241
  rubyforge_project:
242
- rubygems_version: 2.4.6
242
+ rubygems_version: 2.5.1
243
243
  signing_key:
244
244
  specification_version: 4
245
245
  summary: Transport interface to talk to different backends.