entangler 1.0.0.beta1 → 1.0.0.beta2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/exe/entangler +1 -1
- data/lib/entangler/executor/base.rb +1 -1
- data/lib/entangler/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 367499550d388ad3f9642abcf1d7afc1742fd938
|
4
|
+
data.tar.gz: 1e928995f5fb7ef1c5d22d8f1b20813bdfb00d84
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b704a2c97c418c6fc588812bf9f854f7cb14c54d50d3da9ec5d2466fb3c113f94fa6ad6af807584f41595d6b61ed04f7ad5890a02bc683c56caf5f2596fcd639
|
7
|
+
data.tar.gz: 69ca0e83d1b1ac3d0dbb0e6bf6a3f670558cad26ad5b1d761135bb5c9366880ba3ad033625f45371e4eab09587c2fc7b718c6a65ea23fb25be16b26b0123c86b
|
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.0.
|
21
|
+
Entangler v1.0.0.beta2
|
22
22
|
|
23
23
|
Usage:
|
24
24
|
entangler master <base_dir> <remote_user>@<remote_host>:<remote_base_dir> [options]
|
@@ -38,7 +38,7 @@ Options:
|
|
38
38
|
|
39
39
|
If you specify a string, instead of a regex, it will match any path starting with that string, i.e. `-i '.git'` will ignore the `.git`
|
40
40
|
folder and all its sub-directories. If you want to just ignore the the `.git` sub-directories but not the content in the git folder, you'll
|
41
|
-
have to use regex. `-i '/^\.git
|
41
|
+
have to use regex. `-i '/^\.git(?:\/[^\/]+)+/'` will match all sub-directories of `.git/`, but not the files in `.git`.
|
42
42
|
|
43
43
|
You can specify multiple `-i` or `--ignore` flags to ignore multiple paths.
|
44
44
|
|
data/exe/entangler
CHANGED
@@ -89,7 +89,7 @@ if options[:ignore]
|
|
89
89
|
opts[:ignore] = options[:ignore].map do |opt|
|
90
90
|
if ToRegexp::String.literal? opt
|
91
91
|
source, *rest = opt.as_regexp(detect: true)
|
92
|
-
::Regexp.new "^#{source}", *rest
|
92
|
+
::Regexp.new "^#{source}(?:/[^/]+)*", *rest
|
93
93
|
else
|
94
94
|
opt.to_regexp(detect: true)
|
95
95
|
end
|
@@ -15,7 +15,7 @@ module Entangler
|
|
15
15
|
@recently_received_paths = []
|
16
16
|
@listener_pauses = [false, false]
|
17
17
|
@opts = opts
|
18
|
-
@opts[:ignore] = [/^\.git
|
18
|
+
@opts[:ignore] = [/^\.git(?:\/[^\/]+)*/] unless @opts.key?(:ignore)
|
19
19
|
@opts[:ignore] << /^\.entangler.*/
|
20
20
|
|
21
21
|
validate_opts
|
data/lib/entangler/version.rb
CHANGED