yaaf 2.2.0 → 3.0.0
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 +3 -1
- data/lib/yaaf/version.rb +1 -1
- metadata +13 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a08134d9d3b15971a99db839a00273b53f897bde92028f6d46bd7d0fc307f708
|
4
|
+
data.tar.gz: 68dff51038255d989e78a520cc5ab4f68f7ec58bcdfbd79a33e60f8e93495f03
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '02596873efdbc3583db3db80735556beded04f474acad21c3fd11b13533ef974ffe377aac5c0471fea20b7873dfa549be4f5d760eaeaeb9d7f0b8d2185966393'
|
7
|
+
data.tar.gz: 9fe3d61482b252e35c0a88c867764fc4971da5b926976762bf55c166caedec28e7b047a755767afdd58e2d7ca10bee99c955ac6394bf54f5aaabd1817c8e0c97
|
data/lib/yaaf/form.rb
CHANGED
@@ -52,7 +52,9 @@ module YAAF
|
|
52
52
|
def save_models(options)
|
53
53
|
options.merge!(validate: false)
|
54
54
|
|
55
|
-
models.map
|
55
|
+
models.map do |model|
|
56
|
+
model.marked_for_destruction? ? model.destroy! : model.save!(**options)
|
57
|
+
end
|
56
58
|
end
|
57
59
|
|
58
60
|
def validate_models
|
data/lib/yaaf/version.rb
CHANGED
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: yaaf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 3.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Juan Manuel Ramallo
|
8
8
|
- Santiago Bartesaghi
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2024-07-08 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activemodel
|
@@ -45,14 +45,14 @@ dependencies:
|
|
45
45
|
requirements:
|
46
46
|
- - "~>"
|
47
47
|
- !ruby/object:Gem::Version
|
48
|
-
version: 1.
|
48
|
+
version: 2.1.0
|
49
49
|
type: :development
|
50
50
|
prerelease: false
|
51
51
|
version_requirements: !ruby/object:Gem::Requirement
|
52
52
|
requirements:
|
53
53
|
- - "~>"
|
54
54
|
- !ruby/object:Gem::Version
|
55
|
-
version: 1.
|
55
|
+
version: 2.1.0
|
56
56
|
- !ruby/object:Gem::Dependency
|
57
57
|
name: rake
|
58
58
|
requirement: !ruby/object:Gem::Requirement
|
@@ -129,17 +129,18 @@ dependencies:
|
|
129
129
|
requirements:
|
130
130
|
- - "~>"
|
131
131
|
- !ruby/object:Gem::Version
|
132
|
-
version: 1.
|
132
|
+
version: 1.5.0
|
133
133
|
type: :development
|
134
134
|
prerelease: false
|
135
135
|
version_requirements: !ruby/object:Gem::Requirement
|
136
136
|
requirements:
|
137
137
|
- - "~>"
|
138
138
|
- !ruby/object:Gem::Version
|
139
|
-
version: 1.
|
140
|
-
description:
|
139
|
+
version: 1.5.0
|
140
|
+
description:
|
141
141
|
email:
|
142
|
-
-
|
142
|
+
- juanmanuelramallo@hey.com
|
143
|
+
- santib@hey.com
|
143
144
|
executables: []
|
144
145
|
extensions: []
|
145
146
|
extra_rdoc_files: []
|
@@ -157,7 +158,7 @@ metadata:
|
|
157
158
|
source_code_uri: https://github.com/rootstrap/yaaf
|
158
159
|
bug_tracker_uri: https://github.com/rootstrap/yaaf/issues
|
159
160
|
changelog_uri: https://github.com/rootstrap/yaaf/releases
|
160
|
-
post_install_message:
|
161
|
+
post_install_message:
|
161
162
|
rdoc_options: []
|
162
163
|
require_paths:
|
163
164
|
- lib
|
@@ -172,8 +173,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
172
173
|
- !ruby/object:Gem::Version
|
173
174
|
version: '0'
|
174
175
|
requirements: []
|
175
|
-
rubygems_version: 3.1
|
176
|
-
signing_key:
|
176
|
+
rubygems_version: 3.0.3.1
|
177
|
+
signing_key:
|
177
178
|
specification_version: 4
|
178
179
|
summary: Easing the form object pattern in Rails applications.
|
179
180
|
test_files: []
|