client_side_validations 3.1.5 → 3.2.0.beta.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (105) hide show
  1. data/client_side_validations.gemspec +1 -9
  2. data/lib/client_side_validations.rb +6 -2
  3. data/lib/client_side_validations/action_view/form_builder.rb +4 -2
  4. data/lib/client_side_validations/action_view/form_helper.rb +15 -7
  5. data/lib/client_side_validations/active_model.rb +5 -2
  6. data/lib/client_side_validations/active_record.rb +2 -1
  7. data/lib/client_side_validations/active_record/middleware.rb +15 -2
  8. data/lib/client_side_validations/active_record/uniqueness.rb +0 -1
  9. data/lib/client_side_validations/core_ext/regexp.rb +1 -1
  10. data/lib/client_side_validations/middleware.rb +40 -16
  11. data/lib/client_side_validations/version.rb +1 -1
  12. data/lib/generators/templates/client_side_validations/initializer.rb +0 -3
  13. data/vendor/assets/javascripts/rails.validations.js +135 -170
  14. metadata +22 -329
  15. data/lib/client_side_validations/formtastic.rb +0 -21
  16. data/lib/client_side_validations/mongo_mapper.rb +0 -9
  17. data/lib/client_side_validations/mongo_mapper/middleware.rb +0 -20
  18. data/lib/client_side_validations/mongo_mapper/uniqueness.rb +0 -29
  19. data/lib/client_side_validations/mongoid.rb +0 -9
  20. data/lib/client_side_validations/mongoid/format.rb +0 -10
  21. data/lib/client_side_validations/mongoid/length.rb +0 -24
  22. data/lib/client_side_validations/mongoid/middleware.rb +0 -20
  23. data/lib/client_side_validations/mongoid/presence.rb +0 -10
  24. data/lib/client_side_validations/mongoid/uniqueness.rb +0 -29
  25. data/lib/client_side_validations/simple_form.rb +0 -24
  26. data/lib/generators/templates/client_side_validations/README.rails.3.0 +0 -6
  27. data/test/action_view/cases/helper.rb +0 -176
  28. data/test/action_view/cases/test_helpers.rb +0 -635
  29. data/test/action_view/cases/test_legacy_helpers.rb +0 -217
  30. data/test/action_view/models.rb +0 -3
  31. data/test/action_view/models/comment.rb +0 -35
  32. data/test/action_view/models/post.rb +0 -35
  33. data/test/active_model/cases/helper.rb +0 -4
  34. data/test/active_model/cases/test_acceptance_validator.rb +0 -16
  35. data/test/active_model/cases/test_base.rb +0 -11
  36. data/test/active_model/cases/test_confirmation_validator.rb +0 -16
  37. data/test/active_model/cases/test_exclusion_validator.rb +0 -20
  38. data/test/active_model/cases/test_format_validator.rb +0 -21
  39. data/test/active_model/cases/test_inclusion_validator.rb +0 -21
  40. data/test/active_model/cases/test_length_validator.rb +0 -61
  41. data/test/active_model/cases/test_numericality_validator.rb +0 -46
  42. data/test/active_model/cases/test_presence_validator.rb +0 -16
  43. data/test/active_model/cases/test_validations.rb +0 -175
  44. data/test/active_model/models/person.rb +0 -17
  45. data/test/active_record/cases/helper.rb +0 -12
  46. data/test/active_record/cases/test_base.rb +0 -11
  47. data/test/active_record/cases/test_middleware.rb +0 -175
  48. data/test/active_record/cases/test_uniqueness_validator.rb +0 -56
  49. data/test/active_record/models/guid.rb +0 -7
  50. data/test/active_record/models/user.rb +0 -14
  51. data/test/base_helper.rb +0 -21
  52. data/test/core_ext/cases/test_core_ext.rb +0 -46
  53. data/test/formtastic/cases/helper.rb +0 -7
  54. data/test/formtastic/cases/test_form_builder.rb +0 -11
  55. data/test/formtastic/cases/test_form_helper.rb +0 -21
  56. data/test/generators/cases/test_generators.rb +0 -70
  57. data/test/javascript/config.ru +0 -3
  58. data/test/javascript/public/test/callbacks/elementAfter.js +0 -54
  59. data/test/javascript/public/test/callbacks/elementBefore.js +0 -54
  60. data/test/javascript/public/test/callbacks/elementFail.js +0 -70
  61. data/test/javascript/public/test/callbacks/elementPass.js +0 -70
  62. data/test/javascript/public/test/callbacks/formAfter.js +0 -45
  63. data/test/javascript/public/test/callbacks/formBefore.js +0 -45
  64. data/test/javascript/public/test/callbacks/formFail.js +0 -51
  65. data/test/javascript/public/test/callbacks/formPass.js +0 -50
  66. data/test/javascript/public/test/form_builders/validateForm.js +0 -66
  67. data/test/javascript/public/test/form_builders/validateFormtastic.js +0 -54
  68. data/test/javascript/public/test/form_builders/validateNestedForm.js +0 -66
  69. data/test/javascript/public/test/form_builders/validateSimpleForm.js +0 -57
  70. data/test/javascript/public/test/settings.js +0 -15
  71. data/test/javascript/public/test/validateElement.js +0 -179
  72. data/test/javascript/public/test/validators/acceptance.js +0 -42
  73. data/test/javascript/public/test/validators/confirmation.js +0 -25
  74. data/test/javascript/public/test/validators/exclusion.js +0 -41
  75. data/test/javascript/public/test/validators/format.js +0 -27
  76. data/test/javascript/public/test/validators/inclusion.js +0 -42
  77. data/test/javascript/public/test/validators/length.js +0 -76
  78. data/test/javascript/public/test/validators/numericality.js +0 -158
  79. data/test/javascript/public/test/validators/presence.js +0 -21
  80. data/test/javascript/public/test/validators/uniqueness.js +0 -107
  81. data/test/javascript/public/vendor/jquery.metadata.js +0 -122
  82. data/test/javascript/public/vendor/qunit.css +0 -196
  83. data/test/javascript/public/vendor/qunit.js +0 -1374
  84. data/test/javascript/server.rb +0 -84
  85. data/test/javascript/views/index.erb +0 -20
  86. data/test/javascript/views/layout.erb +0 -21
  87. data/test/middleware/cases/helper.rb +0 -7
  88. data/test/middleware/cases/test_middleware.rb +0 -8
  89. data/test/mongo_mapper/cases/helper.rb +0 -9
  90. data/test/mongo_mapper/cases/test_base.rb +0 -15
  91. data/test/mongo_mapper/cases/test_middleware.rb +0 -77
  92. data/test/mongo_mapper/cases/test_uniqueness_validator.rb +0 -55
  93. data/test/mongo_mapper/models/magazine.rb +0 -11
  94. data/test/mongoid/cases/helper.rb +0 -12
  95. data/test/mongoid/cases/test_base.rb +0 -15
  96. data/test/mongoid/cases/test_format_validator.rb +0 -21
  97. data/test/mongoid/cases/test_length_validator.rb +0 -60
  98. data/test/mongoid/cases/test_middleware.rb +0 -77
  99. data/test/mongoid/cases/test_presence_validator.rb +0 -16
  100. data/test/mongoid/cases/test_uniqueness_validator.rb +0 -54
  101. data/test/mongoid/models/book.rb +0 -12
  102. data/test/simple_form/cases/helper.rb +0 -5
  103. data/test/simple_form/cases/test_form_builder.rb +0 -14
  104. data/test/simple_form/cases/test_form_helper.rb +0 -24
  105. data/test/test_loader.rb +0 -6
