better_record 0.14.4 → 0.14.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/db/postgres-audit-trigger.psql +2 -1
- data/lib/better_record/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: 7e37c28c428a988cd2eeea6d47e91a5df0984430f43bf0fbdf53023fddc45ffb
|
4
|
+
data.tar.gz: d49fda729a390605750dee0217e2fbce72cec21630ae356e8b55039050bdae70
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9aad0c0fb4ce9428bb3efc50053208b68eb8ad17ff10a0ac40cb9766c775c4e2201c0f9b71a1cca64f1009801dced21fc2c0ebc3ce8327538c606808205995ca
|
7
|
+
data.tar.gz: 40e93541d5eea8bb9164f798136d0a17a5276db0546e20996c57057e3d7089440b8ef89386428f4cf6133a7dc47e93fa4c2558d81a6929b7b61943f72b325a56
|
@@ -147,7 +147,8 @@ $$
|
|
147
147
|
excluded_cols = TG_ARGV[2]::text[];
|
148
148
|
END IF;
|
149
149
|
|
150
|
-
|
150
|
+
CREATE TEMP TABLE IF NOT EXISTS
|
151
|
+
"_app_user" (user_id integer, user_type text, ip_address inet);
|
151
152
|
|
152
153
|
IF (TG_OP = 'UPDATE' AND TG_LEVEL = 'ROW') THEN
|
153
154
|
audit_row.row_data = hstore(OLD.*) - excluded_cols;
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: better_record
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.14.
|
4
|
+
version: 0.14.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sampson Crowley
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-10-
|
11
|
+
date: 2018-10-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|