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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9ada83aba097793e130f92865b86f6fbf9b8e43e23b73e788f8683397d3cf7d3
4
- data.tar.gz: 03706e1fc9f239ef7f265b826916b08f98af250bb537214acfef9aa71d5bb1f1
3
+ metadata.gz: cdf84dae174fe7fec5ada7fc4489e6f5d9e9e4c12127355a9e30324ad1838b3e
4
+ data.tar.gz: 3d7a0346f10f8afe251e72ef07d58ef8c1d1cb2457d10709c839fb3acd28db7e
5
5
  SHA512:
6
- metadata.gz: 9ccbf0850f4e259996eba02f86bd20ac4355020ef2df429b185adea71c9619c6c6a784d967b2e78e131c65f54d7a9369b88f5379fbf2d0f36e112d969b948841
7
- data.tar.gz: d6379863103a592300727dea957ce63b5bd51bdf46d3f0f5b1cdd28402172aa8258188ec770892203b20e2688da801458eee20bc026f1c60be094d653259b815
6
+ metadata.gz: 133554f139cb5878be23ae64a3aea2d856675e28b27309a423c98f54691e048053d60d89f0ccaf611eefc6b7413eae42f5026d5d485fa310ac83084ff5e44bc5
7
+ data.tar.gz: 8de22019b159115fdaa1563bd143787a274de4572269e0285da0ed79a39e4ffad63ebc238777ad479f26537354e246eb885b7bff71a9303393ac376c508eccfb
@@ -55,7 +55,7 @@ module DataCollector
55
55
  record = [record]
56
56
  end
57
57
 
58
- data = Core::filter(record, filter_path)
58
+ data = DataCollector::Core::filter(record, filter_path)
59
59
 
60
60
  if data && rule_options
61
61
  if rule_options.key?('convert')
@@ -105,12 +105,12 @@ module DataCollector
105
105
  output_data
106
106
  end
107
107
 
108
- def json_path_filter(filter, input_data)
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, filter)
113
+ DataCollector::Core.filter(input_data, filter_str)
114
114
  end
115
115
  end
116
116
  end
@@ -1,4 +1,4 @@
1
1
  # encoding: utf-8
2
2
  module DataCollector
3
- VERSION = "0.13.0"
3
+ VERSION = "0.15.0"
4
4
  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.13.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-02-21 00:00:00.000000000 Z
11
+ date: 2023-03-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport