granite-form 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (134) hide show
  1. checksums.yaml +7 -0
  2. data/.codeclimate.yml +13 -0
  3. data/.github/workflows/ci.yml +35 -0
  4. data/.github/workflows/main.yml +29 -0
  5. data/.gitignore +21 -0
  6. data/.rspec +2 -0
  7. data/.rubocop.yml +64 -0
  8. data/.rubocop_todo.yml +48 -0
  9. data/Appraisals +8 -0
  10. data/CHANGELOG.md +73 -0
  11. data/Gemfile +8 -0
  12. data/Guardfile +77 -0
  13. data/LICENSE +22 -0
  14. data/README.md +429 -0
  15. data/Rakefile +6 -0
  16. data/gemfiles/rails.4.2.gemfile +15 -0
  17. data/gemfiles/rails.5.0.gemfile +15 -0
  18. data/gemfiles/rails.5.1.gemfile +15 -0
  19. data/gemfiles/rails.5.2.gemfile +15 -0
  20. data/gemfiles/rails.6.0.gemfile +14 -0
  21. data/gemfiles/rails.6.1.gemfile +14 -0
  22. data/gemfiles/rails.7.0.gemfile +14 -0
  23. data/granite-form.gemspec +31 -0
  24. data/lib/granite/form/active_record/associations.rb +57 -0
  25. data/lib/granite/form/active_record/nested_attributes.rb +20 -0
  26. data/lib/granite/form/base.rb +15 -0
  27. data/lib/granite/form/config.rb +42 -0
  28. data/lib/granite/form/errors.rb +111 -0
  29. data/lib/granite/form/extensions.rb +36 -0
  30. data/lib/granite/form/model/associations/base.rb +97 -0
  31. data/lib/granite/form/model/associations/collection/embedded.rb +14 -0
  32. data/lib/granite/form/model/associations/collection/proxy.rb +35 -0
  33. data/lib/granite/form/model/associations/embeds_any.rb +19 -0
  34. data/lib/granite/form/model/associations/embeds_many.rb +152 -0
  35. data/lib/granite/form/model/associations/embeds_one.rb +112 -0
  36. data/lib/granite/form/model/associations/nested_attributes.rb +215 -0
  37. data/lib/granite/form/model/associations/persistence_adapters/active_record/referenced_proxy.rb +33 -0
  38. data/lib/granite/form/model/associations/persistence_adapters/active_record.rb +68 -0
  39. data/lib/granite/form/model/associations/persistence_adapters/base.rb +55 -0
  40. data/lib/granite/form/model/associations/references_any.rb +43 -0
  41. data/lib/granite/form/model/associations/references_many.rb +113 -0
  42. data/lib/granite/form/model/associations/references_one.rb +88 -0
  43. data/lib/granite/form/model/associations/reflections/base.rb +92 -0
  44. data/lib/granite/form/model/associations/reflections/embeds_any.rb +52 -0
  45. data/lib/granite/form/model/associations/reflections/embeds_many.rb +17 -0
  46. data/lib/granite/form/model/associations/reflections/embeds_one.rb +19 -0
  47. data/lib/granite/form/model/associations/reflections/references_any.rb +65 -0
  48. data/lib/granite/form/model/associations/reflections/references_many.rb +30 -0
  49. data/lib/granite/form/model/associations/reflections/references_one.rb +32 -0
  50. data/lib/granite/form/model/associations/reflections/singular.rb +37 -0
  51. data/lib/granite/form/model/associations/validations.rb +41 -0
  52. data/lib/granite/form/model/associations.rb +120 -0
  53. data/lib/granite/form/model/attributes/attribute.rb +75 -0
  54. data/lib/granite/form/model/attributes/base.rb +134 -0
  55. data/lib/granite/form/model/attributes/collection.rb +19 -0
  56. data/lib/granite/form/model/attributes/dictionary.rb +28 -0
  57. data/lib/granite/form/model/attributes/localized.rb +44 -0
  58. data/lib/granite/form/model/attributes/reference_many.rb +21 -0
  59. data/lib/granite/form/model/attributes/reference_one.rb +52 -0
  60. data/lib/granite/form/model/attributes/reflections/attribute.rb +61 -0
  61. data/lib/granite/form/model/attributes/reflections/base.rb +62 -0
  62. data/lib/granite/form/model/attributes/reflections/collection.rb +12 -0
  63. data/lib/granite/form/model/attributes/reflections/dictionary.rb +15 -0
  64. data/lib/granite/form/model/attributes/reflections/localized.rb +45 -0
  65. data/lib/granite/form/model/attributes/reflections/reference_many.rb +12 -0
  66. data/lib/granite/form/model/attributes/reflections/reference_one.rb +49 -0
  67. data/lib/granite/form/model/attributes/reflections/represents.rb +56 -0
  68. data/lib/granite/form/model/attributes/represents.rb +67 -0
  69. data/lib/granite/form/model/attributes.rb +204 -0
  70. data/lib/granite/form/model/callbacks.rb +72 -0
  71. data/lib/granite/form/model/conventions.rb +40 -0
  72. data/lib/granite/form/model/dirty.rb +84 -0
  73. data/lib/granite/form/model/lifecycle.rb +309 -0
  74. data/lib/granite/form/model/localization.rb +26 -0
  75. data/lib/granite/form/model/persistence.rb +59 -0
  76. data/lib/granite/form/model/primary.rb +59 -0
  77. data/lib/granite/form/model/representation.rb +101 -0
  78. data/lib/granite/form/model/scopes.rb +118 -0
  79. data/lib/granite/form/model/validations/associated.rb +22 -0
  80. data/lib/granite/form/model/validations/nested.rb +56 -0
  81. data/lib/granite/form/model/validations.rb +29 -0
  82. data/lib/granite/form/model.rb +33 -0
  83. data/lib/granite/form/railtie.rb +9 -0
  84. data/lib/granite/form/undefined_class.rb +11 -0
  85. data/lib/granite/form/version.rb +5 -0
  86. data/lib/granite/form.rb +163 -0
  87. data/spec/lib/granite/form/active_record/associations_spec.rb +211 -0
  88. data/spec/lib/granite/form/active_record/nested_attributes_spec.rb +15 -0
  89. data/spec/lib/granite/form/config_spec.rb +66 -0
  90. data/spec/lib/granite/form/model/associations/embeds_many_spec.rb +706 -0
  91. data/spec/lib/granite/form/model/associations/embeds_one_spec.rb +533 -0
  92. data/spec/lib/granite/form/model/associations/nested_attributes_spec.rb +119 -0
  93. data/spec/lib/granite/form/model/associations/persistence_adapters/active_record_spec.rb +58 -0
  94. data/spec/lib/granite/form/model/associations/references_many_spec.rb +572 -0
  95. data/spec/lib/granite/form/model/associations/references_one_spec.rb +445 -0
  96. data/spec/lib/granite/form/model/associations/reflections/embeds_any_spec.rb +42 -0
  97. data/spec/lib/granite/form/model/associations/reflections/embeds_many_spec.rb +145 -0
  98. data/spec/lib/granite/form/model/associations/reflections/embeds_one_spec.rb +117 -0
  99. data/spec/lib/granite/form/model/associations/reflections/references_many_spec.rb +303 -0
  100. data/spec/lib/granite/form/model/associations/reflections/references_one_spec.rb +287 -0
  101. data/spec/lib/granite/form/model/associations/validations_spec.rb +137 -0
  102. data/spec/lib/granite/form/model/associations_spec.rb +198 -0
  103. data/spec/lib/granite/form/model/attributes/attribute_spec.rb +186 -0
  104. data/spec/lib/granite/form/model/attributes/base_spec.rb +97 -0
  105. data/spec/lib/granite/form/model/attributes/collection_spec.rb +72 -0
  106. data/spec/lib/granite/form/model/attributes/dictionary_spec.rb +100 -0
  107. data/spec/lib/granite/form/model/attributes/localized_spec.rb +103 -0
  108. data/spec/lib/granite/form/model/attributes/reflections/attribute_spec.rb +72 -0
  109. data/spec/lib/granite/form/model/attributes/reflections/base_spec.rb +56 -0
  110. data/spec/lib/granite/form/model/attributes/reflections/collection_spec.rb +37 -0
  111. data/spec/lib/granite/form/model/attributes/reflections/dictionary_spec.rb +43 -0
  112. data/spec/lib/granite/form/model/attributes/reflections/localized_spec.rb +37 -0
  113. data/spec/lib/granite/form/model/attributes/reflections/represents_spec.rb +70 -0
  114. data/spec/lib/granite/form/model/attributes/represents_spec.rb +85 -0
  115. data/spec/lib/granite/form/model/attributes_spec.rb +350 -0
  116. data/spec/lib/granite/form/model/callbacks_spec.rb +337 -0
  117. data/spec/lib/granite/form/model/conventions_spec.rb +11 -0
  118. data/spec/lib/granite/form/model/dirty_spec.rb +84 -0
  119. data/spec/lib/granite/form/model/lifecycle_spec.rb +356 -0
  120. data/spec/lib/granite/form/model/persistence_spec.rb +46 -0
  121. data/spec/lib/granite/form/model/primary_spec.rb +84 -0
  122. data/spec/lib/granite/form/model/representation_spec.rb +139 -0
  123. data/spec/lib/granite/form/model/scopes_spec.rb +86 -0
  124. data/spec/lib/granite/form/model/typecasting_spec.rb +193 -0
  125. data/spec/lib/granite/form/model/validations/associated_spec.rb +102 -0
  126. data/spec/lib/granite/form/model/validations/nested_spec.rb +164 -0
  127. data/spec/lib/granite/form/model/validations_spec.rb +31 -0
  128. data/spec/lib/granite/form/model_spec.rb +10 -0
  129. data/spec/lib/granite/form_spec.rb +11 -0
  130. data/spec/shared/nested_attribute_examples.rb +332 -0
  131. data/spec/spec_helper.rb +50 -0
  132. data/spec/support/model_helpers.rb +10 -0
  133. data/spec/support/muffle_helper.rb +7 -0
  134. metadata +403 -0
