formalism-model_forms 0.10.1 → 0.11.0

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: 2c93c474a47b8735533c3f4fc4e79b929b02b4efc750f60df009f6820248ac89
4
- data.tar.gz: 14b5260166be4ff58d16b8770f7a6f224c9e90a398b8206eb075d7e490ff56a8
3
+ metadata.gz: 6b7860771a00e051c7daf97a0d91da14bde8d3d520c0b84ff51c999d5b9ff575
4
+ data.tar.gz: 6cb49135331a19c1edbba42a375b535b4ad716f4887418a39706cfaeff1ac5c9
5
5
  SHA512:
6
- metadata.gz: b356d3919e9cf90ae97e451d71825bca3b57689e34fb97acf871459aa8e10e05429862c0b349b8cd0ae19983ea20bba33ef8a14edbf1d9887ba6be53f0007ca4
7
- data.tar.gz: 18ba2cfe752aca2e86f278ce6f86ff7a7ef6f1d2c05e589719cf20f617de8c3d48f8357a0f978aca3a7718a3bbc744a089ec7b9022e379ee5edc95a554c49f23
6
+ metadata.gz: c0a1f931da67f0ca5987a05004370f633ef8550b8f3740b8fd3572c632ee578249f744f8790b228572400076eca3760377854b5ae0abefc0dc7db8b6c0d01d93
7
+ data.tar.gz: c32faec05e352381eb2b1dcc82b0453b442d038893bb1422f81a6f8e91e8c4476495e259e3b236845bd346665de2408619c0e57768f55c782c7b37a2f2974ef6
data/CHANGELOG.md CHANGED
@@ -2,6 +2,17 @@
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
+
5
16
  ## 0.10.1 (2022-09-24)
6
17
 
7
18
  * Allow `gorilla_patch` version 5.
@@ -11,7 +11,7 @@ module Formalism
11
11
 
12
12
  def initialize(params_or_instance = {})
13
13
  if params_or_instance.is_a?(Hash)
14
- super(params_or_instance)
14
+ super
15
15
  else
16
16
  @initialized_with_instance = true
17
17
  self.instance = params_or_instance
@@ -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 params || {}
33
+ super(params || {})
34
34
  end
35
35
 
36
36
  private
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Formalism
4
4
  module ModelForms
5
- VERSION = '0.10.1'
5
+ VERSION = '0.11.0'
6
6
  end
7
7
  end
@@ -3,7 +3,7 @@
3
3
  require 'formalism'
4
4
  require 'module_methods'
5
5
 
6
- Dir["#{__dir__}/model_forms/**/*.rb"].sort.each { |file| require file }
6
+ Dir["#{__dir__}/model_forms/**/*.rb"].each { |file| require file }
7
7
 
8
8
  module Formalism
9
9
  ## Module for model forms
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.10.1
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: 2022-09-24 00:00:00.000000000 Z
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,14 +44,14 @@ dependencies:
45
44
  requirements:
46
45
  - - "~>"
47
46
  - !ruby/object:Gem::Version
48
- version: 0.5.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.5.0
54
+ version: 0.6.0
56
55
  - !ruby/object:Gem::Dependency
57
56
  name: gorilla_patch
58
57
  requirement: !ruby/object:Gem::Requirement
@@ -101,146 +100,6 @@ dependencies:
101
100
  - - "~>"
102
101
  - !ruby/object:Gem::Version
103
102
  version: '5.0'
