motor-admin 0.3.12 → 0.3.14

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: 66426c64f5a2832c5b475d4fdc7f933783a2f5727b446a1695c2981651ebaaef
4
- data.tar.gz: 72e93ade61a05ac0194c8df33ac6a24140fce10548e957d6634d783eee73d095
3
+ metadata.gz: 54734706076bb4aa4ef71bb0465d98c2b6d1a295da86075c78bf750ad4a325e8
4
+ data.tar.gz: 876c5373549d365ae706101853eb8002a7a7a11fc25835fdf6824a6b7c819ac2
5
5
  SHA512:
6
- metadata.gz: 1ae415b18e60ca69aba8f032b95bf41657cad3ad986e3a1079485008e153cab48aecb455d62b0e308eb96996b32f20fa3834b2e563313439d339c9de26eeaafb
7
- data.tar.gz: 299a0dba1ecb3f5d7457be1f2121aa98f84e877cecf7ca8958fdd32ddc199a07eeeac6d289b03bbc41ef98bb207c0767e380f84569df77529f18bfb1351413bb
6
+ metadata.gz: 3a6810ebc6111059cc5df497ad16dccf047352c6ded59b02f2ded6f09dd5de90f6534885661d73d6fa2813be9c38d06a0a15c0108e5380ca43aaa13e989b9d9d
7
+ data.tar.gz: 19f24fd2fc54c789c66a5658196d738ae1cedf1ae65773e36dcc455006cfb6cdff887cd443689a511ac6051a8867dd91a84f38aa0798b4c554ffb4c447f813e5
@@ -294,6 +294,8 @@ module Motor
294
294
  validators += [{ includes: enum.keys }] if enum
295
295
 
296
296
  validators += model.validators_on(column_name).map do |validator|
297
+ next if validator.options[:if] || validator.options[:unless]
298
+
297
299
  build_validator_hash(validator)
298
300
  end.compact
299
301
 
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.3.12'
4
+ VERSION = '0.3.14'
5
5
  end
@@ -3964,9 +3964,9 @@
3964
3964
  "images/layers-2x.png": "images/layers-2x.png",
3965
3965
  "images/layers.png": "images/layers.png",
3966
3966
  "images/marker-icon.png": "images/marker-icon.png",
3967
- "main-8391fca71764dcd8f264.css.gz": "main-8391fca71764dcd8f264.css.gz",
3968
- "main-8391fca71764dcd8f264.js.LICENSE.txt": "main-8391fca71764dcd8f264.js.LICENSE.txt",
3969
- "main-8391fca71764dcd8f264.js.gz": "main-8391fca71764dcd8f264.js.gz",
3970
- "main.css": "main-8391fca71764dcd8f264.css",
3971
- "main.js": "main-8391fca71764dcd8f264.js"
3967
+ "main-73258569a466a30247e4.css.gz": "main-73258569a466a30247e4.css.gz",
3968
+ "main-73258569a466a30247e4.js.LICENSE.txt": "main-73258569a466a30247e4.js.LICENSE.txt",
3969
+ "main-73258569a466a30247e4.js.gz": "main-73258569a466a30247e4.js.gz",
3970
+ "main.css": "main-73258569a466a30247e4.css",
3971
+ "main.js": "main-73258569a466a30247e4.js"
3972
3972
  }
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.3.12
4
+ version: 0.3.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pete Matsyburka
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-09-18 00:00:00.000000000 Z
11
+ date: 2022-10-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ar_lazy_preload
@@ -2203,8 +2203,8 @@ files:
2203
2203
  - ui/dist/images/layers-2x.png
2204
2204
  - ui/dist/images/layers.png
2205
2205
  - ui/dist/images/marker-icon.png
2206
- - ui/dist/main-8391fca71764dcd8f264.css.gz
2207
- - ui/dist/main-8391fca71764dcd8f264.js.gz
2206
+ - ui/dist/main-73258569a466a30247e4.css.gz
2207
+ - ui/dist/main-73258569a466a30247e4.js.gz
2208
2208
  - ui/dist/manifest.json
2209
2209
  homepage:
2210
2210
  licenses: