active_record-postgres-constraints 0.2.1 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fe7bc9fd0b8bdd03a3efd5c6db0ceb7144283bd9e9cac68e03285b8e030bb108
|
|
4
|
+
data.tar.gz: 706f42a29877429fcb14cc74c3f62c523b22b629404a4914e9dc876595f1dfc5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bed87dde68aa59d4edfd1b9ad3934eea4d3c98d6159cfb98ea7f21edc6cbc79a9ccf7dcaf1df8371464168a1fb1af83fc1d7bcf68a0dc35833a74338c072ff2f
|
|
7
|
+
data.tar.gz: 10518c8452b1079ac19dda2d656b7232e2790873ecc0bb4887f7ad93292ac3389681216b607f1297ae51cc0c08f433c5901a96eab1b994e0696888bd748ed2ff
|
|
@@ -28,7 +28,7 @@ if defined?(::Rails::Railtie)
|
|
|
28
28
|
|
|
29
29
|
def pg?
|
|
30
30
|
config = ActiveRecord::Base.connection_config
|
|
31
|
-
return true if config &&
|
|
31
|
+
return true if config && config[:adapter].in?(%w[postgresql postgis])
|
|
32
32
|
|
|
33
33
|
Rails.logger.warn do
|
|
34
34
|
'Not applying Postgres Constraints patches to ActiveRecord ' \
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: active_record-postgres-constraints
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Isaac Betesh
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-
|
|
11
|
+
date: 2020-04-21 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: pg
|