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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c65655664791b64179ffe77391d0aab2c2d2c5de
4
- data.tar.gz: b159b33760a305dd20eb28748b98d41825ad6c33
3
+ metadata.gz: a6aece7e71251b44dece1bc9df0c4e9e279f0e10
4
+ data.tar.gz: a981aab77eb6c6767477d48025a8a0dd72b37156
5
5
  SHA512:
6
- metadata.gz: b482dbe3b93c2185b9d69330ad10b83a48b19ecaa97277a3f58b1c585f6bcd225c76a2f0a3d78007ea74148c7d8fd317420791e0479cf5114eadcffbc9b7aa86
7
- data.tar.gz: bdd882dc12368493bb625e95648becfd4524f933ccc7cf098cfccc7b7f3da1bb86b909b1be023334c756e71ad1856c9e279f3e1b77bd329578383d78e48261cb
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
@@ -1,3 +1,3 @@
1
1
  module RubyReportable
2
- VERSION = "0.5.0"
2
+ VERSION = "0.5.1"
3
3
  end
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.0
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-07-12 00:00:00.000000000 Z
11
+ date: 2016-09-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec