database_consistency 1.7.0 → 1.7.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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 66ce7a52d5ba8e97db7d362d92c6a40df067f6fbab3945aa0f97ec80017ed265
|
4
|
+
data.tar.gz: 52b9314bb94e5664cfe791535596ad1de1055e378a37dd0b9f909d595c633a51
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c72b8c701d2e90e4fd981c27a63b6a1369f10af8c51021006cb78bf19d92f24d280c36cbb4654db8929c3f26069769fa8fd23145c444a2fe565dacadadbed7cc
|
7
|
+
data.tar.gz: 763b0564fe4d78619e5d0ba0245837dbf74634f9480237b1b68f47f04ae5be3dfa2c943aa9da6257ec7b2b6159e1dfef6772a12ca656a3d7de45d916f4c6b10c
|
@@ -24,7 +24,7 @@ module DatabaseConsistency
|
|
24
24
|
end
|
25
25
|
|
26
26
|
def preconditions
|
27
|
-
Helper.postgresql? && column.type == :enum && (enum || inclusion_validator)
|
27
|
+
Helper.postgresql? && ActiveRecord::VERSION::MAJOR >= 7 && column.type == :enum && (enum || inclusion_validator)
|
28
28
|
end
|
29
29
|
|
30
30
|
def check
|
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.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Evgeniy Demin
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-12-
|
11
|
+
date: 2022-12-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|