dir_glob_ignore 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +8 -0
- data/lib/dir_glob_ignore/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: 59f6e0762503ccdb5cb8d469b478d1c3b90bb649
|
4
|
+
data.tar.gz: 8858c71953e0bd37cf8cf6df55c458a3041d07cc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 780257e567922428c89887c77f614a4cd0bbb4db1afc1fa84abc42f4faf1fb3e6846d99558686835b254ae7773899ecf983de4d285bddc15f0de6558b1e5644c
|
7
|
+
data.tar.gz: b7110afe8f51c0a841c1ac548d853c48a515c71293327dd3279d75fa7bb9026a72661a5b1349cadf336ca31f1310cd92626bc9d1d6ad3ea72a164a7ec2a5b3ae
|
data/README.md
CHANGED
@@ -36,6 +36,14 @@ Dir.glob_with_ignore_file '.my_ignore_file', '/a/root/directory', *standard_glob
|
|
36
36
|
for the glob function but actually defines where to search ignore files.
|
37
37
|
* Then the remaining parameters are identical to the ones you could pass to `Dir::glob`
|
38
38
|
|
39
|
+
## Ignore files format
|
40
|
+
|
41
|
+
The format is really simple, inspired by `.gitignore` file format (except you can't specify
|
42
|
+
"_positive_" exceptions with "!").
|
43
|
+
|
44
|
+
You can specify comment lines with "#". Blank lines are ignored.
|
45
|
+
|
46
|
+
Patterns are actually any `Dir::glob` valid pattern
|
39
47
|
|
40
48
|
## Contributing
|
41
49
|
|