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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: '00870564a71bf6d8a92aa2645ee06de91ea09ae7'
4
- data.tar.gz: ea98a38a97c0dba7c257d8c9d1e9114e2bff2783
3
+ metadata.gz: c4319dafd33a7a8039701d10b885b4f370b48d14
4
+ data.tar.gz: 4c092f81f1f99c7e0510f915c933c8bbc7c90ada
5
5
  SHA512:
6
- metadata.gz: 99856ebd6ac5e564e98960aca97eeebcaaacf4d8578e719ad973d3f7fc8feeec3b4bee376ddcd38eabdba2efeab2d9252ff202bad14ab006407ee8d97fd29e70
7
- data.tar.gz: b654419242686396b1dd01a0baf091cee54889747c7440aec23826fc9b946f7ff764cba8e297264911b9c096590c6d90a7fe58c4b5f97ff04c864b85ab3db73a
6
+ metadata.gz: 393729c92757d34847bff8d1d5d5863ee9de1a2be544c1b985bbaeeda514c75384fef56b0c544787c6ba1dd1954d7be19a348cc9b7316e724eb7e7e86fc12506
7
+ data.tar.gz: 3f845a238e267e8bdb78961d268e27565fc3b3018ec852eba0fb75f4a32aa36de0fdd4fe1f301ce2e184a5d509b591e4f00cf51e298a77aade089944a101003f
@@ -1,3 +1,3 @@
1
1
  module FileScanner
2
- VERSION = "3.2.4"
2
+ VERSION = "3.2.5"
3
3
  end
@@ -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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: file_scanner
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.4
4
+ version: 3.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - costajob