104
- - !ruby/object:Gem::Dependency
105
- name: pry-byebug
106
- requirement: !ruby/object:Gem::Requirement
107
- requirements:
108
- - - "~>"
109
- - !ruby/object:Gem::Version
110
- version: '3.9'
111
- type: :development
112
- prerelease: false
113
- version_requirements: !ruby/object:Gem::Requirement
114
- requirements:
115
- - - "~>"
116
- - !ruby/object:Gem::Version
117
- version: '3.9'
118
- - !ruby/object:Gem::Dependency
119
- name: bundler
120
- requirement: !ruby/object:Gem::Requirement
121
- requirements:
122
- - - "~>"
123
- - !ruby/object:Gem::Version
124
- version: '2.0'
125
- type: :development
126
- prerelease: false
127
- version_requirements: !ruby/object:Gem::Requirement
128
- requirements:
129
- - - "~>"
130
- - !ruby/object:Gem::Version
131
- version: '2.0'
132
- - !ruby/object:Gem::Dependency
133
- name: gem_toys
134
- requirement: !ruby/object:Gem::Requirement
135
- requirements:
136
- - - "~>"
137
- - !ruby/object:Gem::Version
138
- version: 0.12.1
139
- type: :development
140
- prerelease: false
141
- version_requirements: !ruby/object:Gem::Requirement
142
- requirements:
143
- - - "~>"
144
- - !ruby/object:Gem::Version
145
- version: 0.12.1
146
- - !ruby/object:Gem::Dependency
147
- name: toys
148
- requirement: !ruby/object:Gem::Requirement
149
- requirements:
150
- - - "~>"
151
- - !ruby/object:Gem::Version
152
- version: 0.13.0
153
- type: :development
154
- prerelease: false
155
- version_requirements: !ruby/object:Gem::Requirement
156
- requirements:
157
- - - "~>"
158
- - !ruby/object:Gem::Version
159
- version: 0.13.0
160
- - !ruby/object:Gem::Dependency
161
- name: rspec
162
- requirement: !ruby/object:Gem::Requirement
163
- requirements:
164
- - - "~>"
165
- - !ruby/object:Gem::Version
166
- version: '3.9'
167
- type: :development
168
- prerelease: false
169
- version_requirements: !ruby/object:Gem::Requirement
170
- requirements:
171
- - - "~>"
172
- - !ruby/object:Gem::Version
173
- version: '3.9'
174
- - !ruby/object:Gem::Dependency
175
- name: simplecov
176
- requirement: !ruby/object:Gem::Requirement
177
- requirements:
178
- - - "~>"
179
- - !ruby/object:Gem::Version
180
- version: 0.21.0
181
- type: :development
182
- prerelease: false
183
- version_requirements: !ruby/object:Gem::Requirement
184
- requirements:
185
- - - "~>"
186
- - !ruby/object:Gem::Version
187
- version: 0.21.0
188
- - !ruby/object:Gem::Dependency
189
- name: simplecov-cobertura
190
- requirement: !ruby/object:Gem::Requirement
191
- requirements:
192
- - - "~>"
193
- - !ruby/object:Gem::Version
194
- version: '2.1'
195
- type: :development
196
- prerelease: false
197
- version_requirements: !ruby/object:Gem::Requirement
198
- requirements:
199
- - - "~>"
200
- - !ruby/object:Gem::Version
201
- version: '2.1'
202
- - !ruby/object:Gem::Dependency
203
- name: rubocop
204
- requirement: !ruby/object:Gem::Requirement
205
- requirements:
206
- - - "~>"
207
- - !ruby/object:Gem::Version
208
- version: 1.36.0
209
- type: :development
210
- prerelease: false
211
- version_requirements: !ruby/object:Gem::Requirement
212
- requirements:
213
- - - "~>"
214
- - !ruby/object:Gem::Version
215
- version: 1.36.0
216
- - !ruby/object:Gem::Dependency
217
- name: rubocop-performance
218
- requirement: !ruby/object:Gem::Requirement
219
- requirements:
220
- - - "~>"
221
- - !ruby/object:Gem::Version
222
- version: '1.0'
223
- type: :development
224
- prerelease: false
225
- version_requirements: !ruby/object:Gem::Requirement
226
- requirements:
227
- - - "~>"
228
- - !ruby/object:Gem::Version
229
- version: '1.0'
230
- - !ruby/object:Gem::Dependency
231
- name: rubocop-rspec
232
- requirement: !ruby/object:Gem::Requirement
233
- requirements:
234
- - - "~>"
235
- - !ruby/object:Gem::Version
236
- version: '2.0'
237
- type: :development
238
- prerelease: false
239
- version_requirements: !ruby/object:Gem::Requirement
240
- requirements:
241
- - - "~>"
242
- - !ruby/object:Gem::Version
243
- version: '2.0'
244
103
  description: 'Standard Formalism forms for Sequel Models, such like create, find,
245
104
  delete, etc.
246
105
 
@@ -273,7 +132,6 @@ metadata:
273
132
  homepage_uri: https://github.com/AlexWayfer/formalism-model_forms
274
133
  changelog_uri: https://github.com/AlexWayfer/formalism-model_forms/blob/main/CHANGELOG.md
275
134
  rubygems_mfa_required: 'true'
276
- post_install_message:
277
135
  rdoc_options: []
278
136
  require_paths:
279
137
  - lib
@@ -281,18 +139,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
281
139
  requirements:
282
140
  - - ">="
283
141
  - !ruby/object:Gem::Version
284
- version: '2.6'
142
+ version: '3.0'
285
143
  - - "<"
286
144
  - !ruby/object:Gem::Version
287
- version: '4'
145
+ version: '3.5'
288
146
  required_rubygems_version: !ruby/object:Gem::Requirement
289
147
  requirements:
290
148
  - - ">="
291
149
  - !ruby/object:Gem::Version
292
150
  version: '0'
293
151
  requirements: []
294
- rubygems_version: 3.3.7
295
- signing_key:
152
+ rubygems_version: 3.6.2
296
153
  specification_version: 4
297
154
  summary: Standard Formalism forms for Sequel Models
298
155
  test_files: []