audit-log 0.3.0 → 0.3.1
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 -2
- data/lib/audit-log.rb +2 -1
- data/lib/audit-log/version.rb +1 -1
- 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: 8d1c83f045e85301b4c782233b33f8fbc4ce1b1519bb13475676800d0e4c454f
|
4
|
+
data.tar.gz: 253c12657530a991f595a1091eca8e1282c3793df7d03dad5ca68c91af5e69e7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c8fe2cd5f6e298362c5c48db77471601f7486954e8abebffbdc0ae0801c442a51775c24aaead0abd90c740565a268f490403d34699bda96c468cd263567308a5
|
7
|
+
data.tar.gz: 6eac49f24696111571c41986cf649873782644d903cc2994df4535f7b9f29f663ed9520e2aed3778465754761885b7bdc8848b3b1ff56d72521ea34f49842a93
|
data/README.md
CHANGED
@@ -82,8 +82,8 @@ end
|
|
82
82
|
In models or other places:
|
83
83
|
|
84
84
|
```rb
|
85
|
-
AuditLog.audit!(:update_password, @user, payload: { ip: request.
|
86
|
-
AuditLog.audit!(:sign_in, @user, payload: { ip: request.
|
85
|
+
AuditLog.audit!(:update_password, @user, payload: { ip: request.remote_ip })
|
86
|
+
AuditLog.audit!(:sign_in, @user, payload: { ip: request.remote_ip })
|
87
87
|
AuditLog.audit!(:create_address, nil, payload: params)
|
88
88
|
```
|
89
89
|
|
data/lib/audit-log.rb
CHANGED
data/lib/audit-log/version.rb
CHANGED