data_collector 0.13.0 → 0.15.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/rules.rb +1 -1
- data/lib/data_collector/rules_ng.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: cdf84dae174fe7fec5ada7fc4489e6f5d9e9e4c12127355a9e30324ad1838b3e
|
4
|
+
data.tar.gz: 3d7a0346f10f8afe251e72ef07d58ef8c1d1cb2457d10709c839fb3acd28db7e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 133554f139cb5878be23ae64a3aea2d856675e28b27309a423c98f54691e048053d60d89f0ccaf611eefc6b7413eae42f5026d5d485fa310ac83084ff5e44bc5
|
7
|
+
data.tar.gz: 8de22019b159115fdaa1563bd143787a274de4572269e0285da0ed79a39e4ffad63ebc238777ad479f26537354e246eb885b7bff71a9303393ac376c508eccfb
|
data/lib/data_collector/rules.rb
CHANGED
@@ -105,12 +105,12 @@ module DataCollector
|
|
105
105
|
output_data
|
106
106
|
end
|
107
107
|
|
108
|
-
def json_path_filter(
|
108
|
+
def json_path_filter(filter_str, input_data)
|
109
109
|
data = nil
|
110
110
|
return data if input_data.nil? || input_data.empty?
|
111
111
|
return input_data if input_data.is_a?(String)
|
112
112
|
|
113
|
-
Core.filter(input_data,
|
113
|
+
DataCollector::Core.filter(input_data, filter_str)
|
114
114
|
end
|
115
115
|
end
|
116
116
|
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.15.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: 2023-
|
11
|
+
date: 2023-03-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|