motor-admin 0.4.34 → 0.4.35

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: b8c50645e3228b532c70c3455ed170c59c21d7e69f5a0170f13c43174fe6e0c9
4
- data.tar.gz: 3a50a9787112c88af0a5f39ebc2cb23394f240f694ea8a335641456ab64669d2
3
+ metadata.gz: b4ebe359c7d947cea801272710f666a4c5535b1f5f814cce0d6c8766568fc5fc
4
+ data.tar.gz: 5fa9aa92b935aba32c573a1d9c33ed1252640707642cf856b1a0942f0749400f
5
5
  SHA512:
6
- metadata.gz: 194f2226d32361a5e1a7ace3f8a49431d4a3d190714741930e8716f1482083907459769b65399235b5c4da0702adc1acc27cd1da0b44427ba97978cbdb58a872
7
- data.tar.gz: 5a26102b3cd126a565ddbe479c10c30ac99e36c1675a088229b5fd3b09965e2387fad2b9fe219819764bb482496468b5e7ba4ccc59856d62114aa33a2b4b57e3
6
+ metadata.gz: ffabcbbe5811a28466b4a03ec7d718b3cb8c703ede6c71eecaa0cf6d7ffc04fd9bb2102e9611ac282b3fb2e6b0fec12c4857eced96a6da6200787e2584b06ac6
7
+ data.tar.gz: 95f5a8cc8bf97e172f2bc65bfc030f55fd3706d187b3a2ee576bbeb51ae896823e3a1d57753579c0cfce646ed8a7beccf73473c22b189aa722bbc050f6dc921c
@@ -97,7 +97,7 @@ module ActiveRecord
97
97
  relations << js
98
98
  end
99
99
  end
100
- elsif reflection = klass._reflections[key.to_s]
100
+ elsif reflection = klass._reflections[key.to_s] || klass._reflections[key.to_sym]
101
101
  if value.is_a?(Hash)
102
102
  relations <<
103
103
  if reflection.polymorphic?
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.34'
4
+ VERSION = '0.4.35'
5
5
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: motor-admin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.34
4
+ version: 0.4.35
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pete Matsyburka
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-12-24 00:00:00.000000000 Z
10
+ date: 2025-02-21 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: ar_lazy_preload
@@ -2253,7 +2252,6 @@ files:
2253
2252
  - ui/dist/main-60caa963812c952cdd66.css.gz
2254
2253
  - ui/dist/main-60caa963812c952cdd66.js.gz
2255
2254
  - ui/dist/manifest.json
2256
- homepage:
2257
2255
  licenses:
2258
2256
  - MIT
2259
2257
  metadata:
@@ -2280,8 +2278,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
2280
2278
  - !ruby/object:Gem::Version
2281
2279
  version: '0'
2282
2280
  requirements: []
2283
- rubygems_version: 3.5.11
2284
- signing_key:
2281
+ rubygems_version: 3.6.2
2285
2282
  specification_version: 4
2286
2283
  summary: Low-code Admin panel and Business intelligence
2287
2284
  test_files: []