sbf-dm-validations 1.3.0.beta

Sign up to get free protection for your applications and to get access to all the features.
Files changed (185) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +38 -0
  3. data/.rspec +1 -0
  4. data/.rubocop.yml +468 -0
  5. data/.travis.yml +51 -0
  6. data/Gemfile +60 -0
  7. data/LICENSE +21 -0
  8. data/README.rdoc +122 -0
  9. data/Rakefile +4 -0
  10. data/dm-validations.gemspec +20 -0
  11. data/lib/data_mapper/core.rb +1 -0
  12. data/lib/data_mapper/support/assertions.rb +1 -0
  13. data/lib/data_mapper/support/equalizer.rb +1 -0
  14. data/lib/data_mapper/support/ordered_set.rb +2 -0
  15. data/lib/data_mapper/validation/backward.rb +205 -0
  16. data/lib/data_mapper/validation/context.rb +57 -0
  17. data/lib/data_mapper/validation/contextual_rule_set.rb +210 -0
  18. data/lib/data_mapper/validation/exceptions.rb +7 -0
  19. data/lib/data_mapper/validation/inferred.rb +264 -0
  20. data/lib/data_mapper/validation/macros.rb +449 -0
  21. data/lib/data_mapper/validation/message_transformer.rb +111 -0
  22. data/lib/data_mapper/validation/model_extensions.rb +17 -0
  23. data/lib/data_mapper/validation/resource_extensions.rb +131 -0
  24. data/lib/data_mapper/validation/rule/absence.rb +31 -0
  25. data/lib/data_mapper/validation/rule/acceptance.rb +49 -0
  26. data/lib/data_mapper/validation/rule/block.rb +37 -0
  27. data/lib/data_mapper/validation/rule/confirmation.rb +47 -0
  28. data/lib/data_mapper/validation/rule/format/proc.rb +34 -0
  29. data/lib/data_mapper/validation/rule/format/regexp.rb +51 -0
  30. data/lib/data_mapper/validation/rule/format.rb +86 -0
  31. data/lib/data_mapper/validation/rule/formats/email.rb +54 -0
  32. data/lib/data_mapper/validation/rule/formats/url.rb +13 -0
  33. data/lib/data_mapper/validation/rule/length/equal.rb +48 -0
  34. data/lib/data_mapper/validation/rule/length/maximum.rb +50 -0
  35. data/lib/data_mapper/validation/rule/length/minimum.rb +50 -0
  36. data/lib/data_mapper/validation/rule/length/range.rb +50 -0
  37. data/lib/data_mapper/validation/rule/length.rb +96 -0
  38. data/lib/data_mapper/validation/rule/method.rb +42 -0
  39. data/lib/data_mapper/validation/rule/numericalness/equal.rb +34 -0
  40. data/lib/data_mapper/validation/rule/numericalness/greater_than.rb +34 -0
  41. data/lib/data_mapper/validation/rule/numericalness/greater_than_or_equal.rb +34 -0
  42. data/lib/data_mapper/validation/rule/numericalness/integer.rb +41 -0
  43. data/lib/data_mapper/validation/rule/numericalness/less_than.rb +34 -0
  44. data/lib/data_mapper/validation/rule/numericalness/less_than_or_equal.rb +34 -0
  45. data/lib/data_mapper/validation/rule/numericalness/not_equal.rb +34 -0
  46. data/lib/data_mapper/validation/rule/numericalness/numeric.rb +68 -0
  47. data/lib/data_mapper/validation/rule/numericalness.rb +91 -0
  48. data/lib/data_mapper/validation/rule/presence.rb +52 -0
  49. data/lib/data_mapper/validation/rule/primitive_type.rb +32 -0
  50. data/lib/data_mapper/validation/rule/uniqueness.rb +64 -0
  51. data/lib/data_mapper/validation/rule/within/range/bounded.rb +29 -0
  52. data/lib/data_mapper/validation/rule/within/range/unbounded_begin.rb +29 -0
  53. data/lib/data_mapper/validation/rule/within/range/unbounded_end.rb +29 -0
  54. data/lib/data_mapper/validation/rule/within/range.rb +55 -0
  55. data/lib/data_mapper/validation/rule/within/set.rb +45 -0
  56. data/lib/data_mapper/validation/rule/within.rb +32 -0
  57. data/lib/data_mapper/validation/rule.rb +232 -0
  58. data/lib/data_mapper/validation/rule_set.rb +157 -0
  59. data/lib/data_mapper/validation/support/object.rb +19 -0
  60. data/lib/data_mapper/validation/support/ordered_hash.rb +434 -0
  61. data/lib/data_mapper/validation/version.rb +5 -0
  62. data/lib/data_mapper/validation/violation.rb +136 -0
  63. data/lib/data_mapper/validation/violation_set.rb +115 -0
  64. data/lib/data_mapper/validation.rb +105 -0
  65. data/lib/dm-validations.rb +24 -0
  66. data/spec/data_mapper/validation/resource_extensions/save_spec.rb +56 -0
  67. data/spec/data_mapper/validation/resource_extensions/validate_spec.rb +103 -0
  68. data/spec/fixtures/barcode.rb +40 -0
  69. data/spec/fixtures/basketball_court.rb +58 -0
  70. data/spec/fixtures/basketball_player.rb +34 -0
  71. data/spec/fixtures/beta_tester_account.rb +33 -0
  72. data/spec/fixtures/bill_of_landing.rb +47 -0
  73. data/spec/fixtures/boat_dock.rb +26 -0
  74. data/spec/fixtures/city.rb +24 -0
  75. data/spec/fixtures/company.rb +93 -0
  76. data/spec/fixtures/corporate_world.rb +39 -0
  77. data/spec/fixtures/country.rb +24 -0
  78. data/spec/fixtures/ethernet_frame.rb +56 -0
  79. data/spec/fixtures/event.rb +44 -0
  80. data/spec/fixtures/g3_concert.rb +57 -0
  81. data/spec/fixtures/integer_dumped_as_string_property.rb +24 -0
  82. data/spec/fixtures/jabberwock.rb +27 -0
  83. data/spec/fixtures/kayak.rb +28 -0
  84. data/spec/fixtures/lernean_hydra.rb +39 -0
  85. data/spec/fixtures/llama_spaceship.rb +15 -0
  86. data/spec/fixtures/mathematical_function.rb +34 -0
  87. data/spec/fixtures/memory_object.rb +35 -0
  88. data/spec/fixtures/mittelschnauzer.rb +39 -0
  89. data/spec/fixtures/motor_launch.rb +21 -0
  90. data/spec/fixtures/multibyte.rb +16 -0
  91. data/spec/fixtures/page.rb +32 -0
  92. data/spec/fixtures/phone_number.rb +28 -0
  93. data/spec/fixtures/pirogue.rb +28 -0
  94. data/spec/fixtures/programming_language.rb +83 -0
  95. data/spec/fixtures/reservation.rb +38 -0
  96. data/spec/fixtures/scm_operation.rb +56 -0
  97. data/spec/fixtures/sms_message.rb +22 -0
  98. data/spec/fixtures/udp_packet.rb +49 -0
  99. data/spec/integration/absent_field_validator/absent_field_validator_spec.rb +90 -0
  100. data/spec/integration/absent_field_validator/spec_helper.rb +7 -0
  101. data/spec/integration/acceptance_validator/acceptance_validator_spec.rb +196 -0
  102. data/spec/integration/acceptance_validator/spec_helper.rb +7 -0
  103. data/spec/integration/automatic_validation/custom_messages_for_inferred_validation_spec.rb +57 -0
  104. data/spec/integration/automatic_validation/disabling_inferred_validation_spec.rb +49 -0
  105. data/spec/integration/automatic_validation/inferred_boolean_properties_validation_spec.rb +100 -0
  106. data/spec/integration/automatic_validation/inferred_float_property_validation_spec.rb +45 -0
  107. data/spec/integration/automatic_validation/inferred_format_validation_spec.rb +35 -0
  108. data/spec/integration/automatic_validation/inferred_integer_properties_validation_spec.rb +70 -0
  109. data/spec/integration/automatic_validation/inferred_length_validation_spec.rb +142 -0
  110. data/spec/integration/automatic_validation/inferred_presence_validation_spec.rb +45 -0
  111. data/spec/integration/automatic_validation/inferred_primitive_validation_spec.rb +22 -0
  112. data/spec/integration/automatic_validation/inferred_uniqueness_validation_spec.rb +48 -0
  113. data/spec/integration/automatic_validation/inferred_within_validation_spec.rb +35 -0
  114. data/spec/integration/automatic_validation/spec_helper.rb +57 -0
  115. data/spec/integration/block_validator/spec_helper.rb +5 -0
  116. data/spec/integration/conditional_validation/if_condition_spec.rb +63 -0
  117. data/spec/integration/conditional_validation/spec_helper.rb +5 -0
  118. data/spec/integration/confirmation_validator/confirmation_validator_spec.rb +76 -0
  119. data/spec/integration/confirmation_validator/spec_helper.rb +5 -0
  120. data/spec/integration/datamapper_models/association_validation_spec.rb +29 -0
  121. data/spec/integration/datamapper_models/inheritance_spec.rb +82 -0
  122. data/spec/integration/dirty_attributes/dirty_attributes_spec.rb +13 -0
  123. data/spec/integration/duplicated_validations/duplicated_validations_spec.rb +24 -0
  124. data/spec/integration/duplicated_validations/spec_helper.rb +5 -0
  125. data/spec/integration/format_validator/email_format_validator_spec.rb +139 -0
  126. data/spec/integration/format_validator/format_validator_spec.rb +64 -0
  127. data/spec/integration/format_validator/regexp_validator_spec.rb +33 -0
  128. data/spec/integration/format_validator/spec_helper.rb +5 -0
  129. data/spec/integration/format_validator/url_format_validator_spec.rb +91 -0
  130. data/spec/integration/length_validator/default_value_spec.rb +14 -0
  131. data/spec/integration/length_validator/equality_spec.rb +83 -0
  132. data/spec/integration/length_validator/error_message_spec.rb +22 -0
  133. data/spec/integration/length_validator/maximum_spec.rb +47 -0
  134. data/spec/integration/length_validator/minimum_spec.rb +54 -0
  135. data/spec/integration/length_validator/range_spec.rb +87 -0
  136. data/spec/integration/length_validator/spec_helper.rb +7 -0
  137. data/spec/integration/method_validator/method_validator_spec.rb +243 -0
  138. data/spec/integration/method_validator/spec_helper.rb +5 -0
  139. data/spec/integration/numeric_validator/equality_with_float_type_spec.rb +65 -0
  140. data/spec/integration/numeric_validator/equality_with_integer_type_spec.rb +41 -0
  141. data/spec/integration/numeric_validator/float_type_spec.rb +90 -0
  142. data/spec/integration/numeric_validator/gt_with_float_type_spec.rb +37 -0
  143. data/spec/integration/numeric_validator/gte_with_float_type_spec.rb +36 -0
  144. data/spec/integration/numeric_validator/integer_only_true_spec.rb +91 -0
  145. data/spec/integration/numeric_validator/integer_type_spec.rb +86 -0
  146. data/spec/integration/numeric_validator/lt_with_float_type_spec.rb +37 -0
  147. data/spec/integration/numeric_validator/lte_with_float_type_spec.rb +37 -0
  148. data/spec/integration/numeric_validator/spec_helper.rb +5 -0
  149. data/spec/integration/primitive_validator/primitive_validator_spec.rb +112 -0
  150. data/spec/integration/primitive_validator/spec_helper.rb +5 -0
  151. data/spec/integration/pure_ruby_objects/plain_old_ruby_object_validation_spec.rb +118 -0
  152. data/spec/integration/required_field_validator/association_spec.rb +69 -0
  153. data/spec/integration/required_field_validator/boolean_type_value_spec.rb +164 -0
  154. data/spec/integration/required_field_validator/date_type_value_spec.rb +127 -0
  155. data/spec/integration/required_field_validator/datetime_type_value_spec.rb +127 -0
  156. data/spec/integration/required_field_validator/float_type_value_spec.rb +131 -0
  157. data/spec/integration/required_field_validator/integer_type_value_spec.rb +99 -0
  158. data/spec/integration/required_field_validator/plain_old_ruby_object_spec.rb +35 -0
  159. data/spec/integration/required_field_validator/shared_examples.rb +27 -0
  160. data/spec/integration/required_field_validator/spec_helper.rb +7 -0
  161. data/spec/integration/required_field_validator/string_type_value_spec.rb +167 -0
  162. data/spec/integration/required_field_validator/text_type_value_spec.rb +49 -0
  163. data/spec/integration/shared/default_validation_context.rb +13 -0
  164. data/spec/integration/shared/valid_and_invalid_model.rb +35 -0
  165. data/spec/integration/uniqueness_validator/spec_helper.rb +5 -0
  166. data/spec/integration/uniqueness_validator/uniqueness_validator_spec.rb +116 -0
  167. data/spec/integration/within_validator/spec_helper.rb +5 -0
  168. data/spec/integration/within_validator/within_validator_spec.rb +168 -0
  169. data/spec/public/resource_spec.rb +113 -0
  170. data/spec/spec_helper.rb +28 -0
  171. data/spec/unit/contextual_validators/emptiness_spec.rb +50 -0
  172. data/spec/unit/contextual_validators/execution_spec.rb +48 -0
  173. data/spec/unit/contextual_validators/spec_helper.rb +37 -0
  174. data/spec/unit/generic_validator/equality_operator_spec.rb +26 -0
  175. data/spec/unit/generic_validator/optional_spec.rb +54 -0
  176. data/spec/unit/validators/within_validator_spec.rb +23 -0
  177. data/spec/unit/violation_set/adding_spec.rb +54 -0
  178. data/spec/unit/violation_set/emptiness_spec.rb +38 -0
  179. data/spec/unit/violation_set/enumerable_spec.rb +32 -0
  180. data/spec/unit/violation_set/reading_spec.rb +35 -0
  181. data/spec/unit/violation_set/respond_to_spec.rb +15 -0
  182. data/tasks/spec.rake +21 -0
  183. data/tasks/yard.rake +9 -0
  184. data/tasks/yardstick.rake +19 -0
  185. metadata +245 -0
