file_crawler 0.5.1 → 0.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/file_crawler/finder/command/search.rb +2 -1
- data/lib/file_crawler/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d0cf4802046c8f20e6894a29dfd011ce84a2dece4f6ab37adc5f392a9e205327
|
4
|
+
data.tar.gz: f1623a36d3fe5c0c3a2bb0cf28941959bc8e8b250072d8d6e1d38b0497ff3478
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d70ffcce7209c70fcc001458ae9f62a12b94df634f5058a00239ee347d185f7f26b9e882a0b2bb454b913dc3d3b06d4feda7ceb446c13cb18701001c21ecade0
|
7
|
+
data.tar.gz: 57b1c4866d11e4dad350a43e8c7c6458a583a52fc9b1322d262d35e0de0a2ea44ab0eed618667b1ead89e1c269d62334ba410eecdfb0310b780581a5af01493c
|
@@ -16,7 +16,8 @@ module FileCrawler::Finder::Command
|
|
16
16
|
cmd = "find #{path} -maxdepth #{options[:maxdepth]} -type d"
|
17
17
|
end
|
18
18
|
|
19
|
-
exec(cmd).each_line
|
19
|
+
exec(cmd).each_line {|item|
|
20
|
+
item.chomp!
|
20
21
|
valid = true
|
21
22
|
if options[:exclude_invisible_file]
|
22
23
|
filename = File.basename(item)
|
data/lib/file_crawler/version.rb
CHANGED