active_report 5.2.4 → 5.2.5

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: 2e93417de22977ce483ce4ebddcdfcf72831e853d76136b98ea029c162752796
4
- data.tar.gz: f9da1cd2c6aeaf86b848adc2a7042dc5f1a584e6d4bfc5467db57e378427c96a
3
+ metadata.gz: 4614fb70725ffd6adc4aa06ee4cd5d2f8c4034918b10a1ecb418bd91c97e8b52
4
+ data.tar.gz: 6f1142d465a1a27aa01c8f1270fdcf2c7dc06a7cb87e209190458c59c4588a18
5
5
  SHA512:
6
- metadata.gz: f8665373ecedda065531a06d42ea6af146fcc463e8e05d5b286d0bf1d66228d223215f6811f0fa00bf2bcd8cd58f863e451c75cdc9a5121b819462aabfc6c63c
7
- data.tar.gz: b0ec658eb4f68416100c0bdd242e16c44b16b090ace5d74bff7fbdfb3b1be2a622c3bcec9d9b02824a0d5946ecea3f8d4887b8d4443e716cf92680abbf99d1a8
6
+ metadata.gz: 0256bac113ce460cbf0c91216748fad24c9bd11236ff4addda8412e5fdd4efcd2deb89d44a8c13b3d3dd001a789e8545ad3e037a0ed6aa0fca40158e5b08433d
7
+ data.tar.gz: 6c13b9e78217c38f629964df0c788a5fb66c4045da249bf92c5706c76f51239d072c88de2f4d94de85f2a339eeb482fa7a70acd484b5e0180cf83e6b89a6e8d2
@@ -52,7 +52,7 @@ class ActiveReport::Base
52
52
 
53
53
  def active_record_table_class?(object)
54
54
  return if object.nil? || object.is_a?(ActiveRecord::Relation)
55
- object.respond_to?(:table_name)
55
+ object.respond_to?(:table_name) || object.is_a?(Ransack::Search)
56
56
  end
57
57
 
58
58
  def encode_to_utf8(line)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ActiveReport
4
- VERSION ||= '5.2.4'
4
+ VERSION ||= '5.2.5'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_report
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.2.4
4
+ version: 5.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juan Gomez