audited-serialize 1.0.5 → 1.0.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8487382f0275276e7aede757a8188cc26a01bbb927bde494f42834985046bd3f
4
- data.tar.gz: 0ef1301e5ca9116ecb3f2fa4fddb80a2be8039648baec85e727582d10e06989e
3
+ metadata.gz: b22091f3cf36c8069bf07105440405d72b91e18e4116fc76582068121f8b9557
4
+ data.tar.gz: 926797f9b68aee3720f749d1715a78caedae2c1db741279dcd245f9e638122d5
5
5
  SHA512:
6
- metadata.gz: c1a1d850fdd70988f50e68d288b3402104de067d48440b83ebb6a9b940cb300824230ae23207ad92e76b46eded6be26ac1cbc56b50a08977b6f3fc0318cb589c
7
- data.tar.gz: 839cb0850677a2dbe20e8ed57fa79f7352aa0cd22062c314122c9517cdc619598237f6df681aec4e812b75300b973e887aaa6beca4d10c519b3dbf90c9825150
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.5
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-06-18 00:00:00.000000000 Z
11
+ date: 2024-08-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport