motor-admin 0.3.13 → 0.3.15

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: f36bc199f6bbc44a000f6db609e53252b22da6f6465789ac3f095138d5c68f22
4
- data.tar.gz: 465789f92851e2a00829e8cbeb2c75df446afa3bc3437d15ac761685a90e1076
3
+ metadata.gz: 4b99e3416f0aac11cf150f1d424fda7946c1ce98f515c310090f4beacaaf20e8
4
+ data.tar.gz: 995237e22ef5ad709b72e5514c9cc72e4ec2a5ff7e2e6b7b4466da972d24fc4d
5
5
  SHA512:
6
- metadata.gz: 1fda79b22101f6439eeb70c53159d81f68b5c51cb5aa31f5fc4b18e7aab2d1bd6697c6eb0f258b34b7719b2b960dd61a9717068493156ac194262b146ac423ce
7
- data.tar.gz: 79911feebf8094e358da8aed3e7f0bf8e6f930a870f702730fffad1f9279323de3232dc4044860b7b11870ccf18983bfee05b2c02e7fb60b40ba38fd6d5a4fcf
6
+ metadata.gz: 27950b23eae11a520b3257bea0cecb18136233f8b05382b342ea568023383d2298df29cd2bb69c3bdfb688380aa63a89cf84e67522638e630e5968f6da9e7bbb
7
+ data.tar.gz: f8a3c81c3b4451a9cf2dab11152374ec8b1ac9385bfe309db0f82b9ffb0498f2ad3e9c186deeabd46d623dfd78db3051fb85475da7d9f72f1387cdc6632df1a2
@@ -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.13'
4
+ VERSION = '0.3.15'
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-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"
3967
+ "main-b4c52cdfae94cac76d83.css.gz": "main-b4c52cdfae94cac76d83.css.gz",
3968
+ "main-b4c52cdfae94cac76d83.js.LICENSE.txt": "main-b4c52cdfae94cac76d83.js.LICENSE.txt",
3969
+ "main-b4c52cdfae94cac76d83.js.gz": "main-b4c52cdfae94cac76d83.js.gz",
3970
+ "main.css": "main-b4c52cdfae94cac76d83.css",
3971
+ "main.js": "main-b4c52cdfae94cac76d83.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.13
4
+ version: 0.3.15
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-20 00:00:00.000000000 Z
11
+ date: 2022-10-21 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-73258569a466a30247e4.css.gz
2207
- - ui/dist/main-73258569a466a30247e4.js.gz
2206
+ - ui/dist/main-b4c52cdfae94cac76d83.css.gz
2207
+ - ui/dist/main-b4c52cdfae94cac76d83.js.gz
2208
2208
  - ui/dist/manifest.json
2209
2209
  homepage:
2210
2210
  licenses: