active_reporter 0.5.11 → 0.5.12

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: 48cca1e6258019489cf2ea7d2a3b39ab933cb671986e89bb5a9d25ba6ee3491e
4
- data.tar.gz: 02d51031b58147f7a68883a81541ab5c2055076ef60e1e20601f27382f64d2fe
3
+ metadata.gz: aed148d6a8bfcab1d71ab77adc0663400b36bfac88a20070a42350bdee5afe71
4
+ data.tar.gz: f588e4470f5f496e5d3206c1e4374c50d968dbb9e6be0310525509d0faf4d7d5
5
5
  SHA512:
6
- metadata.gz: d486bf2999398c798ee123dadc77fa6bed513e1683b96c9d758145ba81b079e9f843e432ff95d756daf001ab89a072773409e89fa2bb9990db7554e51c0f1e19
7
- data.tar.gz: 9de9050e9aa80dfa3bdc00c94a3485b01c6562c9d8d96f5f2180f0a5d5c184d425d5545d638ea28d4b63772f209f9c06dab3070a7f505d32d186411b8cfb0754
6
+ metadata.gz: 850aa84aa4db8c5a879a224cb6e06033a5435e161dd232092b4dd66d3ba51d81bb83cd9b13414e6233c9ef1311c315892c458c91e1e56a8526ae2ebf30df370d
7
+ data.tar.gz: cd18bc9a71b491c451639a6102d497a8d9766deee3b97275f35485cd0bb51c013bb8e3ef8dde69b2d9035df61ac13dc0e10df9f4af22c309f52f101c239fb19a
@@ -4,7 +4,7 @@ module ActiveReporter
4
4
  def table
5
5
  report.hashed_data.collect { |row| row.map { |k,v| [k, (v.respond_to?(:min) ? v.min : v).to_s] }.to_h }.collect do |row|
6
6
  report.grouper_names.reverse.inject(row.slice(*report.all_aggregators.keys)) { |nested_row_data, group| { row[group] => nested_row_data } }
7
- end.reduce({}, :merge)
7
+ end.reduce({}, :deep_merge)
8
8
  end
9
9
  end
10
10
  end
@@ -1,3 +1,3 @@
1
1
  module ActiveReporter
2
- VERSION = "0.5.11"
2
+ VERSION = "0.5.12"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_reporter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.11
4
+ version: 0.5.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - chaunce
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-11-04 00:00:00.000000000 Z
11
+ date: 2020-11-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails