data_collector 0.14.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: 7d17ac7ab078aa43066b823b88804b6b60e4ced14ce24c8bd70b753a0fa398c3
4
- data.tar.gz: a0addc490c09e2c7b928c1e9495bcf5b85a5d9c6dcebf8645026d57e9f4c9e47
3
+ metadata.gz: cdf84dae174fe7fec5ada7fc4489e6f5d9e9e4c12127355a9e30324ad1838b3e
4
+ data.tar.gz: 3d7a0346f10f8afe251e72ef07d58ef8c1d1cb2457d10709c839fb3acd28db7e
5
5
  SHA512:
6
- metadata.gz: 1e38738404baf8d95d9f8021015755cf5e5f98031c73cab1bb0e3415ceee145f5650defecf5b799fa5fd44eb72138d918da942323082598fdb8a36ca820925c2
7
- data.tar.gz: d0574054e5636e43460644c18aa5d1ccc753fa3c321a91fb7604472530f57b3dec69c2fa6ef2a86d1b0124c92ba865cd45fd7e2e553290c234c6a4f926986b6b
6
+ metadata.gz: 133554f139cb5878be23ae64a3aea2d856675e28b27309a423c98f54691e048053d60d89f0ccaf611eefc6b7413eae42f5026d5d485fa310ac83084ff5e44bc5
7
+ data.tar.gz: 8de22019b159115fdaa1563bd143787a274de4572269e0285da0ed79a39e4ffad63ebc238777ad479f26537354e246eb885b7bff71a9303393ac376c508eccfb
@@ -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
- DataCollector::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.14.0"
3
+ VERSION = "0.15.0"
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: data_collector
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.0
4
+ version: 0.15.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mehmet Celik