fde-file_crawler 0.5.1 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fde/file_crawler.rb +3 -6
- data/lib/fde/file_crawler/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cd0c7f7121d3d9217d9ac6bf485371763ffd97ae612986b51e22679fb25219d3
|
4
|
+
data.tar.gz: 5375f8c662f0973300a280bfc1f2ffb920962c869e7906aee0f3362987f068cf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8d9a62636aa96e4d2c49696fde9f81486e628cd37998a776e81107a969a387b2d3ab4eb62586d4fe0f6b003cfb01a41e6ba52d4d2ed63460ad8a537f0ee40767
|
7
|
+
data.tar.gz: fc64e664313ad375cd29df62707332d5658a8bfdab3ab3bd64387fe84945fe287524a1473ddfeac4d31da6a203980d78e341e26f811c9932b3e47de3d217b6f8
|
data/lib/fde/file_crawler.rb
CHANGED
@@ -18,12 +18,9 @@ module FDE
|
|
18
18
|
yield self.config
|
19
19
|
end
|
20
20
|
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
yield self.crawl(query)
|
25
|
-
else
|
26
|
-
yield self.crawl
|
21
|
+
def self.watch(query = /.*\.*/i, &block)
|
22
|
+
self.crawl(query).each do |file|
|
23
|
+
yield file
|
27
24
|
end
|
28
25
|
end
|
29
26
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fde-file_crawler
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Felix Langenegger
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-03-
|
11
|
+
date: 2020-03-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -134,7 +134,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
134
134
|
- !ruby/object:Gem::Version
|
135
135
|
version: '0'
|
136
136
|
requirements: []
|
137
|
-
|
137
|
+
rubyforge_project:
|
138
|
+
rubygems_version: 2.7.6
|
138
139
|
signing_key:
|
139
140
|
specification_version: 4
|
140
141
|
summary: A simple file crawler for the fashion data exchange
|