rails_sql_prettifier 5.0.0 → 5.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.byebug_history +4 -0
- data/CHANGELOG.md +4 -0
- data/lib/rails_sql_prettifier/version.rb +1 -1
- data/lib/rails_sql_prettifier.rb +1 -4
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e054a55678b35786fd255abe2842a3b4b795e5ffbb5e0ea570888c05c6abaea6
|
4
|
+
data.tar.gz: ba6cba10e835b079e364347eba883c63106164f20ebf7dfb7406270f657b1edd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d01423c703f5425635c41f3bed89622b17e9860eb8322ded8de75c1bf348fd305382f0d7ae98b8d201f7494f6cac92fab959fe6475367bd782e4248889875135
|
7
|
+
data.tar.gz: 51695da6649ff7907d152f6a0a3105536def401640b4d2f076a0da8758a5bdccc6aa01fd1395c44777b1eef73a860eeae53d93bb32ffa54dd58e12f63e1443b3
|
data/.byebug_history
CHANGED
data/CHANGELOG.md
CHANGED
data/lib/rails_sql_prettifier.rb
CHANGED
@@ -55,10 +55,7 @@ module RailsSQLPrettifier
|
|
55
55
|
|
56
56
|
|
57
57
|
def ar_using_pg_adapter?
|
58
|
-
|
59
|
-
ActiveRecord::Base.try(:connection_config)&.with_indifferent_access&.dig(:adapter)
|
60
|
-
|
61
|
-
adapter == 'postgresql'
|
58
|
+
ActiveRecord::Base.try(:connection_config)&.with_indifferent_access&.dig(:adapter) == 'postgresql'
|
62
59
|
end
|
63
60
|
|
64
61
|
def initialize
|