data_collector 0.49.0 → 0.51.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/output.rb +4 -3
- 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: c14c5e51a7f7eb0afc8b3c9e8580dd6f76324f08ee1fd06c73e58df68e368bd7
|
4
|
+
data.tar.gz: f2c856272c5feea8a432055b8d4c3220bddadde7fe66d1d0602e408f7686f082
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2d8324edc28e85ddb5641da200d584b4d4a59d5ac7a8686fe297ca52ef326eccba9d183b3971f27070dd5779bac9a371999336f0b8f20d36b237fa3ced7feaaa
|
7
|
+
data.tar.gz: 462d507afd995e24b98fdd98c2aecd1325d60eb61d582c34b0b6590cdd181bab6d499cae15cb1895d1fb2863ebc4fc60328907ff6b83a10e9bc8d2ba77dad1f0
|
@@ -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
|
@@ -5,11 +5,12 @@ require 'date'
|
|
5
5
|
require 'minitar'
|
6
6
|
require 'zlib'
|
7
7
|
require 'cgi'
|
8
|
-
require 'active_support/
|
8
|
+
require 'active_support/all'
|
9
|
+
#require 'active_support/core_ext/hash'
|
9
10
|
# Volgende is deprecated vanaf 7.1
|
10
11
|
#require 'active_support/core_ext/array'
|
11
|
-
require "active_support/isolated_execution_state"
|
12
|
-
require 'active_support/xml_mini'
|
12
|
+
#require "active_support/isolated_execution_state"
|
13
|
+
#require 'active_support/xml_mini'
|
13
14
|
require 'fileutils'
|
14
15
|
|
15
16
|
require_relative './output/rpc'
|
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.51.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-04-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|