yaaf 3.0.1 → 3.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/yaaf/form.rb +5 -1
- data/lib/yaaf/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dbd86cb443765e32aeb6af11e0808962cbc4e21686931e36430be97497a96b34
|
4
|
+
data.tar.gz: ea8597893601325795fd2f754958d716e8b9fbc387eb3022d80f1426823aa968
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 99e1eb0a6cf12be82c76d7f8da2c610ecbcf14b7ed2873b8eddb943f2716d4ed3d972163ff278df767588cc2f580083d331b26108474446571c5e32e82bc6301
|
7
|
+
data.tar.gz: 418b22b8ca4a4cb6d1ba96d3700f245d70941cc204a4ba4d879e6c1a6183e6ef71bea2c5fcca976d490fe7170e4dc18b8b2083e37649a32e94bc4467924491d9
|
data/lib/yaaf/form.rb
CHANGED
@@ -62,7 +62,11 @@ module YAAF
|
|
62
62
|
end
|
63
63
|
|
64
64
|
def validate_models
|
65
|
-
models.each
|
65
|
+
models.each do |model|
|
66
|
+
next if model.respond_to?(:marked_for_destruction?) && model.marked_for_destruction?
|
67
|
+
|
68
|
+
promote_errors(model) if model.invalid?
|
69
|
+
end
|
66
70
|
end
|
67
71
|
|
68
72
|
def promote_errors(model)
|
data/lib/yaaf/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: yaaf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Juan Manuel Ramallo
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2024-10-
|
12
|
+
date: 2024-10-08 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activemodel
|