formalism-model_forms 0.10.0 → 0.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -0
- data/lib/formalism/model_forms/find.rb +1 -1
- data/lib/formalism/model_forms/update.rb +2 -2
- data/lib/formalism/model_forms/version.rb +1 -1
- data/lib/formalism/model_forms.rb +1 -1
- metadata +15 -166
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6b7860771a00e051c7daf97a0d91da14bde8d3d520c0b84ff51c999d5b9ff575
|
4
|
+
data.tar.gz: 6cb49135331a19c1edbba42a375b535b4ad716f4887418a39706cfaeff1ac5c9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c0a1f931da67f0ca5987a05004370f633ef8550b8f3740b8fd3572c632ee578249f744f8790b228572400076eca3760377854b5ae0abefc0dc7db8b6c0d01d93
|
7
|
+
data.tar.gz: c32faec05e352381eb2b1dcc82b0453b442d038893bb1422f81a6f8e91e8c4476495e259e3b236845bd346665de2408619c0e57768f55c782c7b37a2f2974ef6
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,22 @@
|
|
2
2
|
|
3
3
|
## Unreleased
|
4
4
|
|
5
|
+
## 0.11.0 (2025-01-06)
|
6
|
+
|
7
|
+
* Drop Ruby 2.6 and 2.7 support.
|
8
|
+
* Add Ruby 3.2, 3.3 and 3.4 support.
|
9
|
+
* Lock Ruby version more strict.
|
10
|
+
There can be breaking changes in minor updates.
|
11
|
+
* Update `formalism` to a new version with fix for `Find` form.
|
12
|
+
* Update development dependencies.
|
13
|
+
* Resolve new RuboCop offenses.
|
14
|
+
* Move development dependencies from `gemspec` into `Gemfile`.
|
15
|
+
|
16
|
+
## 0.10.1 (2022-09-24)
|
17
|
+
|
18
|
+
* Allow `gorilla_patch` version 5.
|
19
|
+
* Improve CI.
|
20
|
+
|
5
21
|
## 0.10.0 (2022-09-24)
|
6
22
|
|
7
23
|
* Update `formalism` to a new version.
|
@@ -27,10 +27,10 @@ module Formalism
|
|
27
27
|
if pf_or_instance.is_a?(model)
|
28
28
|
self.instance = pf_or_instance
|
29
29
|
else
|
30
|
-
public_send "#{primary_field_name}=", pf_or_instance
|
30
|
+
public_send :"#{primary_field_name}=", pf_or_instance
|
31
31
|
end
|
32
32
|
|
33
|
-
super
|
33
|
+
super(params || {})
|
34
34
|
end
|
35
35
|
|
36
36
|
private
|
metadata
CHANGED
@@ -1,15 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: formalism-model_forms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.11.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexander Popov
|
8
8
|
- Ivan Tyurin
|
9
|
-
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2025-01-06 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: alt_memery
|
@@ -45,28 +44,34 @@ dependencies:
|
|
45
44
|
requirements:
|
46
45
|
- - "~>"
|
47
46
|
- !ruby/object:Gem::Version
|
48
|
-
version: 0.
|
47
|
+
version: 0.6.0
|
49
48
|
type: :runtime
|
50
49
|
prerelease: false
|
51
50
|
version_requirements: !ruby/object:Gem::Requirement
|
52
51
|
requirements:
|
53
52
|
- - "~>"
|
54
53
|
- !ruby/object:Gem::Version
|
55
|
-
version: 0.
|
54
|
+
version: 0.6.0
|
56
55
|
- !ruby/object:Gem::Dependency
|
57
56
|
name: gorilla_patch
|
58
57
|
requirement: !ruby/object:Gem::Requirement
|
59
58
|
requirements:
|
60
|
-
- - "
|
59
|
+
- - ">="
|
61
60
|
- !ruby/object:Gem::Version
|
62
61
|
version: '4.0'
|
62
|
+
- - "<"
|
63
|
+
- !ruby/object:Gem::Version
|
64
|
+
version: '6'
|
63
65
|
type: :runtime
|
64
66
|
prerelease: false
|
65
67
|
version_requirements: !ruby/object:Gem::Requirement
|
66
68
|
requirements:
|
67
|
-
- - "
|
69
|
+
- - ">="
|
68
70
|
- !ruby/object:Gem::Version
|
69
71
|
version: '4.0'
|
72
|
+
- - "<"
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
version: '6'
|
70
75
|
- !ruby/object:Gem::Dependency
|
71
76
|
name: module_methods
|
72
77
|
requirement: !ruby/object:Gem::Requirement
|
@@ -95,160 +100,6 @@ dependencies:
|
|
95
100
|
- - "~>"
|
96
101
|
- !ruby/object:Gem::Version
|
97
102
|
version: '5.0'
|
98
|
-
- !ruby/object:Gem::Dependency
|
99
|
-
name: pry-byebug
|
100
|
-
requirement: !ruby/object:Gem::Requirement
|
101
|
-
requirements:
|
102
|
-
- - "~>"
|
103
|
-
- !ruby/object:Gem::Version
|
104
|
-
version: '3.9'
|
105
|
-
type: :development
|
106
|
-
prerelease: false
|
107
|
-
version_requirements: !ruby/object:Gem::Requirement
|
108
|
-
requirements:
|
109
|
-
- - "~>"
|
110
|
-
- !ruby/object:Gem::Version
|
111
|
-
version: '3.9'
|
112
|
-
- !ruby/object:Gem::Dependency
|
113
|
-
name: bundler
|
114
|
-
requirement: !ruby/object:Gem::Requirement
|
115
|
-
requirements:
|
116
|
-
- - "~>"
|
117
|
-
- !ruby/object:Gem::Version
|
118
|
-
version: '2.0'
|
119
|
-
type: :development
|
120
|
-
prerelease: false
|
121
|
-
version_requirements: !ruby/object:Gem::Requirement
|
122
|
-
requirements:
|
123
|
-
- - "~>"
|
124
|
-
- !ruby/object:Gem::Version
|
125
|
-
version: '2.0'
|
126
|
-
- !ruby/object:Gem::Dependency
|
127
|
-
name: gem_toys
|
128
|
-
requirement: !ruby/object:Gem::Requirement
|
129
|
-
requirements:
|
130
|
-
- - "~>"
|
131
|
-
- !ruby/object:Gem::Version
|
132
|
-
version: 0.12.1
|
133
|
-
type: :development
|
134
|
-
prerelease: false
|
135
|
-
version_requirements: !ruby/object:Gem::Requirement
|
136
|
-
requirements:
|
137
|
-
- - "~>"
|
138
|
-
- !ruby/object:Gem::Version
|
139
|
-
version: 0.12.1
|
140
|
-
- !ruby/object:Gem::Dependency
|
141
|
-
name: toys
|
142
|
-
requirement: !ruby/object:Gem::Requirement
|
143
|
-
requirements:
|
144
|
-
- - "~>"
|
145
|
-
- !ruby/object:Gem::Version
|
146
|
-
version: 0.13.0
|
147
|
-
type: :development
|
148
|
-
prerelease: false
|
149
|
-
version_requirements: !ruby/object:Gem::Requirement
|
150
|
-
requirements:
|
151
|
-
- - "~>"
|
152
|
-
- !ruby/object:Gem::Version
|
153
|
-
version: 0.13.0
|
154
|
-
- !ruby/object:Gem::Dependency
|
155
|
-
name: codecov
|
156
|
-
requirement: !ruby/object:Gem::Requirement
|
157
|
-
requirements:
|
158
|
-
- - "~>"
|
159
|
-
- !ruby/object:Gem::Version
|
160
|
-
version: 0.6.0
|
161
|
-
type: :development
|
162
|
-
prerelease: false
|
163
|
-
version_requirements: !ruby/object:Gem::Requirement
|
164
|
-
requirements:
|
165
|
-
- - "~>"
|
166
|
-
- !ruby/object:Gem::Version
|
167
|
-
version: 0.6.0
|
168
|
-
- !ruby/object:Gem::Dependency
|
169
|
-
name: rspec
|
170
|
-
requirement: !ruby/object:Gem::Requirement
|
171
|
-
requirements:
|
172
|
-
- - "~>"
|
173
|
-
- !ruby/object:Gem::Version
|
174
|
-
version: '3.9'
|
175
|
-
type: :development
|
176
|
-
prerelease: false
|
177
|
-
version_requirements: !ruby/object:Gem::Requirement
|
178
|
-
requirements:
|
179
|
-
- - "~>"
|
180
|
-
- !ruby/object:Gem::Version
|
181
|
-
version: '3.9'
|
182
|
-
- !ruby/object:Gem::Dependency
|
183
|
-
name: simplecov
|
184
|
-
requirement: !ruby/object:Gem::Requirement
|
185
|
-
requirements:
|
186
|
-
- - "~>"
|
187
|
-
- !ruby/object:Gem::Version
|
188
|
-
version: 0.21.0
|
189
|
-
type: :development
|
190
|
-
prerelease: false
|
191
|
-
version_requirements: !ruby/object:Gem::Requirement
|
192
|
-
requirements:
|
193
|
-
- - "~>"
|
194
|
-
- !ruby/object:Gem::Version
|
195
|
-
version: 0.21.0
|
196
|
-
- !ruby/object:Gem::Dependency
|
197
|
-
name: simplecov-cobertura
|
198
|
-
requirement: !ruby/object:Gem::Requirement
|
199
|
-
requirements:
|
200
|
-
- - "~>"
|
201
|
-
- !ruby/object:Gem::Version
|
202
|
-
version: '2.1'
|
203
|
-
type: :development
|
204
|
-
prerelease: false
|
205
|
-
version_requirements: !ruby/object:Gem::Requirement
|
206
|
-
requirements:
|
207
|
-
- - "~>"
|
208
|
-
- !ruby/object:Gem::Version
|
209
|
-
version: '2.1'
|
210
|
-
- !ruby/object:Gem::Dependency
|
211
|
-
name: rubocop
|
212
|
-
requirement: !ruby/object:Gem::Requirement
|
213
|
-
requirements:
|
214
|
-
- - "~>"
|
215
|
-
- !ruby/object:Gem::Version
|
216
|
-
version: 1.36.0
|
217
|
-
type: :development
|
218
|
-
prerelease: false
|
219
|
-
version_requirements: !ruby/object:Gem::Requirement
|
220
|
-
requirements:
|
221
|
-
- - "~>"
|
222
|
-
- !ruby/object:Gem::Version
|
223
|
-
version: 1.36.0
|
224
|
-
- !ruby/object:Gem::Dependency
|
225
|
-
name: rubocop-performance
|
226
|
-
requirement: !ruby/object:Gem::Requirement
|
227
|
-
requirements:
|
228
|
-
- - "~>"
|
229
|
-
- !ruby/object:Gem::Version
|
230
|
-
version: '1.0'
|
231
|
-
type: :development
|
232
|
-
prerelease: false
|
233
|
-
version_requirements: !ruby/object:Gem::Requirement
|
234
|
-
requirements:
|
235
|
-
- - "~>"
|
236
|
-
- !ruby/object:Gem::Version
|
237
|
-
version: '1.0'
|
238
|
-
- !ruby/object:Gem::Dependency
|
239
|
-
name: rubocop-rspec
|
240
|
-
requirement: !ruby/object:Gem::Requirement
|
241
|
-
requirements:
|
242
|
-
- - "~>"
|
243
|
-
- !ruby/object:Gem::Version
|
244
|
-
version: '2.0'
|
245
|
-
type: :development
|
246
|
-
prerelease: false
|
247
|
-
version_requirements: !ruby/object:Gem::Requirement
|
248
|
-
requirements:
|
249
|
-
- - "~>"
|
250
|
-
- !ruby/object:Gem::Version
|
251
|
-
version: '2.0'
|
252
103
|
description: 'Standard Formalism forms for Sequel Models, such like create, find,
|
253
104
|
delete, etc.
|
254
105
|
|
@@ -281,7 +132,6 @@ metadata:
|
|
281
132
|
homepage_uri: https://github.com/AlexWayfer/formalism-model_forms
|
282
133
|
changelog_uri: https://github.com/AlexWayfer/formalism-model_forms/blob/main/CHANGELOG.md
|
283
134
|
rubygems_mfa_required: 'true'
|
284
|
-
post_install_message:
|
285
135
|
rdoc_options: []
|
286
136
|
require_paths:
|
287
137
|
- lib
|
@@ -289,18 +139,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
289
139
|
requirements:
|
290
140
|
- - ">="
|
291
141
|
- !ruby/object:Gem::Version
|
292
|
-
version: '
|
142
|
+
version: '3.0'
|
293
143
|
- - "<"
|
294
144
|
- !ruby/object:Gem::Version
|
295
|
-
version: '
|
145
|
+
version: '3.5'
|
296
146
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
297
147
|
requirements:
|
298
148
|
- - ">="
|
299
149
|
- !ruby/object:Gem::Version
|
300
150
|
version: '0'
|
301
151
|
requirements: []
|
302
|
-
rubygems_version: 3.
|
303
|
-
signing_key:
|
152
|
+
rubygems_version: 3.6.2
|
304
153
|
specification_version: 4
|
305
154
|
summary: Standard Formalism forms for Sequel Models
|
306
155
|
test_files: []
|