pcai_client_side_validations 3.1.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (39) hide show
  1. data/client_side_validations.gemspec +42 -0
  2. data/lib/client_side_validations.rb +13 -0
  3. data/lib/client_side_validations/action_view.rb +14 -0
  4. data/lib/client_side_validations/action_view/form_builder.rb +157 -0
  5. data/lib/client_side_validations/action_view/form_helper.rb +86 -0
  6. data/lib/client_side_validations/action_view/form_tag_helper.rb +12 -0
  7. data/lib/client_side_validations/active_model.rb +60 -0
  8. data/lib/client_side_validations/active_model/acceptance.rb +10 -0
  9. data/lib/client_side_validations/active_model/exclusion.rb +15 -0
  10. data/lib/client_side_validations/active_model/format.rb +10 -0
  11. data/lib/client_side_validations/active_model/inclusion.rb +15 -0
  12. data/lib/client_side_validations/active_model/length.rb +24 -0
  13. data/lib/client_side_validations/active_model/numericality.rb +31 -0
  14. data/lib/client_side_validations/active_model/presence.rb +10 -0
  15. data/lib/client_side_validations/active_record.rb +11 -0
  16. data/lib/client_side_validations/active_record/middleware.rb +33 -0
  17. data/lib/client_side_validations/active_record/uniqueness.rb +28 -0
  18. data/lib/client_side_validations/core_ext.rb +3 -0
  19. data/lib/client_side_validations/core_ext/range.rb +10 -0
  20. data/lib/client_side_validations/core_ext/regexp.rb +14 -0
  21. data/lib/client_side_validations/engine.rb +6 -0
  22. data/lib/client_side_validations/files.rb +8 -0
  23. data/lib/client_side_validations/formtastic.rb +21 -0
  24. data/lib/client_side_validations/middleware.rb +81 -0
  25. data/lib/client_side_validations/mongo_mapper.rb +9 -0
  26. data/lib/client_side_validations/mongo_mapper/middleware.rb +20 -0
  27. data/lib/client_side_validations/mongo_mapper/uniqueness.rb +28 -0
  28. data/lib/client_side_validations/mongoid.rb +9 -0
  29. data/lib/client_side_validations/mongoid/middleware.rb +20 -0
  30. data/lib/client_side_validations/mongoid/uniqueness.rb +28 -0
  31. data/lib/client_side_validations/simple_form.rb +24 -0
  32. data/lib/client_side_validations/version.rb +3 -0
  33. data/lib/generators/client_side_validations/copy_asset_generator.rb +36 -0
  34. data/lib/generators/client_side_validations/install_generator.rb +45 -0
  35. data/lib/generators/templates/client_side_validations/README.rails.3.0 +6 -0
  36. data/lib/generators/templates/client_side_validations/README.rails.3.1 +7 -0
  37. data/lib/generators/templates/client_side_validations/initializer.rb +14 -0
  38. data/vendor/assets/javascripts/rails.validations.js +410 -0
  39. metadata +226 -0