metadata CHANGED
@@ -1,35 +1,30 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: client_side_validations
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.5
5
- prerelease:
4
+ version: 3.2.0.beta.1
5
+ prerelease: 6
6
6
  platform: ruby
7
7
  authors:
8
8
  - Brian Cardarella
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-10-02 00:00:00.000000000 Z
12
+ date: 2012-01-22 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
16
- requirement: !ruby/object:Gem::Requirement
16
+ requirement: &70255205329720 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
20
20
  - !ruby/object:Gem::Version
21
- version: 3.1.0
21
+ version: 3.2.0
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
- requirements:
27
- - - ~>
28
- - !ruby/object:Gem::Version
29
- version: 3.1.0
24
+ version_requirements: *70255205329720
30
25
  - !ruby/object:Gem::Dependency
31
26
  name: sqlite3
32
- requirement: !ruby/object:Gem::Requirement
27
+ requirement: &70255205329100 !ruby/object:Gem::Requirement
33
28
  none: false
34
29
  requirements:
35
30
  - - ! '>='
@@ -37,111 +32,10 @@ dependencies:
37
32
  version: '0'
38
33
  type: :development
39
34
  prerelease: false
40
- version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
- requirements:
43
- - - ! '>='
44
- - !ruby/object:Gem::Version
45
- version: '0'
46
- - !ruby/object:Gem::Dependency
47
- name: bson_ext
48
- requirement: !ruby/object:Gem::Requirement
49
- none: false
50
- requirements:
51
- - - ! '>='
52
- - !ruby/object:Gem::Version
53
- version: '0'
54
- type: :development
55
- prerelease: false
56
- version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
- requirements:
59
- - - ! '>='
60
- - !ruby/object:Gem::Version
61
- version: '0'
62
- - !ruby/object:Gem::Dependency
63
- name: mongoid
64
- requirement: !ruby/object:Gem::Requirement
65
- none: false
66
- requirements:
67
- - - ~>
68
- - !ruby/object:Gem::Version
69
- version: 2.4.0
70
- type: :development
71
- prerelease: false
72
- version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
- requirements:
75
- - - ~>
76
- - !ruby/object:Gem::Version
77
- version: 2.4.0
78
- - !ruby/object:Gem::Dependency
79
- name: mongo_mapper
80
- requirement: !ruby/object:Gem::Requirement
81
- none: false
82
- requirements:
83
- - - ~>
84
- - !ruby/object:Gem::Version
85
- version: 0.9.0
86
- type: :development
87
- prerelease: false
88
- version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
- requirements:
91
- - - ~>
92
- - !ruby/object:Gem::Version
93
- version: 0.9.0
35
+ version_requirements: *70255205329100
94
36
  - !ruby/object:Gem::Dependency
