active_record-pgcrypto 0.2.5 → 0.2.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -0
- data/lib/active_record/pgcrypto/log_subscriber.rb +1 -5
- data/lib/active_record/pgcrypto/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 97344e7536d8cae65d07a9367efb4fbafd5c7b2a184a954fc0fa3d1dc9a43240
|
4
|
+
data.tar.gz: 94da041a559e67ea37ce3a97052090dbc6f368d5d9106bbe93509ee089689447
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 31bff89b5403e6ade89f4fa80cf770f115d3356523b9841f296deb921e4ded9b1b148e151c2a7994ca4d35ed75410a46a60c6fa2c59b1645be2fdf58c45e0bc2
|
7
|
+
data.tar.gz: 4406389b8f07e536c17276d53bb3c3c73a74e967f8a17cea0e40d496dd46e5575b7a6c6c41033098df22d3f303a7650784b3e2a3a4662ef3ce1bad5015ac65ec
|
data/README.md
CHANGED
@@ -12,11 +12,7 @@ module ActiveRecord
|
|
12
12
|
#
|
13
13
|
# @return [NilClass]
|
14
14
|
def sql(event)
|
15
|
-
|
16
|
-
"#{$LAST_MATCH_INFO[:operation]}(#{PLACEHOLDER})"
|
17
|
-
end
|
18
|
-
|
19
|
-
event.payload[:sql] = scrubbed_sql
|
15
|
+
event.payload[:sql] = event.payload[:sql].gsub(REGEXP, PLACEHOLDER)
|
20
16
|
|
21
17
|
super(event)
|
22
18
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: active_record-pgcrypto
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stas SUȘCOV
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-02-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|