database_consistency 0.6.8 → 0.6.9

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: 73fc6eabb9e2451dad6a2f238102f9eea3ee79ae7561c05649599e12301cacf3
4
- data.tar.gz: f6251f161e8c5b2ce232c6632eb1176b9333d74b23c91a421ef21c9622ff85de
3
+ metadata.gz: 56965231dae6fdb2965490bad30361b322f4305c960504ebbca47c49ed03a7fc
4
+ data.tar.gz: 5d29b7c7096b799d79cd52848e28d5fda4dd8d0b27ea6391b9ee3851d4287343
5
5
  SHA512:
6
- metadata.gz: a5417be3a2afe6072884395e6fd54e3c9b4134f953d052d8c83b6cad8652c78f7db39c42a5b698cd6e1f6b7fab3cf8f0ae6316748e9eb1a816d684d57b6fbf17
7
- data.tar.gz: c7844e3f18f15768b85e75c121328301b7f0d78e145c52485f1d27c577d35f531fffdbb078e6c33e2f35dca736849be18a11c4a52708a6092c954731ebdea033
6
+ metadata.gz: 81a45931d30f3a43e6a84c643861d931fc99bd1f9bebf3d468d0ce44dbb985932bfff2073d96a83acc795a052858f29a6b0b83d940119a1b51a76ff9ed326b3b
7
+ data.tar.gz: e5941f1c7164476948e0eee87a9a78fc9bbae94062acccfa07514b234000e684caf9f2014a0655646dc24d0ac57de8848b97b3c975c6cccdc8fe1016ea412a42
@@ -38,7 +38,7 @@ module DatabaseConsistency
38
38
  config: configuration
39
39
  )
40
40
 
41
- reports.empty? ? 0 : 1
41
+ reports.any? { |report| report.status == :fail } ? 1 : 0
42
42
  end
43
43
  end
44
44
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module DatabaseConsistency
4
- VERSION = '0.6.8'
4
+ VERSION = '0.6.9'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: database_consistency
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.8
4
+ version: 0.6.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Evgeniy Demin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-05-05 00:00:00.000000000 Z
11
+ date: 2019-05-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord