data_collector 0.19.0 → 0.20.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: 35d57ff2998ab1343a4d6e906bcd76bd67951a0eae9a6db69387e4de7dbba285
4
- data.tar.gz: 702a6447c28533d2dcdce237cc209417963ea2827eaed4f4ad0ab56a62c42783
3
+ metadata.gz: 9be0a896bc07779a96233f57ca14de24c78caff9c74b9ccc1b5d41e21a048920
4
+ data.tar.gz: 9461c9b07a972af2324a67dbbf0858ca89c3d231ad60b18d192a22fa896b3242
5
5
  SHA512:
6
- metadata.gz: 80e487e0d8bfa19cec43a607b3c58698c37e23fd6385be3102d3ca87584348d585241f1794f848c460c02751f29f3a28d1365c472b8e3a532a922f9104fb2e06
7
- data.tar.gz: 0366f4350e54e1bf985f68d3d0532b6fb00394aad23a3641b07fd65594e7e0b16ddf5da90574251c75b83c63fe09455aa988b7395706fe76e995b17fc79cb2fe
6
+ metadata.gz: 8cf41185c86361d0ac0e487334e8fdbef16b697494c855220223550bdbbd4b8574955c1c68c16d108d399532e4cdbe4a32db352450a1e8ce2c7aa95f597362f5
7
+ data.tar.gz: 16dfd97b0a1ffcb8238ec93df50dfa13dca1be5dedb6c29ce9efacee379fae290208dedda985f0e716b728ca4eb33780cd98c07f8e3403d6039389be1e7c9129
@@ -66,7 +66,7 @@ module DataCollector
66
66
  case payload.class.name
67
67
  when 'Proc'
68
68
  data = input_data.is_a?(Array) ? input_data : [input_data]
69
- output_data = if normalized_options.empty?
69
+ output_data = if normalized_options.empty? && payload.parameters.size == 1
70
70
  # data.map { |d| payload.curry.call(d).call(d) }
71
71
  data.map { |d|
72
72
  loop do
@@ -1,4 +1,4 @@
1
1
  # encoding: utf-8
2
2
  module DataCollector
3
- VERSION = "0.19.0"
3
+ VERSION = "0.20.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.19.0
4
+ version: 0.20.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-05-08 00:00:00.000000000 Z
11
+ date: 2023-05-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport