motor-admin 0.4.28 → 0.4.29

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: 7b7038b543adda74a8860441956c8819e16d87086ff5e81f83a42952d48966f6
4
- data.tar.gz: 53f8084f171d9537498590ce84eb103fedf5e919d615d70af37774d77f98b106
3
+ metadata.gz: c0f1b82c0d0c82435cff85fca06a7bd5237f4866c6485f7660473848498a9721
4
+ data.tar.gz: 3641b27f778d85d4675ef9321b1e089463c7326ef4b723dad627fde31c3a1a6d
5
5
  SHA512:
6
- metadata.gz: 6e2e6918b3c55613cc45c972d516a366f8204c46736a06c9c645e7a06f8d5cba543020e36dcdf68c22988e0929e2c03be2474b56f7fe6b2daf17ede45746ce1c
7
- data.tar.gz: adbf48d3d8d9f72390a1a59eaa325ebc3618c16c0388e55b2e8d13150f96233f2e5a3ea2c1c4d7682ef17c33c9c895162bff932132a36141dbd2bd65355e5f4e
6
+ metadata.gz: 87c72e5416a8a70532c0a6190e1e45961f205fb03d694102e7ecad69f518afcb971341bb45dadada031d7090083200498c91b16d29320f4f3e03a0dfc695ad53
7
+ data.tar.gz: 7ec83646e03cc9bfe5ebe0a8d19d429a6b1a371165beaa60cbcba10505c6e7ce6ce43f6137c01e8aaca82ceb58aee95aadb9e5ffb3a44791b9abe618a9a02fb0
@@ -0,0 +1,5 @@
1
+ if Rails.gem_version >= Gem::Version.new("7.2")
2
+ require 'audited/audit'
3
+
4
+ Audited::Audit.abstract_class = true
5
+ end
@@ -187,6 +187,7 @@ module Motor
187
187
  end
188
188
 
189
189
  klass._reflections = klass.reflections
190
+ klass._reflections.symbolize_keys! if Rails::VERSION::STRING.to_f >= 7.2
190
191
 
191
192
  klass
192
193
  end
@@ -1,5 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ require 'rails/generators'
4
+
3
5
  namespace :motor do
4
6
  desc 'Create migratione and add route'
5
7
 
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.28'
4
+ VERSION = '0.4.29'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: motor-admin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.28
4
+ version: 0.4.29
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pete Matsyburka
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-08-14 00:00:00.000000000 Z
11
+ date: 2024-10-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ar_lazy_preload
@@ -176,6 +176,7 @@ 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
179
180
  - config/locales/el.yml
180
181
  - config/locales/en.yml
181
182
  - config/locales/es.yml