95
37
  name: mocha
96
- requirement: !ruby/object:Gem::Requirement
97
- none: false
98
- requirements:
99
- - - ! '>='
100
- - !ruby/object:Gem::Version
101
- version: '0'
102
- type: :development
103
- prerelease: false
104
- version_requirements: !ruby/object:Gem::Requirement
105
- none: false
106
- requirements:
107
- - - ! '>='
108
- - !ruby/object:Gem::Version
109
- version: '0'
110
- - !ruby/object:Gem::Dependency
111
- name: simple_form
112
- requirement: !ruby/object:Gem::Requirement
113
- none: false
114
- requirements:
115
- - - ~>
116
- - !ruby/object:Gem::Version
117
- version: 1.5.0
118
- type: :development
119
- prerelease: false
120
- version_requirements: !ruby/object:Gem::Requirement
121
- none: false
122
- requirements:
123
- - - ~>
124
- - !ruby/object:Gem::Version
125
- version: 1.5.0
126
- - !ruby/object:Gem::Dependency
127
- name: formtastic
128
- requirement: !ruby/object:Gem::Requirement
129
- none: false
130
- requirements:
131
- - - ~>
132
- - !ruby/object:Gem::Version
133
- version: 2.0.0
134
- type: :development
135
- prerelease: false
136
- version_requirements: !ruby/object:Gem::Requirement
137
- none: false
138
- requirements:
139
- - - ~>
140
- - !ruby/object:Gem::Version
141
- version: 2.0.0
142
- - !ruby/object:Gem::Dependency
143
- name: m
144
- requirement: !ruby/object:Gem::Requirement
38
+ requirement: &70255205328360 !ruby/object:Gem::Requirement
145
39
  none: false
