effective_reports 0.4.2 → 0.4.3

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: 1305cf7f8937e178a2d5eb94df49644b7249f01a856e1cd42b47277fca4f70b8
4
- data.tar.gz: aeb156bd5fdaef4b66bb31546511ed06735374f939280d952a0530b9ff3b0a76
3
+ metadata.gz: 5c1310984f02b38fe92ed745e1b3decac03570c4983f02ec7bab3399415f16a9
4
+ data.tar.gz: 9522feef0ffc3a1b7c23d00ade2a50173ea9a170c7467cf642ba2e2d1a614d89
5
5
  SHA512:
6
- metadata.gz: 46a1c37be1ab24c71263269ef3b981a66bb9854b18349821190c298a24d96b7bace90565173153eb468b32ec3fe5c9f9f3295201f8e1359a5236c6ea5cd1dd68
7
- data.tar.gz: fef84a63e254279dfb27d8b0c9c31991c7f6232e6fc4af6923e1607ae440575eba691fff37dbe46ef2800dbdc283fa87d8e0ef8f1754e94d441c2bc4b2ba7494
6
+ metadata.gz: ab1b8bc62be9ee353a9cd692beb62b6d7320703a38afd92a8a0c53111d85ca8896801fc073661da6acdc769d472a70069599eb4677b6e09740c9ebd6e6db95fd
7
+ data.tar.gz: 9abcb961cadf7a7d5999d06adf2aa93490c00f77daa8df123da745db7876b1fa9fcf195f1644d0b4d22416942064a44c7a10d54acc40fcbdbda2811c7c631757
@@ -43,9 +43,9 @@ module Effective
43
43
 
44
44
  validate do
45
45
  error = begin
46
- collection().to_sql; nil
46
+ collection().first; nil
47
47
  rescue StandardError => e
48
- e.message
48
+ e.message.gsub('<', '').gsub('>', '')
49
49
  end
50
50
 
51
51
  errors.add(:base, "Invalid Report: #{error}") if error.present?
@@ -1,3 +1,3 @@
1
1
  module EffectiveReports
2
- VERSION = '0.4.2'.freeze
2
+ VERSION = '0.4.3'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_reports
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code and Effect
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-12-01 00:00:00.000000000 Z
11
+ date: 2023-12-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails