database_consistency 1.7.13 → 1.7.14
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4aae1ecf43d2307f2006fecf4ba08a40e69565bb240ce8d7c59d2d271ec11ee0
|
4
|
+
data.tar.gz: f59e8e3422196f502c6aefe81c8995c01b2167ad7f158d57ceabb787cd2f46e9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cac4e844ed502055658862456132ea245cb5208bfd5d1a184c50097086f7ab469020aa00bf55b64ae9ff056eb69ce222ff3175150950829f0ad1ea8c7f99acb7
|
7
|
+
data.tar.gz: 0a5768efcffc548bd35feba6a6b8f22fd11ee1ae795db9aeb7664422a3bfbd88aef34f1216433be874b7be5fc2a2e4eb367a66048b95a56256922b21ac8ae551
|
@@ -25,7 +25,8 @@ module DatabaseConsistency
|
|
25
25
|
!association.polymorphic? &&
|
26
26
|
association.through_reflection.nil? &&
|
27
27
|
association.klass.present? &&
|
28
|
-
association.macro != :has_and_belongs_to_many
|
28
|
+
association.macro != :has_and_belongs_to_many &&
|
29
|
+
association.klass.table_exists?
|
29
30
|
rescue NameError
|
30
31
|
false
|
31
32
|
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: 1.7.
|
4
|
+
version: 1.7.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Evgeniy Demin
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-07-
|
11
|
+
date: 2023-07-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|