dircrawl 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dircrawl.rb +3 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c18fd6e3bcf2c82a96a8d14a915f25f5c6259bfa
|
4
|
+
data.tar.gz: 38b9fc3619888f1304e779668c192cf63077725f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1a97e653c7c7b177c7ee598c3a7ce6232a58f5f7c104d7171c67a88531d146055d1a4a355e7ba3b435b62da3f3bb6f21c41d36967e14c69f3cf5afc3d0c538ea
|
7
|
+
data.tar.gz: e4778c1a25a72a74df0fd9cf2bbc2cfbaf12cd5c4b334be1b908f30b27ef83bea060141d7088769ed86a59c77fb2a46d49eeeec5135bebbd17ef08e7570e535b
|
data/lib/dircrawl.rb
CHANGED
@@ -46,7 +46,9 @@ class DirCrawl
|
|
46
46
|
create_write_dirs(dir.gsub(@path, @output_dir))
|
47
47
|
|
48
48
|
# Process Extras
|
49
|
-
|
49
|
+
if @extras_block != ""
|
50
|
+
extras = @extras_block.call(@output_dir+"/")
|
51
|
+
end
|
50
52
|
|
51
53
|
# Process Main
|
52
54
|
processed = @process_block.call(dir+"/"+file, *args)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dircrawl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- M. C. McGrath
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-
|
12
|
+
date: 2016-08-09 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: Run block on all files in dir
|
15
15
|
email: shidash@shidash.com
|
@@ -18,7 +18,7 @@ extensions: []
|
|
18
18
|
extra_rdoc_files: []
|
19
19
|
files:
|
20
20
|
- lib/dircrawl.rb
|
21
|
-
homepage: https://github.com/TransparencyToolkit/
|
21
|
+
homepage: https://github.com/TransparencyToolkit/DirCrawl
|
22
22
|
licenses:
|
23
23
|
- GPL
|
24
24
|
metadata: {}
|