metadata ADDED
@@ -0,0 +1,245 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: sbf-dm-validations
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.3.0.beta
5
+ platform: ruby
6
+ authors:
7
+ - Guy van den Berg
8
+ - Emmanuel Gomez
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2024-10-04 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: sbf-dm-core
16
+ requirement: !ruby/object:Gem::Requirement
17
+ requirements:
18
+ - - "~>"
19
+ - !ruby/object:Gem::Version
20
+ version: 1.3.0.beta
21
+ type: :runtime
22
+ prerelease: false
23
+ version_requirements: !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - "~>"
26
+ - !ruby/object:Gem::Version
27
+ version: 1.3.0.beta
28
+ description: This is a DataMapper plugin that provides validations for DataMapper
29
+ model classes.
30
+ email:
31
+ - emmanuel.gomez@gmail.com
32
+ executables: []
33
+ extensions: []
34
+ extra_rdoc_files:
35
+ - LICENSE
36
+ - README.rdoc
37
+ files:
38
+ - ".gitignore"
39
+ - ".rspec"
40
+ - ".rubocop.yml"
41
+ - ".travis.yml"
42
+ - Gemfile
43
+ - LICENSE
44
+ - README.rdoc
45
+ - Rakefile
46
+ - dm-validations.gemspec
47
+ - lib/data_mapper/core.rb
48
+ - lib/data_mapper/support/assertions.rb
49
+ - lib/data_mapper/support/equalizer.rb
50
+ - lib/data_mapper/support/ordered_set.rb
51
+ - lib/data_mapper/validation.rb
52
+ - lib/data_mapper/validation/backward.rb
53
+ - lib/data_mapper/validation/context.rb
54
+ - lib/data_mapper/validation/contextual_rule_set.rb
55
+ - lib/data_mapper/validation/exceptions.rb
56
+ - lib/data_mapper/validation/inferred.rb
57
+ - lib/data_mapper/validation/macros.rb
58
+ - lib/data_mapper/validation/message_transformer.rb
59
+ - lib/data_mapper/validation/model_extensions.rb
60
+ - lib/data_mapper/validation/resource_extensions.rb
61
+ - lib/data_mapper/validation/rule.rb
62
+ - lib/data_mapper/validation/rule/absence.rb
63
+ - lib/data_mapper/validation/rule/acceptance.rb
64
+ - lib/data_mapper/validation/rule/block.rb
65
+ - lib/data_mapper/validation/rule/confirmation.rb
66
+ - lib/data_mapper/validation/rule/format.rb
67
+ - lib/data_mapper/validation/rule/format/proc.rb
68
+ - lib/data_mapper/validation/rule/format/regexp.rb
69
+ - lib/data_mapper/validation/rule/formats/email.rb
70
+ - lib/data_mapper/validation/rule/formats/url.rb
71
+ - lib/data_mapper/validation/rule/length.rb
72
+ - lib/data_mapper/validation/rule/length/equal.rb
73
+ - lib/data_mapper/validation/rule/length/maximum.rb
74
+ - lib/data_mapper/validation/rule/length/minimum.rb
75
+ - lib/data_mapper/validation/rule/length/range.rb
76
+ - lib/data_mapper/validation/rule/method.rb
77
+ - lib/data_mapper/validation/rule/numericalness.rb
78
+ - lib/data_mapper/validation/rule/numericalness/equal.rb
79
+ - lib/data_mapper/validation/rule/numericalness/greater_than.rb
80
+ - lib/data_mapper/validation/rule/numericalness/greater_than_or_equal.rb
81
+ - lib/data_mapper/validation/rule/numericalness/integer.rb
82
+ - lib/data_mapper/validation/rule/numericalness/less_than.rb
83
+ - lib/data_mapper/validation/rule/numericalness/less_than_or_equal.rb
84
+ - lib/data_mapper/validation/rule/numericalness/not_equal.rb
85
+ - lib/data_mapper/validation/rule/numericalness/numeric.rb
86
+ - lib/data_mapper/validation/rule/presence.rb
87
+ - lib/data_mapper/validation/rule/primitive_type.rb
88
+ - lib/data_mapper/validation/rule/uniqueness.rb
89
+ - lib/data_mapper/validation/rule/within.rb
90
+ - lib/data_mapper/validation/rule/within/range.rb
91
+ - lib/data_mapper/validation/rule/within/range/bounded.rb
92
+ - lib/data_mapper/validation/rule/within/range/unbounded_begin.rb
93
+ - lib/data_mapper/validation/rule/within/range/unbounded_end.rb
94
+ - lib/data_mapper/validation/rule/within/set.rb
95
+ - lib/data_mapper/validation/rule_set.rb
96
+ - lib/data_mapper/validation/support/object.rb
97
+ - lib/data_mapper/validation/support/ordered_hash.rb
98
+ - lib/data_mapper/validation/version.rb
99
+ - lib/data_mapper/validation/violation.rb
100
+ - lib/data_mapper/validation/violation_set.rb
101
+ - lib/dm-validations.rb
102
+ - spec/data_mapper/validation/resource_extensions/save_spec.rb
103
+ - spec/data_mapper/validation/resource_extensions/validate_spec.rb
104
+ - spec/fixtures/barcode.rb
105
+ - spec/fixtures/basketball_court.rb
106
+ - spec/fixtures/basketball_player.rb
107
+ - spec/fixtures/beta_tester_account.rb
108
+ - spec/fixtures/bill_of_landing.rb
109
+ - spec/fixtures/boat_dock.rb
110
+ - spec/fixtures/city.rb
111
+ - spec/fixtures/company.rb
112
+ - spec/fixtures/corporate_world.rb
113
+ - spec/fixtures/country.rb
114
+ - spec/fixtures/ethernet_frame.rb
115
+ - spec/fixtures/event.rb
116
+ - spec/fixtures/g3_concert.rb
117
+ - spec/fixtures/integer_dumped_as_string_property.rb
118
+ - spec/fixtures/jabberwock.rb
119
+ - spec/fixtures/kayak.rb
120
+ - spec/fixtures/lernean_hydra.rb
121
+ - spec/fixtures/llama_spaceship.rb
122
+ - spec/fixtures/mathematical_function.rb
123
+ - spec/fixtures/memory_object.rb
124
+ - spec/fixtures/mittelschnauzer.rb
125
+ - spec/fixtures/motor_launch.rb
126
+ - spec/fixtures/multibyte.rb
127
+ - spec/fixtures/page.rb
128
+ - spec/fixtures/phone_number.rb
129
+ - spec/fixtures/pirogue.rb
130
+ - spec/fixtures/programming_language.rb
131
+ - spec/fixtures/reservation.rb
132
+ - spec/fixtures/scm_operation.rb
133
+ - spec/fixtures/sms_message.rb
134
+ - spec/fixtures/udp_packet.rb
135
+ - spec/integration/absent_field_validator/absent_field_validator_spec.rb
136
+ - spec/integration/absent_field_validator/spec_helper.rb
137
+ - spec/integration/acceptance_validator/acceptance_validator_spec.rb
138
+ - spec/integration/acceptance_validator/spec_helper.rb
139
+ - spec/integration/automatic_validation/custom_messages_for_inferred_validation_spec.rb
140
+ - spec/integration/automatic_validation/disabling_inferred_validation_spec.rb
141
+ - spec/integration/automatic_validation/inferred_boolean_properties_validation_spec.rb
142
+ - spec/integration/automatic_validation/inferred_float_property_validation_spec.rb
143
+ - spec/integration/automatic_validation/inferred_format_validation_spec.rb
144
+ - spec/integration/automatic_validation/inferred_integer_properties_validation_spec.rb
145
+ - spec/integration/automatic_validation/inferred_length_validation_spec.rb
146
+ - spec/integration/automatic_validation/inferred_presence_validation_spec.rb
147
+ - spec/integration/automatic_validation/inferred_primitive_validation_spec.rb
148
+ - spec/integration/automatic_validation/inferred_uniqueness_validation_spec.rb
149
+ - spec/integration/automatic_validation/inferred_within_validation_spec.rb
150
+ - spec/integration/automatic_validation/spec_helper.rb
151
+ - spec/integration/block_validator/spec_helper.rb
152
+ - spec/integration/conditional_validation/if_condition_spec.rb
153
+ - spec/integration/conditional_validation/spec_helper.rb
154
+ - spec/integration/confirmation_validator/confirmation_validator_spec.rb
155
+ - spec/integration/confirmation_validator/spec_helper.rb
156
+ - spec/integration/datamapper_models/association_validation_spec.rb
157
+ - spec/integration/datamapper_models/inheritance_spec.rb
158
+ - spec/integration/dirty_attributes/dirty_attributes_spec.rb
159
+ - spec/integration/duplicated_validations/duplicated_validations_spec.rb
160
+ - spec/integration/duplicated_validations/spec_helper.rb
161
+ - spec/integration/format_validator/email_format_validator_spec.rb
162
+ - spec/integration/format_validator/format_validator_spec.rb
163
+ - spec/integration/format_validator/regexp_validator_spec.rb
164
+ - spec/integration/format_validator/spec_helper.rb
165
+ - spec/integration/format_validator/url_format_validator_spec.rb
166
+ - spec/integration/length_validator/default_value_spec.rb
167
+ - spec/integration/length_validator/equality_spec.rb
168
+ - spec/integration/length_validator/error_message_spec.rb
169
+ - spec/integration/length_validator/maximum_spec.rb
170
+ - spec/integration/length_validator/minimum_spec.rb
171
+ - spec/integration/length_validator/range_spec.rb
172
+ - spec/integration/length_validator/spec_helper.rb
173
+ - spec/integration/method_validator/method_validator_spec.rb
174
+ - spec/integration/method_validator/spec_helper.rb
175
+ - spec/integration/numeric_validator/equality_with_float_type_spec.rb
176
+ - spec/integration/numeric_validator/equality_with_integer_type_spec.rb
177
+ - spec/integration/numeric_validator/float_type_spec.rb
178
+ - spec/integration/numeric_validator/gt_with_float_type_spec.rb
179
+ - spec/integration/numeric_validator/gte_with_float_type_spec.rb
180
+ - spec/integration/numeric_validator/integer_only_true_spec.rb
181
+ - spec/integration/numeric_validator/integer_type_spec.rb
182
+ - spec/integration/numeric_validator/lt_with_float_type_spec.rb
183
+ - spec/integration/numeric_validator/lte_with_float_type_spec.rb
184
+ - spec/integration/numeric_validator/spec_helper.rb
185
+ - spec/integration/primitive_validator/primitive_validator_spec.rb
186
+ - spec/integration/primitive_validator/spec_helper.rb
187
+ - spec/integration/pure_ruby_objects/plain_old_ruby_object_validation_spec.rb
188
+ - spec/integration/required_field_validator/association_spec.rb
189
+ - spec/integration/required_field_validator/boolean_type_value_spec.rb
190
+ - spec/integration/required_field_validator/date_type_value_spec.rb
191
+ - spec/integration/required_field_validator/datetime_type_value_spec.rb
192
+ - spec/integration/required_field_validator/float_type_value_spec.rb
193
+ - spec/integration/required_field_validator/integer_type_value_spec.rb
194
+ - spec/integration/required_field_validator/plain_old_ruby_object_spec.rb
195
+ - spec/integration/required_field_validator/shared_examples.rb
196
+ - spec/integration/required_field_validator/spec_helper.rb
197
+ - spec/integration/required_field_validator/string_type_value_spec.rb
198
+ - spec/integration/required_field_validator/text_type_value_spec.rb
199
+ - spec/integration/shared/default_validation_context.rb
200
+ - spec/integration/shared/valid_and_invalid_model.rb
201
+ - spec/integration/uniqueness_validator/spec_helper.rb
202
+ - spec/integration/uniqueness_validator/uniqueness_validator_spec.rb
203
+ - spec/integration/within_validator/spec_helper.rb
204
+ - spec/integration/within_validator/within_validator_spec.rb
205
+ - spec/public/resource_spec.rb
206
+ - spec/spec_helper.rb
207
+ - spec/unit/contextual_validators/emptiness_spec.rb
208
+ - spec/unit/contextual_validators/execution_spec.rb
209
+ - spec/unit/contextual_validators/spec_helper.rb
210
+ - spec/unit/generic_validator/equality_operator_spec.rb
211
+ - spec/unit/generic_validator/optional_spec.rb
212
+ - spec/unit/validators/within_validator_spec.rb
213
+ - spec/unit/violation_set/adding_spec.rb
214
+ - spec/unit/violation_set/emptiness_spec.rb
215
+ - spec/unit/violation_set/enumerable_spec.rb
216
+ - spec/unit/violation_set/reading_spec.rb
217
+ - spec/unit/violation_set/respond_to_spec.rb
218
+ - tasks/spec.rake
219
+ - tasks/yard.rake
220
+ - tasks/yardstick.rake
221
+ homepage: https://datamapper.org
222
+ licenses:
223
+ - Nonstandard
224
+ metadata: {}
225
+ post_install_message:
226
+ rdoc_options: []
227
+ require_paths:
228
+ - lib
229
+ required_ruby_version: !ruby/object:Gem::Requirement
230
+ requirements:
231
+ - - ">="
232
+ - !ruby/object:Gem::Version
233
+ version: 2.7.8
234
+ required_rubygems_version: !ruby/object:Gem::Requirement
235
+ requirements:
236
+ - - ">"
237
+ - !ruby/object:Gem::Version
238
+ version: 1.3.1
239
+ requirements: []
240
+ rubygems_version: 3.4.10
241
+ signing_key:
242
+ specification_version: 4
243
+ summary: Library for performing validations on DataMapper resources and plain Ruby
244
+ objects
245
+ test_files: []