metadata ADDED
@@ -0,0 +1,226 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: pcai_client_side_validations
3
+ version: !ruby/object:Gem::Version
4
+ version: 3.1.5
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Brian Cardarella
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2012-05-26 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: rails
16
+ requirement: &22377516 !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ~>
20
+ - !ruby/object:Gem::Version
21
+ version: 3.1.0
22
+ type: :development
23
+ prerelease: false
24
+ version_requirements: *22377516
25
+ - !ruby/object:Gem::Dependency
26
+ name: sqlite3
27
+ requirement: &22377132 !ruby/object:Gem::Requirement
28
+ none: false
29
+ requirements:
30
+ - - ! '>='
31
+ - !ruby/object:Gem::Version
32
+ version: '0'
33
+ type: :development
34
+ prerelease: false
35
+ version_requirements: *22377132
36
+ - !ruby/object:Gem::Dependency
37
+ name: bson_ext
38
+ requirement: &22376352 !ruby/object:Gem::Requirement
39
+ none: false
40
+ requirements:
41
+ - - ! '>='
42
+ - !ruby/object:Gem::Version
43
+ version: '0'
44
+ type: :development
45
+ prerelease: false
46
+ version_requirements: *22376352
47
+ - !ruby/object:Gem::Dependency
48
+ name: mongoid
49
+ requirement: &22375956 !ruby/object:Gem::Requirement
50
+ none: false
51
+ requirements:
52
+ - - ~>
53
+ - !ruby/object:Gem::Version
54
+ version: 2.0.0
55
+ type: :development
56
+ prerelease: false
57
+ version_requirements: *22375956
58
+ - !ruby/object:Gem::Dependency
59
+ name: mongo_mapper
60
+ requirement: &22367424 !ruby/object:Gem::Requirement
61
+ none: false
62
+ requirements:
63
+ - - ~>
64
+ - !ruby/object:Gem::Version
65
+ version: 0.9.0
66
+ type: :development
67
+ prerelease: false
68
+ version_requirements: *22367424
69
+ - !ruby/object:Gem::Dependency
70
+ name: mocha
71
+ requirement: &22367112 !ruby/object:Gem::Requirement
72
+ none: false
73
+ requirements:
74
+ - - ! '>='
75
+ - !ruby/object:Gem::Version
76
+ version: '0'
77
+ type: :development
78
+ prerelease: false
79
+ version_requirements: *22367112
80
+ - !ruby/object:Gem::Dependency
81
+ name: simple_form
82
+ requirement: &22366788 !ruby/object:Gem::Requirement
83
+ none: false
84
+ requirements:
85
+ - - ~>
86
+ - !ruby/object:Gem::Version
87
+ version: 1.5.0
88
+ type: :development
89
+ prerelease: false
90
+ version_requirements: *22366788
91
+ - !ruby/object:Gem::Dependency
92
+ name: formtastic
93
+ requirement: &22366476 !ruby/object:Gem::Requirement
94
+ none: false
95
+ requirements:
96
+ - - ~>
97
+ - !ruby/object:Gem::Version
98
+ version: 2.0.0
99
+ type: :development
100
+ prerelease: false
101
+ version_requirements: *22366476
102
+ - !ruby/object:Gem::Dependency
103
+ name: sinatra
104
+ requirement: &22366152 !ruby/object:Gem::Requirement
105
+ none: false
106
+ requirements:
107
+ - - ~>
108
+ - !ruby/object:Gem::Version
109
+ version: '1.0'
110
+ type: :development
111
+ prerelease: false
112
+ version_requirements: *22366152
113
+ - !ruby/object:Gem::Dependency
114
+ name: shotgun
115
+ requirement: &22365924 !ruby/object:Gem::Requirement
116
+ none: false
117
+ requirements:
118
+ - - ! '>='
119
+ - !ruby/object:Gem::Version
120
+ version: '0'
121
+ type: :development
122
+ prerelease: false
123
+ version_requirements: *22365924
124
+ - !ruby/object:Gem::Dependency
125
+ name: thin
126
+ requirement: &22365648 !ruby/object:Gem::Requirement
127
+ none: false
128
+ requirements:
129
+ - - ! '>='
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: *22365648
135
+ - !ruby/object:Gem::Dependency
136
+ name: json
137
+ requirement: &22365396 !ruby/object:Gem::Requirement
138
+ none: false
139
+ requirements:
140
+ - - ! '>='
141
+ - !ruby/object:Gem::Version
142
+ version: '0'
143
+ type: :development
144
+ prerelease: false
145
+ version_requirements: *22365396
146
+ - !ruby/object:Gem::Dependency
147
+ name: ruby-debug19
148
+ requirement: &22365084 !ruby/object:Gem::Requirement
149
+ none: false
150
+ requirements:
151
+ - - ! '>='
152
+ - !ruby/object:Gem::Version
153
+ version: '0'
154
+ type: :development
155
+ prerelease: false
156
+ version_requirements: *22365084
157
+ description: Client Side Validations
158
+ email:
159
+ - bcardarella@gmail.com
160
+ executables: []
161
+ extensions: []
162
+ extra_rdoc_files: []
163
+ files:
164
+ - lib/client_side_validations/action_view/form_builder.rb
165
+ - lib/client_side_validations/action_view/form_helper.rb
166
+ - lib/client_side_validations/action_view/form_tag_helper.rb
167
+ - lib/client_side_validations/action_view.rb
168
+ - lib/client_side_validations/active_model/acceptance.rb
169
+ - lib/client_side_validations/active_model/exclusion.rb
170
+ - lib/client_side_validations/active_model/format.rb
171
+ - lib/client_side_validations/active_model/inclusion.rb
172
+ - lib/client_side_validations/active_model/length.rb
173
+ - lib/client_side_validations/active_model/numericality.rb
174
+ - lib/client_side_validations/active_model/presence.rb
175
+ - lib/client_side_validations/active_model.rb
176
+ - lib/client_side_validations/active_record/middleware.rb
177
+ - lib/client_side_validations/active_record/uniqueness.rb
178
+ - lib/client_side_validations/active_record.rb
179
+ - lib/client_side_validations/core_ext/range.rb
180
+ - lib/client_side_validations/core_ext/regexp.rb
181
+ - lib/client_side_validations/core_ext.rb
182
+ - lib/client_side_validations/engine.rb
183
+ - lib/client_side_validations/files.rb
184
+ - lib/client_side_validations/formtastic.rb
185
+ - lib/client_side_validations/middleware.rb
186
+ - lib/client_side_validations/mongoid/middleware.rb
187
+ - lib/client_side_validations/mongoid/uniqueness.rb
188
+ - lib/client_side_validations/mongoid.rb
189
+ - lib/client_side_validations/mongo_mapper/middleware.rb
190
+ - lib/client_side_validations/mongo_mapper/uniqueness.rb
191
+ - lib/client_side_validations/mongo_mapper.rb
192
+ - lib/client_side_validations/simple_form.rb
193
+ - lib/client_side_validations/version.rb
194
+ - lib/client_side_validations.rb
195
+ - lib/generators/client_side_validations/copy_asset_generator.rb
196
+ - lib/generators/client_side_validations/install_generator.rb
197
+ - lib/generators/templates/client_side_validations/initializer.rb
198
+ - lib/generators/templates/client_side_validations/README.rails.3.0
199
+ - lib/generators/templates/client_side_validations/README.rails.3.1
200
+ - vendor/assets/javascripts/rails.validations.js
201
+ - client_side_validations.gemspec
202
+ homepage: https://github.com/bcardarella/client_side_validations
203
+ licenses: []
204
+ post_install_message:
205
+ rdoc_options: []
206
+ require_paths:
207
+ - lib
208
+ required_ruby_version: !ruby/object:Gem::Requirement
209
+ none: false
210
+ requirements:
211
+ - - ! '>='
212
+ - !ruby/object:Gem::Version
213
+ version: '0'
214
+ required_rubygems_version: !ruby/object:Gem::Requirement
215
+ none: false
216
+ requirements:
217
+ - - ! '>='
218
+ - !ruby/object:Gem::Version
219
+ version: '0'
220
+ requirements: []
221
+ rubyforge_project:
222
+ rubygems_version: 1.8.16
223
+ signing_key:
224
+ specification_version: 3
225
+ summary: Client Side Validations
226
+ test_files: []