motor-admin 0.4.29 → 0.4.30

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: c0f1b82c0d0c82435cff85fca06a7bd5237f4866c6485f7660473848498a9721
4
- data.tar.gz: 3641b27f778d85d4675ef9321b1e089463c7326ef4b723dad627fde31c3a1a6d
3
+ metadata.gz: a39c9eecbe79d7f16b5b7fd7fa26f2462bb4ff0b4ab44e01642d73642999f2ce
4
+ data.tar.gz: 0db5a653883a9746979467477174c5b3bfb2723cd3d2f07a2da97ecf78b69b12
5
5
  SHA512:
6
- metadata.gz: 87c72e5416a8a70532c0a6190e1e45961f205fb03d694102e7ecad69f518afcb971341bb45dadada031d7090083200498c91b16d29320f4f3e03a0dfc695ad53
7
- data.tar.gz: 7ec83646e03cc9bfe5ebe0a8d19d429a6b1a371165beaa60cbcba10505c6e7ce6ce43f6137c01e8aaca82ceb58aee95aadb9e5ffb3a44791b9abe618a9a02fb0
6
+ metadata.gz: 223ed566f65a3111ffc31971879946c732e1e1dff8691ccf5924d77741adcd7a56b191d5784e889b7ae558a8ebbc762914067b16bb5ef8c92c19d2324962886a
7
+ data.tar.gz: cb98952293cc229620cccb55b07d710eef517fb06a49cd42ff9506f00d6eb8043ebddcc372903750e5d10ad052ca54913d299d811cd520b496ca35cdc835db59
@@ -4,6 +4,10 @@ module Motor
4
4
  class Audit < Audited::Audit
5
5
  self.table_name = 'motor_audits'
6
6
 
7
+ if Rails.version.to_f >= 7.2
8
+ superclass.abstract_class = true
9
+ end
10
+
7
11
  if Rails.version.to_f >= 7.1
8
12
  serialize :audited_changes, coder: HashSerializer
9
13
  else
data/lib/motor/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Motor
4
- VERSION = '0.4.29'
4
+ VERSION = '0.4.30'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: motor-admin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.29
4
+ version: 0.4.30
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pete Matsyburka
@@ -176,7 +176,6 @@ files:
176
176
  - app/views/motor/notifications_mailer/notify_mention_email.html.erb
177
177
  - app/views/motor/notifications_mailer/notify_reminder_email.html.erb
178
178
  - app/views/motor/ui/show.html.erb
179
- - config/initializers/audited.rb
180
179
  - config/locales/el.yml
181
180
  - config/locales/en.yml
182
181
  - config/locales/es.yml
@@ -1,5 +0,0 @@
1
- if Rails.gem_version >= Gem::Version.new("7.2")
2
- require 'audited/audit'
3
-
4
- Audited::Audit.abstract_class = true
5
- end