file_scanner 2.1.0 → 2.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/file_scanner.gemspec +1 -1
- data/lib/file_scanner/version.rb +1 -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: 2e8b3d765df8a8e795518d4064f14aac2cd6251b
|
|
4
|
+
data.tar.gz: d0cf2f954efb5d39c9d5acc51a324f8c6ffe7203
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 66e819ffaf4fee4017fa6df1c5249c7f1a958c6d2f40c6acbd75e042bd97338c0b63d906e7fc9581bafffdb8625d7d8a1e9419ce25a6c8df4cd935e51f3a137b
|
|
7
|
+
data.tar.gz: 0f5f54fc7024931dad13084ba58e1e75ddd309e1d911c726ba8a196349167c9a4388ca9a76ac2e12a9331b0698eebbf71f95bef8f9e24bad4eb5786d71bb8326
|
data/README.md
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
* [Factory](#factory)
|
|
18
18
|
|
|
19
19
|
## Scope
|
|
20
|
-
This gem is aimed to collect a set of file paths starting by a wildcard rule, filter them by any default/custom filters (access time, matching name and size range) and apply a set of actions via a block call.
|
|
20
|
+
This gem is aimed to collect a set of file paths starting by a wildcard rule, filter them by any/all default/custom filters (access time, matching name and size range) and apply a set of actions via a block call.
|
|
21
21
|
|
|
22
22
|
## Motivation
|
|
23
23
|
This gem is helpful to purge obsolete files or to promote relevant ones, by calling external services (CDN APIs) and/or local file system actions (copy, move, delete, etc).
|
data/file_scanner.gemspec
CHANGED
|
@@ -8,7 +8,7 @@ Gem::Specification.new do |s|
|
|
|
8
8
|
s.version = FileScanner::VERSION
|
|
9
9
|
s.authors = ["costajob"]
|
|
10
10
|
s.email = ["costajob@gmail.com"]
|
|
11
|
-
s.summary = "A
|
|
11
|
+
s.summary = "A library to collect a set of file paths starting by a wildcard rule, filter them by any/all default/custom filters and apply a set of actions via a block call."
|
|
12
12
|
s.homepage = "https://github.com/costajob/file_scanner"
|
|
13
13
|
s.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(spec|test|s|features)/}) }
|
|
14
14
|
s.require_paths = ["lib"]
|
data/lib/file_scanner/version.rb
CHANGED
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: 2.1.
|
|
4
|
+
version: 2.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- costajob
|
|
@@ -110,6 +110,6 @@ rubyforge_project:
|
|
|
110
110
|
rubygems_version: 2.6.8
|
|
111
111
|
signing_key:
|
|
112
112
|
specification_version: 4
|
|
113
|
-
summary: A
|
|
114
|
-
|
|
113
|
+
summary: A library to collect a set of file paths starting by a wildcard rule, filter
|
|
114
|
+
them by any/all default/custom filters and apply a set of actions via a block call.
|
|
115
115
|
test_files: []
|