146
40
  requirements:
147
41
  - - ! '>='
@@ -149,15 +43,10 @@ dependencies:
149
43
  version: '0'
150
44
  type: :development
151
45
  prerelease: false
152
- version_requirements: !ruby/object:Gem::Requirement
153
- none: false
154
- requirements:
155
- - - ! '>='
156
- - !ruby/object:Gem::Version
157
- version: '0'
46
+ version_requirements: *70255205328360
158
47
  - !ruby/object:Gem::Dependency
159
48
  name: sinatra
160
- requirement: !ruby/object:Gem::Requirement
49
+ requirement: &70255205327620 !ruby/object:Gem::Requirement
161
50
  none: false
162
51
  requirements:
163
52
  - - ~>
@@ -165,15 +54,10 @@ dependencies:
165
54
  version: '1.0'
166
55
  type: :development
167
56
  prerelease: false
168
- version_requirements: !ruby/object:Gem::Requirement
169
- none: false
170
- requirements:
171
- - - ~>
172
- - !ruby/object:Gem::Version
173
- version: '1.0'
57
+ version_requirements: *70255205327620
174
58
  - !ruby/object:Gem::Dependency
175
59
  name: shotgun
176
- requirement: !ruby/object:Gem::Requirement
60
+ requirement: &70255205326900 !ruby/object:Gem::Requirement
177
61
  none: false
178
62
  requirements:
179
63
  - - ! '>='
@@ -181,15 +65,10 @@ dependencies:
181
65
  version: '0'
182
66
  type: :development
183
67
  prerelease: false
184
- version_requirements: !ruby/object:Gem::Requirement
185
- none: false
186
- requirements:
187
- - - ! '>='
188
- - !ruby/object:Gem::Version
189
- version: '0'
68
+ version_requirements: *70255205326900
190
69
  - !ruby/object:Gem::Dependency
191
70
  name: thin
192
- requirement: !ruby/object:Gem::Requirement
71
+ requirement: &70255205326360 !ruby/object:Gem::Requirement
193
72
  none: false
194
73
  requirements:
195
74
  - - ! '>='
@@ -197,15 +76,10 @@ dependencies:
197
76
  version: '0'
198
77
  type: :development
199
78
  prerelease: false
200
- version_requirements: !ruby/object:Gem::Requirement
201
- none: false
202
- requirements:
203
- - - ! '>='
204
- - !ruby/object:Gem::Version
205
- version: '0'
79
+ version_requirements: *70255205326360
206
80
  - !ruby/object:Gem::Dependency
207
81
  name: json
208
- requirement: !ruby/object:Gem::Requirement
82
+ requirement: &70255205325800 !ruby/object:Gem::Requirement
209
83
  none: false
210
84
  requirements:
211
85
  - - ! '>='
@@ -213,12 +87,7 @@ dependencies:
213
87
  version: '0'
214
88
  type: :development
215
89
  prerelease: false
216
- version_requirements: !ruby/object:Gem::Requirement
217
- none: false
218
- requirements:
219
- - - ! '>='
220
- - !ruby/object:Gem::Version
221
- version: '0'
90
+ version_requirements: *70255205325800
222
91
  description: Client Side Validations
223
92
  email:
224
93
  - bcardarella@gmail.com
@@ -248,104 +117,13 @@ files:
248
117
  - lib/client_side_validations/core_ext/regexp.rb
249
118
  - lib/client_side_validations/engine.rb
250
119
  - lib/client_side_validations/files.rb
251
- - lib/client_side_validations/formtastic.rb
252
120
  - lib/client_side_validations/middleware.rb