metadata ADDED
@@ -0,0 +1,403 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: granite-form
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - pyromaniac
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2022-11-21 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: actionpack
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '4.0'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '4.0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: activerecord
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '4.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '4.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: appraisal
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: database_cleaner
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rake
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: rspec
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: 3.7.0
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: 3.7.0
97
+ - !ruby/object:Gem::Dependency
98
+ name: rspec-its
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: rubocop
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - '='
116
+ - !ruby/object:Gem::Version
117
+ version: 0.52.1
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - '='
123
+ - !ruby/object:Gem::Version
124
+ version: 0.52.1
125
+ - !ruby/object:Gem::Dependency
126
+ name: sqlite3
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ">="
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
139
+ - !ruby/object:Gem::Dependency
140
+ name: uuidtools
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - ">="
144
+ - !ruby/object:Gem::Version
145
+ version: '0'
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - ">="
151
+ - !ruby/object:Gem::Version
152
+ version: '0'
153
+ - !ruby/object:Gem::Dependency
154
+ name: activemodel
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - ">="
158
+ - !ruby/object:Gem::Version
159
+ version: '4.0'
160
+ type: :runtime
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - ">="
165
+ - !ruby/object:Gem::Version
166
+ version: '4.0'
167
+ - !ruby/object:Gem::Dependency
168
+ name: activesupport
169
+ requirement: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - - ">="
172
+ - !ruby/object:Gem::Version
173
+ version: '4.0'
174
+ type: :runtime
175
+ prerelease: false
176
+ version_requirements: !ruby/object:Gem::Requirement
177
+ requirements:
178
+ - - ">="
179
+ - !ruby/object:Gem::Version
180
+ version: '4.0'
181
+ - !ruby/object:Gem::Dependency
182
+ name: tzinfo
183
+ requirement: !ruby/object:Gem::Requirement
184
+ requirements:
185
+ - - ">="
186
+ - !ruby/object:Gem::Version
187
+ version: '0'
188
+ type: :runtime
189
+ prerelease: false
190
+ version_requirements: !ruby/object:Gem::Requirement
191
+ requirements:
192
+ - - ">="
193
+ - !ruby/object:Gem::Version
194
+ version: '0'
195
+ description: Making object from any hash or hash array
196
+ email:
197
+ - kinwizard@gmail.com
198
+ executables: []
199
+ extensions: []
200
+ extra_rdoc_files: []
201
+ files:
202
+ - ".codeclimate.yml"
203
+ - ".github/workflows/ci.yml"
204
+ - ".github/workflows/main.yml"
205
+ - ".gitignore"
206
+ - ".rspec"
207
+ - ".rubocop.yml"
208
+ - ".rubocop_todo.yml"
209
+ - Appraisals
210
+ - CHANGELOG.md
211
+ - Gemfile
212
+ - Guardfile
213
+ - LICENSE
214
+ - README.md
215
+ - Rakefile
216
+ - gemfiles/rails.4.2.gemfile
217
+ - gemfiles/rails.5.0.gemfile
218
+ - gemfiles/rails.5.1.gemfile
219
+ - gemfiles/rails.5.2.gemfile
220
+ - gemfiles/rails.6.0.gemfile
221
+ - gemfiles/rails.6.1.gemfile
222
+ - gemfiles/rails.7.0.gemfile
223
+ - granite-form.gemspec
224
+ - lib/granite/form.rb
225
+ - lib/granite/form/active_record/associations.rb
226
+ - lib/granite/form/active_record/nested_attributes.rb
227
+ - lib/granite/form/base.rb
228
+ - lib/granite/form/config.rb
229
+ - lib/granite/form/errors.rb
230
+ - lib/granite/form/extensions.rb
231
+ - lib/granite/form/model.rb
232
+ - lib/granite/form/model/associations.rb
233
+ - lib/granite/form/model/associations/base.rb
234
+ - lib/granite/form/model/associations/collection/embedded.rb
235
+ - lib/granite/form/model/associations/collection/proxy.rb
236
+ - lib/granite/form/model/associations/embeds_any.rb
237
+ - lib/granite/form/model/associations/embeds_many.rb
238
+ - lib/granite/form/model/associations/embeds_one.rb
239
+ - lib/granite/form/model/associations/nested_attributes.rb
240
+ - lib/granite/form/model/associations/persistence_adapters/active_record.rb
241
+ - lib/granite/form/model/associations/persistence_adapters/active_record/referenced_proxy.rb
242
+ - lib/granite/form/model/associations/persistence_adapters/base.rb
243
+ - lib/granite/form/model/associations/references_any.rb
244
+ - lib/granite/form/model/associations/references_many.rb
245
+ - lib/granite/form/model/associations/references_one.rb
246
+ - lib/granite/form/model/associations/reflections/base.rb
247
+ - lib/granite/form/model/associations/reflections/embeds_any.rb
248
+ - lib/granite/form/model/associations/reflections/embeds_many.rb
249
+ - lib/granite/form/model/associations/reflections/embeds_one.rb
250
+ - lib/granite/form/model/associations/reflections/references_any.rb
251
+ - lib/granite/form/model/associations/reflections/references_many.rb
252
+ - lib/granite/form/model/associations/reflections/references_one.rb
253
+ - lib/granite/form/model/associations/reflections/singular.rb
254
+ - lib/granite/form/model/associations/validations.rb
255
+ - lib/granite/form/model/attributes.rb
256
+ - lib/granite/form/model/attributes/attribute.rb
257
+ - lib/granite/form/model/attributes/base.rb
258
+ - lib/granite/form/model/attributes/collection.rb
259
+ - lib/granite/form/model/attributes/dictionary.rb
260
+ - lib/granite/form/model/attributes/localized.rb
261
+ - lib/granite/form/model/attributes/reference_many.rb
262
+ - lib/granite/form/model/attributes/reference_one.rb
263
+ - lib/granite/form/model/attributes/reflections/attribute.rb
264
+ - lib/granite/form/model/attributes/reflections/base.rb
265
+ - lib/granite/form/model/attributes/reflections/collection.rb
266
+ - lib/granite/form/model/attributes/reflections/dictionary.rb
267
+ - lib/granite/form/model/attributes/reflections/localized.rb
268
+ - lib/granite/form/model/attributes/reflections/reference_many.rb
269
+ - lib/granite/form/model/attributes/reflections/reference_one.rb
270
+ - lib/granite/form/model/attributes/reflections/represents.rb
271
+ - lib/granite/form/model/attributes/represents.rb
272
+ - lib/granite/form/model/callbacks.rb
273
+ - lib/granite/form/model/conventions.rb
274
+ - lib/granite/form/model/dirty.rb
275
+ - lib/granite/form/model/lifecycle.rb
276
+ - lib/granite/form/model/localization.rb
277
+ - lib/granite/form/model/persistence.rb
278
+ - lib/granite/form/model/primary.rb
279
+ - lib/granite/form/model/representation.rb
280
+ - lib/granite/form/model/scopes.rb
281
+ - lib/granite/form/model/validations.rb
282
+ - lib/granite/form/model/validations/associated.rb
283
+ - lib/granite/form/model/validations/nested.rb
284
+ - lib/granite/form/railtie.rb
285
+ - lib/granite/form/undefined_class.rb
286
+ - lib/granite/form/version.rb
287
+ - spec/lib/granite/form/active_record/associations_spec.rb
288
+ - spec/lib/granite/form/active_record/nested_attributes_spec.rb
289
+ - spec/lib/granite/form/config_spec.rb
290
+ - spec/lib/granite/form/model/associations/embeds_many_spec.rb
291
+ - spec/lib/granite/form/model/associations/embeds_one_spec.rb
292
+ - spec/lib/granite/form/model/associations/nested_attributes_spec.rb
293
+ - spec/lib/granite/form/model/associations/persistence_adapters/active_record_spec.rb
294
+ - spec/lib/granite/form/model/associations/references_many_spec.rb
295
+ - spec/lib/granite/form/model/associations/references_one_spec.rb
296
+ - spec/lib/granite/form/model/associations/reflections/embeds_any_spec.rb
297
+ - spec/lib/granite/form/model/associations/reflections/embeds_many_spec.rb
298
+ - spec/lib/granite/form/model/associations/reflections/embeds_one_spec.rb
299
+ - spec/lib/granite/form/model/associations/reflections/references_many_spec.rb
300
+ - spec/lib/granite/form/model/associations/reflections/references_one_spec.rb
301
+ - spec/lib/granite/form/model/associations/validations_spec.rb
302
+ - spec/lib/granite/form/model/associations_spec.rb
303
+ - spec/lib/granite/form/model/attributes/attribute_spec.rb
304
+ - spec/lib/granite/form/model/attributes/base_spec.rb
305
+ - spec/lib/granite/form/model/attributes/collection_spec.rb
306
+ - spec/lib/granite/form/model/attributes/dictionary_spec.rb
307
+ - spec/lib/granite/form/model/attributes/localized_spec.rb
308
+ - spec/lib/granite/form/model/attributes/reflections/attribute_spec.rb
309
+ - spec/lib/granite/form/model/attributes/reflections/base_spec.rb
310
+ - spec/lib/granite/form/model/attributes/reflections/collection_spec.rb
311
+ - spec/lib/granite/form/model/attributes/reflections/dictionary_spec.rb
312
+ - spec/lib/granite/form/model/attributes/reflections/localized_spec.rb
313
+ - spec/lib/granite/form/model/attributes/reflections/represents_spec.rb
314
+ - spec/lib/granite/form/model/attributes/represents_spec.rb
315
+ - spec/lib/granite/form/model/attributes_spec.rb
316
+ - spec/lib/granite/form/model/callbacks_spec.rb
317
+ - spec/lib/granite/form/model/conventions_spec.rb
318
+ - spec/lib/granite/form/model/dirty_spec.rb
319
+ - spec/lib/granite/form/model/lifecycle_spec.rb
320
+ - spec/lib/granite/form/model/persistence_spec.rb
321
+ - spec/lib/granite/form/model/primary_spec.rb
322
+ - spec/lib/granite/form/model/representation_spec.rb
323
+ - spec/lib/granite/form/model/scopes_spec.rb
324
+ - spec/lib/granite/form/model/typecasting_spec.rb
325
+ - spec/lib/granite/form/model/validations/associated_spec.rb
326
+ - spec/lib/granite/form/model/validations/nested_spec.rb
327
+ - spec/lib/granite/form/model/validations_spec.rb
328
+ - spec/lib/granite/form/model_spec.rb
329
+ - spec/lib/granite/form_spec.rb
330
+ - spec/shared/nested_attribute_examples.rb
331
+ - spec/spec_helper.rb
332
+ - spec/support/model_helpers.rb
333
+ - spec/support/muffle_helper.rb
334
+ homepage: ''
335
+ licenses: []
336
+ metadata: {}
337
+ post_install_message:
338
+ rdoc_options: []
339
+ require_paths:
340
+ - lib
341
+ required_ruby_version: !ruby/object:Gem::Requirement
342
+ requirements:
343
+ - - ">="
344
+ - !ruby/object:Gem::Version
345
+ version: '0'
346
+ required_rubygems_version: !ruby/object:Gem::Requirement
347
+ requirements:
348
+ - - ">="
349
+ - !ruby/object:Gem::Version
350
+ version: '0'
351
+ requirements: []
352
+ rubygems_version: 3.2.33
353
+ signing_key:
354
+ specification_version: 4
355
+ summary: Working with hashes in AR style
356
+ test_files:
357
+ - spec/lib/granite/form/active_record/associations_spec.rb
358
+ - spec/lib/granite/form/active_record/nested_attributes_spec.rb
359
+ - spec/lib/granite/form/config_spec.rb
360
+ - spec/lib/granite/form/model/associations/embeds_many_spec.rb
361
+ - spec/lib/granite/form/model/associations/embeds_one_spec.rb
362
+ - spec/lib/granite/form/model/associations/nested_attributes_spec.rb
363
+ - spec/lib/granite/form/model/associations/persistence_adapters/active_record_spec.rb
364
+ - spec/lib/granite/form/model/associations/references_many_spec.rb
365
+ - spec/lib/granite/form/model/associations/references_one_spec.rb
366
+ - spec/lib/granite/form/model/associations/reflections/embeds_any_spec.rb
367
+ - spec/lib/granite/form/model/associations/reflections/embeds_many_spec.rb
368
+ - spec/lib/granite/form/model/associations/reflections/embeds_one_spec.rb
369
+ - spec/lib/granite/form/model/associations/reflections/references_many_spec.rb
370
+ - spec/lib/granite/form/model/associations/reflections/references_one_spec.rb
371
+ - spec/lib/granite/form/model/associations/validations_spec.rb
372
+ - spec/lib/granite/form/model/associations_spec.rb
373
+ - spec/lib/granite/form/model/attributes/attribute_spec.rb
374
+ - spec/lib/granite/form/model/attributes/base_spec.rb
375
+ - spec/lib/granite/form/model/attributes/collection_spec.rb
376
+ - spec/lib/granite/form/model/attributes/dictionary_spec.rb
377
+ - spec/lib/granite/form/model/attributes/localized_spec.rb
378
+ - spec/lib/granite/form/model/attributes/reflections/attribute_spec.rb
379
+ - spec/lib/granite/form/model/attributes/reflections/base_spec.rb
380
+ - spec/lib/granite/form/model/attributes/reflections/collection_spec.rb
381
+ - spec/lib/granite/form/model/attributes/reflections/dictionary_spec.rb
382
+ - spec/lib/granite/form/model/attributes/reflections/localized_spec.rb
383
+ - spec/lib/granite/form/model/attributes/reflections/represents_spec.rb
384
+ - spec/lib/granite/form/model/attributes/represents_spec.rb
385
+ - spec/lib/granite/form/model/attributes_spec.rb
386
+ - spec/lib/granite/form/model/callbacks_spec.rb
387
+ - spec/lib/granite/form/model/conventions_spec.rb
388
+ - spec/lib/granite/form/model/dirty_spec.rb
389
+ - spec/lib/granite/form/model/lifecycle_spec.rb
390
+ - spec/lib/granite/form/model/persistence_spec.rb
391
+ - spec/lib/granite/form/model/primary_spec.rb
392
+ - spec/lib/granite/form/model/representation_spec.rb
393
+ - spec/lib/granite/form/model/scopes_spec.rb
394
+ - spec/lib/granite/form/model/typecasting_spec.rb
395
+ - spec/lib/granite/form/model/validations/associated_spec.rb
396
+ - spec/lib/granite/form/model/validations/nested_spec.rb
397
+ - spec/lib/granite/form/model/validations_spec.rb
398
+ - spec/lib/granite/form/model_spec.rb
399
+ - spec/lib/granite/form_spec.rb
400
+ - spec/shared/nested_attribute_examples.rb
401
+ - spec/spec_helper.rb
402
+ - spec/support/model_helpers.rb
403
+ - spec/support/muffle_helper.rb