entangler 1.0.1 → 1.0.2

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: c37e01ff82caac966cc6914e8ce9b3ae76820106
4
- data.tar.gz: eb49a80d236d3a4ea41aae48b354de2be624e567
3
+ metadata.gz: d318a183e429b424739510c6387797f1662ca70d
4
+ data.tar.gz: 85e3be687d52b674b03fe019c4b5a23b0e2a8eee
5
5
  SHA512:
6
- metadata.gz: e652cb24a4724fa59c4c68f687a7e36cb5a63ecf4f59fa23ab42563fefd0e6e2c500c0f2a55ebfa9aca01b4fb4908443b093d3f63a2188198aeefd392997a36e
7
- data.tar.gz: b0f8dd950f5a0946f9738db12f43a41a44b313034ec4bc0b13362cdce3c3b04a638ea908b0a730d735b3fa4533d271eb6a1b8095308069a4220d1569728a3763
6
+ metadata.gz: 87f64fef3ac2ab2c405b0c889959cdd4d611632d60503be33d68ba54692221a4a7b00235b4383d5d5064318f032b0d942c39a77bcef1e22938a2e28d927706e0
7
+ data.tar.gz: 9c0fb5dabbeddaf2eb9c94e06cf5fc185e53ade82b98ecc00ae1b00f8771b217fa92dfc68b060a249bdce61dee9c2bdd981a498d7cf1effe6b75e8cbf20e1f49
data/README.md CHANGED
@@ -18,7 +18,7 @@ $ entangler master /some/base/path user@remote:/some/remote/path
18
18
 
19
19
  ```
20
20
  $ entangler -h
21
- Entangler v1.0.1
21
+ Entangler v1.0.2
22
22
 
23
23
  Usage:
24
24
  entangler master <base_dir> <remote_user>@<remote_host>:<remote_base_dir> [options]
@@ -105,4 +105,9 @@ end
105
105
 
106
106
  opts[:verbose] = options[:verbose]
107
107
 
108
- Entangler.run(base_dir, opts)
108
+ begin
109
+ Entangler.run(base_dir, opts)
110
+ rescue Entangler::EntanglerError => e
111
+ puts e.message
112
+ exit 1
113
+ end
@@ -10,6 +10,7 @@ module Entangler
10
10
 
11
11
  @remote_reader = STDIN
12
12
  @remote_writer = STDOUT
13
+ FileUtils.mkdir_p log_dir
13
14
  $stderr.reopen(File.join(log_dir, 'entangler.err'), 'w')
14
15
  end
15
16
  end
@@ -1,3 +1,3 @@
1
1
  module Entangler
2
- VERSION = '1.0.1'.freeze
2
+ VERSION = '1.0.2'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: entangler
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dave Allie
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-12-21 00:00:00.000000000 Z
11
+ date: 2016-12-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler