audit-log 0.2.1 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/audit-log.rb +2 -2
- 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: 53d84b5630a7c9f749caa8d66d6f14de6bf98c8fd6341bb1abb552f3b9355cdc
|
4
|
+
data.tar.gz: 683b90bb6df772855a53e9d21c5c97f0e7ce5d12e7d933ff5931d6dd5caaeb1b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a45f0115b7a154598ae5d92ae4ee34268d33757f7201f3fee155e41e084dde12016c7778b69cd1ba25597aacd47c87d1889b9cb977ca5c59e8996c130497298c
|
7
|
+
data.tar.gz: 6a032c5c485609ad6b85421d52b5ec3fce29bcf3d3218344a0121c26092ec94cb5904aa1af32b1eff093e9b453aa0a71e507a9b62972d1a5319a4d6410043e79
|
data/lib/audit-log.rb
CHANGED
@@ -46,8 +46,8 @@ module AuditLog
|
|
46
46
|
end
|
47
47
|
|
48
48
|
# Get I18n action name options for select
|
49
|
-
def action_options
|
50
|
-
I18n.
|
49
|
+
def action_options
|
50
|
+
I18n.t("audit_log.action").map { |k, v| [v, k.to_s] }
|
51
51
|
end
|
52
52
|
end
|
53
53
|
end
|
data/lib/audit-log/version.rb
CHANGED