audited-serialize 1.0.5 → 1.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b22091f3cf36c8069bf07105440405d72b91e18e4116fc76582068121f8b9557
|
|
4
|
+
data.tar.gz: 926797f9b68aee3720f749d1715a78caedae2c1db741279dcd245f9e638122d5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4e5881f2c2483edf10436cad743f41c333f1d72277a6951806b6801fe2b3fd2e870a6eea482bdf81746466257285064a582002059bb5db2ed568e5a27f12c545
|
|
7
|
+
data.tar.gz: d1f2d9765d0050599daa4dd1020413ef5a52e2dbdaa33c4385d48f115f99491afcda8be09adbdf2dc382e71ef31971dbd6f2af5b8beb81ecf0621e18dc998995
|
|
@@ -31,7 +31,7 @@ module Audited
|
|
|
31
31
|
end
|
|
32
32
|
|
|
33
33
|
def related_record_auditing_title(record)
|
|
34
|
-
audited_title = record.class.audited_options[:title]
|
|
34
|
+
audited_title = record.class.audited_options[:title] if record.class.respond_to?(:auditing_enabled)
|
|
35
35
|
|
|
36
36
|
if audited_title
|
|
37
37
|
record.send(audited_title)
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: audited-serialize
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Павел Бабин
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-
|
|
11
|
+
date: 2024-08-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|