file_scanner 3.2.4 → 3.2.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/file_scanner/version.rb +1 -1
- data/lib/file_scanner/worker.rb +2 -2
- 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: c4319dafd33a7a8039701d10b885b4f370b48d14
|
4
|
+
data.tar.gz: 4c092f81f1f99c7e0510f915c933c8bbc7c90ada
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 393729c92757d34847bff8d1d5d5863ee9de1a2be544c1b985bbaeeda514c75384fef56b0c544787c6ba1dd1954d7be19a348cc9b7316e724eb7e7e86fc12506
|
7
|
+
data.tar.gz: 3f845a238e267e8bdb78961d268e27565fc3b3018ec852eba0fb75f4a32aa36de0fdd4fe1f301ce2e184a5d509b591e4f00cf51e298a77aade089944a101003f
|
data/lib/file_scanner/version.rb
CHANGED
data/lib/file_scanner/worker.rb
CHANGED
@@ -7,14 +7,14 @@ module FileScanner
|
|
7
7
|
ALL = :all?
|
8
8
|
ANY = :any?
|
9
9
|
|
10
|
-
attr_reader :filters
|
10
|
+
attr_reader :path, :filters
|
11
11
|
|
12
12
|
def initialize(path:,
|
13
13
|
filters: Filters::defaults,
|
14
14
|
all: false,
|
15
15
|
filecheck: false,
|
16
16
|
logger: Logger.new(nil))
|
17
|
-
@path = File.expand_path(path)
|
17
|
+
@path = File.expand_path(path) << File::SEPARATOR
|
18
18
|
@filters = filters
|
19
19
|
@mode = mode(all)
|
20
20
|
@filecheck = filecheck
|