ruby_reportable 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ruby_reportable/report.rb +2 -2
- data/lib/ruby_reportable/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a6aece7e71251b44dece1bc9df0c4e9e279f0e10
|
4
|
+
data.tar.gz: a981aab77eb6c6767477d48025a8a0dd72b37156
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7a8f700df976a10dfcb8952b38bb678ceb9764787e6d7b470e192ab9e40777f4036bfe835399458711708d74ecf4e2a9edb31474d5c49233111bf1748327e205
|
7
|
+
data.tar.gz: f0f431c710f183c69048af0394b405a7492f09e3d524706f859ad27a291a5e1a6c50fa2b65a4fbf22f6fabbe19861171962f393a07a51a72c4d8d44af37cde62
|
@@ -310,8 +310,8 @@ module RubyReportable
|
|
310
310
|
true
|
311
311
|
end
|
312
312
|
elsif !filter_validity.nil? && !filter_validity[:status].nil? && filter_validity[:status] == false
|
313
|
-
# Ignore an empty filter unless it's required
|
314
|
-
if !sandbox[:input].to_s.blank?
|
313
|
+
# Ignore an empty filter unless it's required or the error is forced.
|
314
|
+
if !sandbox[:input].to_s.blank? || filter_validity[:force_error] == true
|
315
315
|
errors << filter_validity[:errors]
|
316
316
|
false
|
317
317
|
else
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby_reportable
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John 'asceth' Long
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-09-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|