data_collector 0.49.0 → 0.50.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/data_collector/input/dir.rb +2 -2
- data/lib/data_collector/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 311bb0029b50f2f2f665f2d77aa8cda7816ab329def4987d50485f200cdfacb3
|
4
|
+
data.tar.gz: a994e0b8e81f5af0b7e9401552133157f3a8366ad673f0955823fb6dd03de69f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7ecb0ebcb9e61a55075b288979a6a73625621b5e900ddc76711659f0248d82c6e1792d545483f770b31cc76569c79b703e180b2484bdc58f1e873e07364bb237
|
7
|
+
data.tar.gz: f771d412cfdbfd37982b00078f37a544142a98142d7695c4b7985b690206cf3a5d93f7beaa4e38b5a92b667667f9b4275adb4d3bc6faf2892973fad52dbdced4
|
@@ -29,8 +29,8 @@ module DataCollector
|
|
29
29
|
absolute_path = File.absolute_path("#{@uri.host}#{@uri.path}")
|
30
30
|
raise DataCollector::Error, "#{@uri.to_s} not found" unless File.exist?(absolute_path)
|
31
31
|
|
32
|
-
@listener ||= Listen.to(absolute_path, @options) do |modified, added,
|
33
|
-
files = added | modified
|
32
|
+
@listener ||= Listen.to(absolute_path, @options) do |modified, added, removed|
|
33
|
+
files = added | modified | removed
|
34
34
|
files.each do |filename|
|
35
35
|
handle_on_message(@input, @output, filename)
|
36
36
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: data_collector
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.50.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mehmet Celik
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-03-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|