253
- - lib/client_side_validations/mongo_mapper.rb
254
- - lib/client_side_validations/mongo_mapper/middleware.rb
255
- - lib/client_side_validations/mongo_mapper/uniqueness.rb
256
- - lib/client_side_validations/mongoid.rb
257
- - lib/client_side_validations/mongoid/format.rb
258
- - lib/client_side_validations/mongoid/length.rb
259
- - lib/client_side_validations/mongoid/middleware.rb
260
- - lib/client_side_validations/mongoid/presence.rb
261
- - lib/client_side_validations/mongoid/uniqueness.rb
262
- - lib/client_side_validations/simple_form.rb
263
121
  - lib/client_side_validations/version.rb
264
122
  - lib/generators/client_side_validations/copy_asset_generator.rb
265
123
  - lib/generators/client_side_validations/install_generator.rb
266
- - lib/generators/templates/client_side_validations/README.rails.3.0
267
124
  - lib/generators/templates/client_side_validations/README.rails.3.1
268
125
  - lib/generators/templates/client_side_validations/initializer.rb
269
126
  - vendor/assets/javascripts/rails.validations.js
270
- - test/action_view/cases/helper.rb
271
- - test/action_view/cases/test_helpers.rb
272
- - test/action_view/cases/test_legacy_helpers.rb
273
- - test/action_view/models.rb
274
- - test/action_view/models/comment.rb
275
- - test/action_view/models/post.rb
276
- - test/active_model/cases/helper.rb
277
- - test/active_model/cases/test_acceptance_validator.rb
278
- - test/active_model/cases/test_base.rb
279
- - test/active_model/cases/test_confirmation_validator.rb
280
- - test/active_model/cases/test_exclusion_validator.rb
281
- - test/active_model/cases/test_format_validator.rb
282
- - test/active_model/cases/test_inclusion_validator.rb
283
- - test/active_model/cases/test_length_validator.rb
284
- - test/active_model/cases/test_numericality_validator.rb
285
- - test/active_model/cases/test_presence_validator.rb
286
- - test/active_model/cases/test_validations.rb
287
- - test/active_model/models/person.rb
288
- - test/active_record/cases/helper.rb
289
- - test/active_record/cases/test_base.rb
290
- - test/active_record/cases/test_middleware.rb
291
- - test/active_record/cases/test_uniqueness_validator.rb
292
- - test/active_record/models/guid.rb
293
- - test/active_record/models/user.rb
294
- - test/base_helper.rb
295
- - test/core_ext/cases/test_core_ext.rb
296
- - test/formtastic/cases/helper.rb
297
- - test/formtastic/cases/test_form_builder.rb
298
- - test/formtastic/cases/test_form_helper.rb
299
- - test/generators/cases/test_generators.rb
300
- - test/javascript/config.ru
301
- - test/javascript/public/test/callbacks/elementAfter.js
302
- - test/javascript/public/test/callbacks/elementBefore.js
303
- - test/javascript/public/test/callbacks/elementFail.js
304
- - test/javascript/public/test/callbacks/elementPass.js
305
- - test/javascript/public/test/callbacks/formAfter.js
306
- - test/javascript/public/test/callbacks/formBefore.js
307
- - test/javascript/public/test/callbacks/formFail.js
308
- - test/javascript/public/test/callbacks/formPass.js
309
- - test/javascript/public/test/form_builders/validateForm.js
310
- - test/javascript/public/test/form_builders/validateFormtastic.js
311
- - test/javascript/public/test/form_builders/validateNestedForm.js
312
- - test/javascript/public/test/form_builders/validateSimpleForm.js
313
- - test/javascript/public/test/settings.js
314
- - test/javascript/public/test/validateElement.js
315
- - test/javascript/public/test/validators/acceptance.js
316
- - test/javascript/public/test/validators/confirmation.js
317
- - test/javascript/public/test/validators/exclusion.js
318
- - test/javascript/public/test/validators/format.js
319
- - test/javascript/public/test/validators/inclusion.js
320
- - test/javascript/public/test/validators/length.js
321
- - test/javascript/public/test/validators/numericality.js
322
- - test/javascript/public/test/validators/presence.js
323
- - test/javascript/public/test/validators/uniqueness.js
324
- - test/javascript/public/vendor/jquery.metadata.js
325
- - test/javascript/public/vendor/qunit.css
326
- - test/javascript/public/vendor/qunit.js
327
- - test/javascript/server.rb
328
- - test/javascript/views/index.erb
329
- - test/javascript/views/layout.erb
330
- - test/middleware/cases/helper.rb
331
- - test/middleware/cases/test_middleware.rb
332
- - test/mongo_mapper/cases/helper.rb
333
- - test/mongo_mapper/cases/test_base.rb
334
- - test/mongo_mapper/cases/test_middleware.rb
335
- - test/mongo_mapper/cases/test_uniqueness_validator.rb
336
- - test/mongo_mapper/models/magazine.rb
337
- - test/mongoid/cases/helper.rb
338
- - test/mongoid/cases/test_base.rb
339
- - test/mongoid/cases/test_format_validator.rb
340
- - test/mongoid/cases/test_length_validator.rb
341
- - test/mongoid/cases/test_middleware.rb
342
- - test/mongoid/cases/test_presence_validator.rb
343
- - test/mongoid/cases/test_uniqueness_validator.rb
344
- - test/mongoid/models/book.rb
345
- - test/simple_form/cases/helper.rb
346
- - test/simple_form/cases/test_form_builder.rb
347
- - test/simple_form/cases/test_form_helper.rb
348
- - test/test_loader.rb
349
127
  homepage: https://github.com/bcardarella/client_side_validations
350
128
  licenses: []
351
129
  post_install_message:
@@ -358,101 +136,16 @@ required_ruby_version: !ruby/object:Gem::Requirement
358
136
  - - ! '>='
359
137
  - !ruby/object:Gem::Version
360
138
  version: '0'
361
- segments:
362
- - 0
363
- hash: -1444017508037657570
364
139
  required_rubygems_version: !ruby/object:Gem::Requirement
365
140
  none: false
366
141
  requirements:
367
- - - ! '>='
142
+ - - ! '>'
368
143
  - !ruby/object:Gem::Version
369
- version: '0'
370
- segments:
371
- - 0
372
- hash: -1444017508037657570
144
+ version: 1.3.1
373
145
  requirements: []
374
146
  rubyforge_project:
375
- rubygems_version: 1.8.23
147
+ rubygems_version: 1.8.10
376
148
  signing_key:
377
149
  specification_version: 3
378
150
  summary: Client Side Validations
379
- test_files:
380
- - test/action_view/cases/helper.rb
381
- - test/action_view/cases/test_helpers.rb
382
- - test/action_view/cases/test_legacy_helpers.rb
383
- - test/action_view/models.rb
384
- - test/action_view/models/comment.rb
385
- - test/action_view/models/post.rb
386
- - test/active_model/cases/helper.rb
387
- - test/active_model/cases/test_acceptance_validator.rb
388
- - test/active_model/cases/test_base.rb
389
- - test/active_model/cases/test_confirmation_validator.rb
390
- - test/active_model/cases/test_exclusion_validator.rb
391
- - test/active_model/cases/test_format_validator.rb
392
- - test/active_model/cases/test_inclusion_validator.rb
393
- - test/active_model/cases/test_length_validator.rb
394
- - test/active_model/cases/test_numericality_validator.rb
395
- - test/active_model/cases/test_presence_validator.rb
396
- - test/active_model/cases/test_validations.rb
397
- - test/active_model/models/person.rb
398
- - test/active_record/cases/helper.rb
399
- - test/active_record/cases/test_base.rb
400
- - test/active_record/cases/test_middleware.rb
401
- - test/active_record/cases/test_uniqueness_validator.rb
402
- - test/active_record/models/guid.rb
403
- - test/active_record/models/user.rb
404
- - test/base_helper.rb
405
- - test/core_ext/cases/test_core_ext.rb
406
- - test/formtastic/cases/helper.rb
407
- - test/formtastic/cases/test_form_builder.rb
408
- - test/formtastic/cases/test_form_helper.rb
409
- - test/generators/cases/test_generators.rb
410
- - test/javascript/config.ru
411
- - test/javascript/public/test/callbacks/elementAfter.js
412
- - test/javascript/public/test/callbacks/elementBefore.js
413
- - test/javascript/public/test/callbacks/elementFail.js
414
- - test/javascript/public/test/callbacks/elementPass.js
415
- - test/javascript/public/test/callbacks/formAfter.js
416
- - test/javascript/public/test/callbacks/formBefore.js
417
- - test/javascript/public/test/callbacks/formFail.js
418
- - test/javascript/public/test/callbacks/formPass.js
419
- - test/javascript/public/test/form_builders/validateForm.js
420
- - test/javascript/public/test/form_builders/validateFormtastic.js
421
- - test/javascript/public/test/form_builders/validateNestedForm.js
422
- - test/javascript/public/test/form_builders/validateSimpleForm.js
423
- - test/javascript/public/test/settings.js
424
- - test/javascript/public/test/validateElement.js
425
- - test/javascript/public/test/validators/acceptance.js
426
- - test/javascript/public/test/validators/confirmation.js
427
- - test/javascript/public/test/validators/exclusion.js
428
- - test/javascript/public/test/validators/format.js
429
- - test/javascript/public/test/validators/inclusion.js
430
- - test/javascript/public/test/validators/length.js
431
- - test/javascript/public/test/validators/numericality.js
432
- - test/javascript/public/test/validators/presence.js
433
- - test/javascript/public/test/validators/uniqueness.js
434
- - test/javascript/public/vendor/jquery.metadata.js
435
- - test/javascript/public/vendor/qunit.css
436
- - test/javascript/public/vendor/qunit.js
437
- - test/javascript/server.rb
438
- - test/javascript/views/index.erb
439
- - test/javascript/views/layout.erb
440
- - test/middleware/cases/helper.rb
441
- - test/middleware/cases/test_middleware.rb
442
- - test/mongo_mapper/cases/helper.rb
443
- - test/mongo_mapper/cases/test_base.rb
444
- - test/mongo_mapper/cases/test_middleware.rb
445
- - test/mongo_mapper/cases/test_uniqueness_validator.rb
446
- - test/mongo_mapper/models/magazine.rb
447
- - test/mongoid/cases/helper.rb
448
- - test/mongoid/cases/test_base.rb
449
- - test/mongoid/cases/test_format_validator.rb
450
- - test/mongoid/cases/test_length_validator.rb
451
- - test/mongoid/cases/test_middleware.rb
452
- - test/mongoid/cases/test_presence_validator.rb
453
- - test/mongoid/cases/test_uniqueness_validator.rb
454
- - test/mongoid/models/book.rb
455
- - test/simple_form/cases/helper.rb
456
- - test/simple_form/cases/test_form_builder.rb
457
- - test/simple_form/cases/test_form_helper.rb
458
- - test/test_loader.rb
151
+ test_files: []
@@ -1,21 +0,0 @@
1
- module ClientSideValidations
2
- module Formtastic
3
- module FormBuilder
4
-
5
- def self.included(base)
6
- base.class_eval do
7
- def self.client_side_form_settings(options, form_helper)
8
- {
9
- :type => self.to_s,
10
- :inline_error_class => ::Formtastic::FormBuilder.default_inline_error_class
11
- }
12
- end
13
- end
14
- end
15
-
16
- end
17
- end
18
- end
19
-
20
- Formtastic::FormBuilder.send(:include, ClientSideValidations::Formtastic::FormBuilder)
21
-