kharon 1.1.0 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -13
- data/{.rspec → .rspec.old} +0 -0
- data/Gemfile +1 -0
- data/Gemfile.lock +12 -4
- data/dist/kharon-1.1.0.gem +0 -0
- data/doc/Kharon.html +384 -6
- data/doc/Kharon/Errors.html +1 -1
- data/doc/Kharon/Errors/Validation.html +1 -1
- data/doc/Kharon/Handlers.html +1 -1
- data/doc/Kharon/Handlers/Exceptions.html +1 -1
- data/doc/Kharon/Handlers/Messages.html +1 -1
- data/doc/Kharon/Processor.html +425 -0
- data/doc/Kharon/Processors.html +144 -0
- data/doc/Kharon/Processors/ArrayProcessor.html +429 -0
- data/doc/Kharon/Processors/BooleanProcessor.html +306 -0
- data/doc/Kharon/Processors/BoxProcessor.html +440 -0
- data/doc/Kharon/Processors/DateProcessor.html +306 -0
- data/doc/Kharon/Processors/DatetimeProcessor.html +306 -0
- data/doc/Kharon/Processors/EmailProcessor.html +307 -0
- data/doc/Kharon/Processors/HashProcessor.html +431 -0
- data/doc/Kharon/Processors/IntegerProcessor.html +441 -0
- data/doc/Kharon/Processors/NumericProcessor.html +463 -0
- data/doc/Kharon/Processors/SSIDProcessor.html +307 -0
- data/doc/Kharon/Processors/TextProcessor.html +430 -0
- data/doc/Kharon/Validate.html +17 -5
- data/doc/Kharon/Validator.html +198 -1194
- data/doc/_index.html +159 -1
- data/doc/class_list.html +1 -1
- data/doc/file.README.html +15 -4
- data/doc/index.html +15 -4
- data/doc/method_list.html +135 -39
- data/doc/top-level-namespace.html +1 -1
- data/kharon.gemspec +4 -2
- data/lib/kharon.rb +32 -2
- data/lib/kharon/processor.rb +162 -0
- data/lib/kharon/processors.rb +6 -0
- data/lib/kharon/processors/array_processor.rb +30 -0
- data/lib/kharon/processors/boolean_processor.rb +31 -0
- data/lib/kharon/processors/box_processor.rb +63 -0
- data/lib/kharon/processors/date_processor.rb +21 -0
- data/lib/kharon/processors/datetime_processor.rb +21 -0
- data/lib/kharon/processors/email_processor.rb +21 -0
- data/lib/kharon/processors/hash_processor.rb +31 -0
- data/lib/kharon/processors/integer_processor.rb +55 -0
- data/lib/kharon/processors/numeric_processor.rb +66 -0
- data/lib/kharon/processors/ssid_processor.rb +21 -0
- data/lib/kharon/processors/text_processor.rb +30 -0
- data/lib/kharon/validate.rb +1 -1
- data/lib/kharon/validator.rb +26 -390
- data/lib/kharon/version.rb +1 -1
- data/spec/results.html +5277 -321
- metadata +69 -28
data/doc/_index.html
CHANGED
@@ -80,10 +80,76 @@
|
|
80
80
|
<td valign='top' width="33%">
|
81
81
|
|
82
82
|
|
83
|
+
<ul id="alpha_A" class="alpha">
|
84
|
+
<li class="letter">A</li>
|
85
|
+
<ul>
|
86
|
+
|
87
|
+
<li>
|
88
|
+
<span class='object_link'><a href="Kharon/Processors/ArrayProcessor.html" title="Kharon::Processors::ArrayProcessor (class)">ArrayProcessor</a></span>
|
89
|
+
|
90
|
+
<small>(Kharon::Processors)</small>
|
91
|
+
|
92
|
+
</li>
|
93
|
+
|
94
|
+
</ul>
|
95
|
+
</ul>
|
96
|
+
|
97
|
+
|
98
|
+
<ul id="alpha_B" class="alpha">
|
99
|
+
<li class="letter">B</li>
|
100
|
+
<ul>
|
101
|
+
|
102
|
+
<li>
|
103
|
+
<span class='object_link'><a href="Kharon/Processors/BooleanProcessor.html" title="Kharon::Processors::BooleanProcessor (class)">BooleanProcessor</a></span>
|
104
|
+
|
105
|
+
<small>(Kharon::Processors)</small>
|
106
|
+
|
107
|
+
</li>
|
108
|
+
|
109
|
+
<li>
|
110
|
+
<span class='object_link'><a href="Kharon/Processors/BoxProcessor.html" title="Kharon::Processors::BoxProcessor (class)">BoxProcessor</a></span>
|
111
|
+
|
112
|
+
<small>(Kharon::Processors)</small>
|
113
|
+
|
114
|
+
</li>
|
115
|
+
|
116
|
+
</ul>
|
117
|
+
</ul>
|
118
|
+
|
119
|
+
|
120
|
+
<ul id="alpha_D" class="alpha">
|
121
|
+
<li class="letter">D</li>
|
122
|
+
<ul>
|
123
|
+
|
124
|
+
<li>
|
125
|
+
<span class='object_link'><a href="Kharon/Processors/DateProcessor.html" title="Kharon::Processors::DateProcessor (class)">DateProcessor</a></span>
|
126
|
+
|
127
|
+
<small>(Kharon::Processors)</small>
|
128
|
+
|
129
|
+
</li>
|
130
|
+
|
131
|
+
<li>
|
132
|
+
<span class='object_link'><a href="Kharon/Processors/DatetimeProcessor.html" title="Kharon::Processors::DatetimeProcessor (class)">DatetimeProcessor</a></span>
|
133
|
+
|
134
|
+
<small>(Kharon::Processors)</small>
|
135
|
+
|
136
|
+
</li>
|
137
|
+
|
138
|
+
</ul>
|
139
|
+
</ul>
|
140
|
+
|
141
|
+
|
83
142
|
<ul id="alpha_E" class="alpha">
|
84
143
|
<li class="letter">E</li>
|
85
144
|
<ul>
|
86
145
|
|
146
|
+
<li>
|
147
|
+
<span class='object_link'><a href="Kharon/Processors/EmailProcessor.html" title="Kharon::Processors::EmailProcessor (class)">EmailProcessor</a></span>
|
148
|
+
|
149
|
+
<small>(Kharon::Processors)</small>
|
150
|
+
|
151
|
+
</li>
|
152
|
+
|
87
153
|
<li>
|
88
154
|
<span class='object_link'><a href="Kharon/Errors.html" title="Kharon::Errors (module)">Errors</a></span>
|
89
155
|
|
@@ -113,6 +179,28 @@
|
|
113
179
|
|
114
180
|
</li>
|
115
181
|
|
182
|
+
<li>
|
183
|
+
<span class='object_link'><a href="Kharon/Processors/HashProcessor.html" title="Kharon::Processors::HashProcessor (class)">HashProcessor</a></span>
|
184
|
+
|
185
|
+
<small>(Kharon::Processors)</small>
|
186
|
+
|
187
|
+
</li>
|
188
|
+
|
189
|
+
</ul>
|
190
|
+
</ul>
|
191
|
+
|
192
|
+
|
193
|
+
<ul id="alpha_I" class="alpha">
|
194
|
+
<li class="letter">I</li>
|
195
|
+
<ul>
|
196
|
+
|
197
|
+
<li>
|
198
|
+
<span class='object_link'><a href="Kharon/Processors/IntegerProcessor.html" title="Kharon::Processors::IntegerProcessor (class)">IntegerProcessor</a></span>
|
199
|
+
|
200
|
+
<small>(Kharon::Processors)</small>
|
201
|
+
|
202
|
+
</li>
|
203
|
+
|
116
204
|
</ul>
|
117
205
|
</ul>
|
118
206
|
|
@@ -130,6 +218,9 @@
|
|
130
218
|
</ul>
|
131
219
|
|
132
220
|
|
221
|
+
</td><td valign='top' width="33%">
|
222
|
+
|
223
|
+
|
133
224
|
<ul id="alpha_M" class="alpha">
|
134
225
|
<li class="letter">M</li>
|
135
226
|
<ul>
|
@@ -145,6 +236,73 @@
|
|
145
236
|
</ul>
|
146
237
|
|
147
238
|
|
239
|
+
<ul id="alpha_N" class="alpha">
|
240
|
+
<li class="letter">N</li>
|
241
|
+
<ul>
|
242
|
+
|
243
|
+
<li>
|
244
|
+
<span class='object_link'><a href="Kharon/Processors/NumericProcessor.html" title="Kharon::Processors::NumericProcessor (class)">NumericProcessor</a></span>
|
245
|
+
|
246
|
+
<small>(Kharon::Processors)</small>
|
247
|
+
|
248
|
+
</li>
|
249
|
+
|
250
|
+
</ul>
|
251
|
+
</ul>
|
252
|
+
|
253
|
+
|
254
|
+
<ul id="alpha_P" class="alpha">
|
255
|
+
<li class="letter">P</li>
|
256
|
+
<ul>
|
257
|
+
|
258
|
+
<li>
|
259
|
+
<span class='object_link'><a href="Kharon/Processor.html" title="Kharon::Processor (class)">Processor</a></span>
|
260
|
+
|
261
|
+
<small>(Kharon)</small>
|
262
|
+
|
263
|
+
</li>
|
264
|
+
|
265
|
+
<li>
|
266
|
+
<span class='object_link'><a href="Kharon/Processors.html" title="Kharon::Processors (module)">Processors</a></span>
|
267
|
+
|
268
|
+
<small>(Kharon)</small>
|
269
|
+
|
270
|
+
</li>
|
271
|
+
|
272
|
+
</ul>
|
273
|
+
</ul>
|
274
|
+
|
275
|
+
|
276
|
+
<ul id="alpha_S" class="alpha">
|
277
|
+
<li class="letter">S</li>
|
278
|
+
<ul>
|
279
|
+
|
280
|
+
<li>
|
281
|
+
<span class='object_link'><a href="Kharon/Processors/SSIDProcessor.html" title="Kharon::Processors::SSIDProcessor (class)">SSIDProcessor</a></span>
|
282
|
+
|
283
|
+
<small>(Kharon::Processors)</small>
|
284
|
+
|
285
|
+
</li>
|
286
|
+
|
287
|
+
</ul>
|
288
|
+
</ul>
|
289
|
+
|
290
|
+
|
291
|
+
<ul id="alpha_T" class="alpha">
|
292
|
+
<li class="letter">T</li>
|
293
|
+
<ul>
|
294
|
+
|
295
|
+
<li>
|
296
|
+
<span class='object_link'><a href="Kharon/Processors/TextProcessor.html" title="Kharon::Processors::TextProcessor (class)">TextProcessor</a></span>
|
297
|
+
|
298
|
+
<small>(Kharon::Processors)</small>
|
299
|
+
|
300
|
+
</li>
|
301
|
+
|
302
|
+
</ul>
|
303
|
+
</ul>
|
304
|
+
|
305
|
+
|
148
306
|
<ul id="alpha_V" class="alpha">
|
149
307
|
<li class="letter">V</li>
|
150
308
|
<ul>
|
@@ -182,7 +340,7 @@
|
|
182
340
|
</div>
|
183
341
|
|
184
342
|
<div id="footer">
|
185
|
-
Generated on
|
343
|
+
Generated on Thu Jun 2 16:20:54 2016 by
|
186
344
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
187
345
|
0.8.7.6 (ruby-1.9.3).
|
188
346
|
</div>
|
data/doc/class_list.html
CHANGED
@@ -50,7 +50,7 @@
|
|
50
50
|
|
51
51
|
<ul id="full_list" class="class">
|
52
52
|
<li><span class='object_link'><a href="top-level-namespace.html" title="Top Level Namespace (root)">Top Level Namespace</a></span></li>
|
53
|
-
<li><a class='toggle'></a> <span class='object_link'><a href="Kharon.html" title="Kharon (module)">Kharon</a></span><small class='search_info'>Top Level Namespace</small></li><ul><li><a class='toggle'></a> <span class='object_link'><a href="Kharon/Errors.html" title="Kharon::Errors (module)">Errors</a></span><small class='search_info'>Kharon</small></li><ul><li><span class='object_link'><a href="Kharon/Errors/Validation.html" title="Kharon::Errors::Validation (class)">Validation</a></span> < Exception<small class='search_info'>Kharon::Errors</small></li></ul><li><a class='toggle'></a> <span class='object_link'><a href="Kharon/Handlers.html" title="Kharon::Handlers (module)">Handlers</a></span><small class='search_info'>Kharon</small></li><ul><li><span class='object_link'><a href="Kharon/Handlers/Exceptions.html" title="Kharon::Handlers::Exceptions (class)">Exceptions</a></span> < Object<small class='search_info'>Kharon::Handlers</small></li><li><span class='object_link'><a href="Kharon/Handlers/Messages.html" title="Kharon::Handlers::Messages (class)">Messages</a></span> < Object<small class='search_info'>Kharon::Handlers</small></li></ul><li><span class='object_link'><a href="Kharon/Validate.html" title="Kharon::Validate (module)">Validate</a></span><small class='search_info'>Kharon</small></li><li><span class='object_link'><a href="Kharon/Validator.html" title="Kharon::Validator (class)">Validator</a></span> < Object<small class='search_info'>Kharon</small></li></ul>
|
53
|
+
<li><a class='toggle'></a> <span class='object_link'><a href="Kharon.html" title="Kharon (module)">Kharon</a></span><small class='search_info'>Top Level Namespace</small></li><ul><li><a class='toggle'></a> <span class='object_link'><a href="Kharon/Errors.html" title="Kharon::Errors (module)">Errors</a></span><small class='search_info'>Kharon</small></li><ul><li><span class='object_link'><a href="Kharon/Errors/Validation.html" title="Kharon::Errors::Validation (class)">Validation</a></span> < Exception<small class='search_info'>Kharon::Errors</small></li></ul><li><a class='toggle'></a> <span class='object_link'><a href="Kharon/Handlers.html" title="Kharon::Handlers (module)">Handlers</a></span><small class='search_info'>Kharon</small></li><ul><li><span class='object_link'><a href="Kharon/Handlers/Exceptions.html" title="Kharon::Handlers::Exceptions (class)">Exceptions</a></span> < Object<small class='search_info'>Kharon::Handlers</small></li><li><span class='object_link'><a href="Kharon/Handlers/Messages.html" title="Kharon::Handlers::Messages (class)">Messages</a></span> < Object<small class='search_info'>Kharon::Handlers</small></li></ul><li><span class='object_link'><a href="Kharon/Processor.html" title="Kharon::Processor (class)">Processor</a></span> < Object<small class='search_info'>Kharon</small></li><li><a class='toggle'></a> <span class='object_link'><a href="Kharon/Processors.html" title="Kharon::Processors (module)">Processors</a></span><small class='search_info'>Kharon</small></li><ul><li><span class='object_link'><a href="Kharon/Processors/ArrayProcessor.html" title="Kharon::Processors::ArrayProcessor (class)">ArrayProcessor</a></span> < Processor<small class='search_info'>Kharon::Processors</small></li><li><span class='object_link'><a href="Kharon/Processors/BooleanProcessor.html" title="Kharon::Processors::BooleanProcessor (class)">BooleanProcessor</a></span> < Processor<small class='search_info'>Kharon::Processors</small></li><li><span class='object_link'><a href="Kharon/Processors/BoxProcessor.html" title="Kharon::Processors::BoxProcessor (class)">BoxProcessor</a></span> < Processor<small class='search_info'>Kharon::Processors</small></li><li><span class='object_link'><a href="Kharon/Processors/DateProcessor.html" title="Kharon::Processors::DateProcessor (class)">DateProcessor</a></span> < Processor<small class='search_info'>Kharon::Processors</small></li><li><span class='object_link'><a href="Kharon/Processors/DatetimeProcessor.html" title="Kharon::Processors::DatetimeProcessor (class)">DatetimeProcessor</a></span> < Processor<small class='search_info'>Kharon::Processors</small></li><li><span class='object_link'><a href="Kharon/Processors/EmailProcessor.html" title="Kharon::Processors::EmailProcessor (class)">EmailProcessor</a></span> < Processor<small class='search_info'>Kharon::Processors</small></li><li><span class='object_link'><a href="Kharon/Processors/HashProcessor.html" title="Kharon::Processors::HashProcessor (class)">HashProcessor</a></span> < Processor<small class='search_info'>Kharon::Processors</small></li><li><span class='object_link'><a href="Kharon/Processors/IntegerProcessor.html" title="Kharon::Processors::IntegerProcessor (class)">IntegerProcessor</a></span> < Processor<small class='search_info'>Kharon::Processors</small></li><li><span class='object_link'><a href="Kharon/Processors/NumericProcessor.html" title="Kharon::Processors::NumericProcessor (class)">NumericProcessor</a></span> < Processor<small class='search_info'>Kharon::Processors</small></li><li><span class='object_link'><a href="Kharon/Processors/SSIDProcessor.html" title="Kharon::Processors::SSIDProcessor (class)">SSIDProcessor</a></span> < Processor<small class='search_info'>Kharon::Processors</small></li><li><span class='object_link'><a href="Kharon/Processors/TextProcessor.html" title="Kharon::Processors::TextProcessor (class)">TextProcessor</a></span> < Processor<small class='search_info'>Kharon::Processors</small></li></ul><li><span class='object_link'><a href="Kharon/Validate.html" title="Kharon::Validate (module)">Validate</a></span><small class='search_info'>Kharon</small></li><li><span class='object_link'><a href="Kharon/Validator.html" title="Kharon::Validator (class)">Validator</a></span> < Object<small class='search_info'>Kharon</small></li></ul>
|
54
54
|
|
55
55
|
</ul>
|
56
56
|
</div>
|
data/doc/file.README.html
CHANGED
@@ -150,10 +150,12 @@
|
|
150
150
|
|
151
151
|
<p>Now your validator knows which hash it has to validate, now you can do :</p>
|
152
152
|
|
153
|
-
<pre class="code ruby"><code class="ruby"><span class='comment'># Sees if the
|
154
|
-
</span><span class='id identifier rubyid_validator'>validator</span><span class='period'>.</span><span class='id identifier rubyid_integer'>integer</span><span class='lparen'>(</span><span class='
|
153
|
+
<pre class="code ruby"><code class="ruby"><span class='comment'># Sees if the :required_integer_key key is present, and an integer
|
154
|
+
</span><span class='id identifier rubyid_validator'>validator</span><span class='period'>.</span><span class='id identifier rubyid_integer'>integer</span><span class='lparen'>(</span><span class='symbol'>:required_integer_key</span><span class='comma'>,</span> <span class='label'>required:</span> <span class='kw'>true</span><span class='rparen'>)</span>
|
155
155
|
</code></pre>
|
156
156
|
|
157
|
+
<p>Note: all keys are converted in symbols, and you must use symbols in all method calls on a validator.</p>
|
158
|
+
|
157
159
|
<p>All the functions are listed in the full documentation below.</p>
|
158
160
|
|
159
161
|
<h3>The helper</h3>
|
@@ -287,7 +289,16 @@ The value of this option must be passed as a box. When given, this option indica
|
|
287
289
|
|
288
290
|
In Kharon, errors are formatted in a particular way. Each error contains a hash (or associative array) describing its type, and giving special caracteristics if necessary.
|
289
291
|
|
290
|
-
####
|
292
|
+
#### standard error
|
293
|
+
|
294
|
+
This error is the one raised when an error occurs that has nothing to deal with the validation itself. It's mainly raised when a ruby errors occurs. It's formatted as followed :
|
295
|
+
|
296
|
+
- type: always has the value "standard"
|
297
|
+
- exception: the type of the exception
|
298
|
+
- message: the formatted message for the exception
|
299
|
+
- backtrace: the whole backtrace for the exception
|
300
|
+
|
301
|
+
#### type error
|
291
302
|
|
292
303
|
The most common error. It's raised when a type is expected for a key, and the given type for this key is different. It's formatted as followed :
|
293
304
|
|
@@ -389,7 +400,7 @@ Yes, it works, unit tests results can be found here : {file:doc/results.html res
|
|
389
400
|
</div></div>
|
390
401
|
|
391
402
|
<div id="footer">
|
392
|
-
Generated on
|
403
|
+
Generated on Thu Jun 2 16:20:54 2016 by
|
393
404
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
394
405
|
0.8.7.6 (ruby-1.9.3).
|
395
406
|
</div>
|
data/doc/index.html
CHANGED
@@ -150,10 +150,12 @@
|
|
150
150
|
|
151
151
|
<p>Now your validator knows which hash it has to validate, now you can do :</p>
|
152
152
|
|
153
|
-
<pre class="code ruby"><code class="ruby"><span class='comment'># Sees if the
|
154
|
-
</span><span class='id identifier rubyid_validator'>validator</span><span class='period'>.</span><span class='id identifier rubyid_integer'>integer</span><span class='lparen'>(</span><span class='
|
153
|
+
<pre class="code ruby"><code class="ruby"><span class='comment'># Sees if the :required_integer_key key is present, and an integer
|
154
|
+
</span><span class='id identifier rubyid_validator'>validator</span><span class='period'>.</span><span class='id identifier rubyid_integer'>integer</span><span class='lparen'>(</span><span class='symbol'>:required_integer_key</span><span class='comma'>,</span> <span class='label'>required:</span> <span class='kw'>true</span><span class='rparen'>)</span>
|
155
155
|
</code></pre>
|
156
156
|
|
157
|
+
<p>Note: all keys are converted in symbols, and you must use symbols in all method calls on a validator.</p>
|
158
|
+
|
157
159
|
<p>All the functions are listed in the full documentation below.</p>
|
158
160
|
|
159
161
|
<h3>The helper</h3>
|
@@ -287,7 +289,16 @@ The value of this option must be passed as a box. When given, this option indica
|
|
287
289
|
|
288
290
|
In Kharon, errors are formatted in a particular way. Each error contains a hash (or associative array) describing its type, and giving special caracteristics if necessary.
|
289
291
|
|
290
|
-
####
|
292
|
+
#### standard error
|
293
|
+
|
294
|
+
This error is the one raised when an error occurs that has nothing to deal with the validation itself. It's mainly raised when a ruby errors occurs. It's formatted as followed :
|
295
|
+
|
296
|
+
- type: always has the value "standard"
|
297
|
+
- exception: the type of the exception
|
298
|
+
- message: the formatted message for the exception
|
299
|
+
- backtrace: the whole backtrace for the exception
|
300
|
+
|
301
|
+
#### type error
|
291
302
|
|
292
303
|
The most common error. It's raised when a type is expected for a key, and the given type for this key is different. It's formatted as followed :
|
293
304
|
|
@@ -389,7 +400,7 @@ Yes, it works, unit tests results can be found here : {file:doc/results.html res
|
|
389
400
|
</div></div>
|
390
401
|
|
391
402
|
<div id="footer">
|
392
|
-
Generated on
|
403
|
+
Generated on Thu Jun 2 16:20:54 2016 by
|
393
404
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
394
405
|
0.8.7.6 (ruby-1.9.3).
|
395
406
|
</div>
|
data/doc/method_list.html
CHANGED
@@ -52,161 +52,257 @@
|
|
52
52
|
|
53
53
|
|
54
54
|
<li class="r1 ">
|
55
|
-
<span class='object_link'><a href="Kharon
|
56
|
-
<small>Kharon
|
55
|
+
<span class='object_link'><a href="Kharon.html#add_processor-class_method" title="Kharon.add_processor (method)">add_processor</a></span>
|
56
|
+
<small>Kharon</small>
|
57
57
|
</li>
|
58
58
|
|
59
59
|
|
60
60
|
<li class="r2 ">
|
61
|
-
<span class='object_link'><a href="Kharon/Validator.html#
|
61
|
+
<span class='object_link'><a href="Kharon/Validator.html#datas-instance_method" title="Kharon::Validator#datas (method)">#datas</a></span>
|
62
62
|
<small>Kharon::Validator</small>
|
63
63
|
</li>
|
64
64
|
|
65
65
|
|
66
66
|
<li class="r1 ">
|
67
|
-
<span class='object_link'><a href="Kharon/
|
68
|
-
<small>Kharon::
|
67
|
+
<span class='object_link'><a href="Kharon/Errors/Validation.html#error_hash-instance_method" title="Kharon::Errors::Validation#error_hash (method)">#error_hash</a></span>
|
68
|
+
<small>Kharon::Errors::Validation</small>
|
69
69
|
</li>
|
70
70
|
|
71
71
|
|
72
72
|
<li class="r2 ">
|
73
|
-
<span class='object_link'><a href="Kharon/
|
73
|
+
<span class='object_link'><a href="Kharon/Handlers/Messages.html#errors-instance_method" title="Kharon::Handlers::Messages#errors (method)">#errors</a></span>
|
74
|
+
<small>Kharon::Handlers::Messages</small>
|
75
|
+
</li>
|
76
|
+
|
77
|
+
|
78
|
+
<li class="r1 ">
|
79
|
+
<span class='object_link'><a href="Kharon.html#errors_handler-class_method" title="Kharon.errors_handler (method)">errors_handler</a></span>
|
80
|
+
<small>Kharon</small>
|
81
|
+
</li>
|
82
|
+
|
83
|
+
|
84
|
+
<li class="r2 ">
|
85
|
+
<span class='object_link'><a href="Kharon/Validator.html#filtered-instance_method" title="Kharon::Validator#filtered (method)">#filtered</a></span>
|
74
86
|
<small>Kharon::Validator</small>
|
75
87
|
</li>
|
76
88
|
|
77
89
|
|
78
90
|
<li class="r1 ">
|
79
|
-
<span class='object_link'><a href="Kharon/Validator.html#
|
91
|
+
<span class='object_link'><a href="Kharon/Validator.html#handler-instance_method" title="Kharon::Validator#handler (method)">#handler</a></span>
|
80
92
|
<small>Kharon::Validator</small>
|
81
93
|
</li>
|
82
94
|
|
83
95
|
|
84
96
|
<li class="r2 ">
|
85
|
-
<span class='object_link'><a href="Kharon
|
97
|
+
<span class='object_link'><a href="Kharon.html#has_processor%3F-class_method" title="Kharon.has_processor? (method)">has_processor?</a></span>
|
98
|
+
<small>Kharon</small>
|
99
|
+
</li>
|
100
|
+
|
101
|
+
|
102
|
+
<li class="r1 ">
|
103
|
+
<span class='object_link'><a href="Kharon/Validator.html#hash-instance_method" title="Kharon::Validator#hash (method)">#hash</a></span>
|
86
104
|
<small>Kharon::Validator</small>
|
87
105
|
</li>
|
88
106
|
|
89
107
|
|
108
|
+
<li class="r2 ">
|
109
|
+
<span class='object_link'><a href="Kharon/Processor.html#initialize-instance_method" title="Kharon::Processor#initialize (method)">#initialize</a></span>
|
110
|
+
<small>Kharon::Processor</small>
|
111
|
+
</li>
|
112
|
+
|
113
|
+
|
90
114
|
<li class="r1 ">
|
91
|
-
<span class='object_link'><a href="Kharon/
|
115
|
+
<span class='object_link'><a href="Kharon/Handlers/Messages.html#initialize-instance_method" title="Kharon::Handlers::Messages#initialize (method)">#initialize</a></span>
|
116
|
+
<small>Kharon::Handlers::Messages</small>
|
117
|
+
</li>
|
118
|
+
|
119
|
+
|
120
|
+
<li class="r2 ">
|
121
|
+
<span class='object_link'><a href="Kharon/Errors/Validation.html#initialize-instance_method" title="Kharon::Errors::Validation#initialize (method)">#initialize</a></span>
|
122
|
+
<small>Kharon::Errors::Validation</small>
|
123
|
+
</li>
|
124
|
+
|
125
|
+
|
126
|
+
<li class="r1 ">
|
127
|
+
<span class='object_link'><a href="Kharon/Validator.html#initialize-instance_method" title="Kharon::Validator#initialize (method)">#initialize</a></span>
|
92
128
|
<small>Kharon::Validator</small>
|
93
129
|
</li>
|
94
130
|
|
95
131
|
|
96
132
|
<li class="r2 ">
|
97
|
-
<span class='object_link'><a href="Kharon/
|
133
|
+
<span class='object_link'><a href="Kharon/Errors/Validation.html#message-instance_method" title="Kharon::Errors::Validation#message (method)">#message</a></span>
|
134
|
+
<small>Kharon::Errors::Validation</small>
|
135
|
+
</li>
|
136
|
+
|
137
|
+
|
138
|
+
<li class="r1 ">
|
139
|
+
<span class='object_link'><a href="Kharon/Validator.html#method_missing-instance_method" title="Kharon::Validator#method_missing (method)">#method_missing</a></span>
|
98
140
|
<small>Kharon::Validator</small>
|
99
141
|
</li>
|
100
142
|
|
101
143
|
|
144
|
+
<li class="r2 ">
|
145
|
+
<span class='object_link'><a href="Kharon/Processors/HashProcessor.html#process-instance_method" title="Kharon::Processors::HashProcessor#process (method)">#process</a></span>
|
146
|
+
<small>Kharon::Processors::HashProcessor</small>
|
147
|
+
</li>
|
148
|
+
|
149
|
+
|
102
150
|
<li class="r1 ">
|
103
|
-
<span class='object_link'><a href="Kharon/
|
104
|
-
<small>Kharon::
|
151
|
+
<span class='object_link'><a href="Kharon/Processors/IntegerProcessor.html#process-instance_method" title="Kharon::Processors::IntegerProcessor#process (method)">#process</a></span>
|
152
|
+
<small>Kharon::Processors::IntegerProcessor</small>
|
105
153
|
</li>
|
106
154
|
|
107
155
|
|
108
156
|
<li class="r2 ">
|
109
|
-
<span class='object_link'><a href="Kharon/
|
110
|
-
<small>Kharon::
|
157
|
+
<span class='object_link'><a href="Kharon/Processors/EmailProcessor.html#process-instance_method" title="Kharon::Processors::EmailProcessor#process (method)">#process</a></span>
|
158
|
+
<small>Kharon::Processors::EmailProcessor</small>
|
111
159
|
</li>
|
112
160
|
|
113
161
|
|
114
162
|
<li class="r1 ">
|
115
|
-
<span class='object_link'><a href="Kharon.html#
|
116
|
-
<small>Kharon</small>
|
163
|
+
<span class='object_link'><a href="Kharon/Processors/BooleanProcessor.html#process-instance_method" title="Kharon::Processors::BooleanProcessor#process (method)">#process</a></span>
|
164
|
+
<small>Kharon::Processors::BooleanProcessor</small>
|
117
165
|
</li>
|
118
166
|
|
119
167
|
|
120
168
|
<li class="r2 ">
|
121
|
-
<span class='object_link'><a href="Kharon/
|
122
|
-
<small>Kharon::
|
169
|
+
<span class='object_link'><a href="Kharon/Processors/TextProcessor.html#process-instance_method" title="Kharon::Processors::TextProcessor#process (method)">#process</a></span>
|
170
|
+
<small>Kharon::Processors::TextProcessor</small>
|
123
171
|
</li>
|
124
172
|
|
125
173
|
|
126
174
|
<li class="r1 ">
|
127
|
-
<span class='object_link'><a href="Kharon/
|
128
|
-
<small>Kharon::
|
175
|
+
<span class='object_link'><a href="Kharon/Processors/NumericProcessor.html#process-instance_method" title="Kharon::Processors::NumericProcessor#process (method)">#process</a></span>
|
176
|
+
<small>Kharon::Processors::NumericProcessor</small>
|
129
177
|
</li>
|
130
178
|
|
131
179
|
|
132
180
|
<li class="r2 ">
|
133
|
-
<span class='object_link'><a href="Kharon/
|
134
|
-
<small>Kharon::
|
181
|
+
<span class='object_link'><a href="Kharon/Processors/SSIDProcessor.html#process-instance_method" title="Kharon::Processors::SSIDProcessor#process (method)">#process</a></span>
|
182
|
+
<small>Kharon::Processors::SSIDProcessor</small>
|
135
183
|
</li>
|
136
184
|
|
137
185
|
|
138
186
|
<li class="r1 ">
|
139
|
-
<span class='object_link'><a href="Kharon/
|
140
|
-
<small>Kharon::
|
187
|
+
<span class='object_link'><a href="Kharon/Processor.html#process-instance_method" title="Kharon::Processor#process (method)">#process</a></span>
|
188
|
+
<small>Kharon::Processor</small>
|
141
189
|
</li>
|
142
190
|
|
143
191
|
|
144
192
|
<li class="r2 ">
|
145
|
-
<span class='object_link'><a href="Kharon/
|
146
|
-
<small>Kharon::
|
193
|
+
<span class='object_link'><a href="Kharon/Processors/ArrayProcessor.html#process-instance_method" title="Kharon::Processors::ArrayProcessor#process (method)">#process</a></span>
|
194
|
+
<small>Kharon::Processors::ArrayProcessor</small>
|
147
195
|
</li>
|
148
196
|
|
149
197
|
|
150
198
|
<li class="r1 ">
|
151
|
-
<span class='object_link'><a href="Kharon/
|
152
|
-
<small>Kharon::
|
199
|
+
<span class='object_link'><a href="Kharon/Processors/DateProcessor.html#process-instance_method" title="Kharon::Processors::DateProcessor#process (method)">#process</a></span>
|
200
|
+
<small>Kharon::Processors::DateProcessor</small>
|
153
201
|
</li>
|
154
202
|
|
155
203
|
|
156
204
|
<li class="r2 ">
|
157
|
-
<span class='object_link'><a href="Kharon/
|
158
|
-
<small>Kharon::
|
205
|
+
<span class='object_link'><a href="Kharon/Processors/BoxProcessor.html#process-instance_method" title="Kharon::Processors::BoxProcessor#process (method)">#process</a></span>
|
206
|
+
<small>Kharon::Processors::BoxProcessor</small>
|
159
207
|
</li>
|
160
208
|
|
161
209
|
|
162
210
|
<li class="r1 ">
|
163
|
-
<span class='object_link'><a href="Kharon/
|
164
|
-
<small>Kharon::
|
211
|
+
<span class='object_link'><a href="Kharon/Processors/DatetimeProcessor.html#process-instance_method" title="Kharon::Processors::DatetimeProcessor#process (method)">#process</a></span>
|
212
|
+
<small>Kharon::Processors::DatetimeProcessor</small>
|
165
213
|
</li>
|
166
214
|
|
167
215
|
|
168
216
|
<li class="r2 ">
|
169
|
-
<span class='object_link'><a href="Kharon/Validator.html#
|
217
|
+
<span class='object_link'><a href="Kharon/Validator.html#processors-instance_method" title="Kharon::Validator#processors (method)">#processors</a></span>
|
170
218
|
<small>Kharon::Validator</small>
|
171
219
|
</li>
|
172
220
|
|
173
221
|
|
174
222
|
<li class="r1 ">
|
175
|
-
<span class='object_link'><a href="Kharon
|
176
|
-
<small>Kharon
|
223
|
+
<span class='object_link'><a href="Kharon.html#processors-class_method" title="Kharon.processors (method)">processors</a></span>
|
224
|
+
<small>Kharon</small>
|
177
225
|
</li>
|
178
226
|
|
179
227
|
|
180
228
|
<li class="r2 ">
|
229
|
+
<span class='object_link'><a href="Kharon.html#remove_processor-class_method" title="Kharon.remove_processor (method)">remove_processor</a></span>
|
230
|
+
<small>Kharon</small>
|
231
|
+
</li>
|
232
|
+
|
233
|
+
|
234
|
+
<li class="r1 ">
|
181
235
|
<span class='object_link'><a href="Kharon/Handlers/Exceptions.html#report_error-instance_method" title="Kharon::Handlers::Exceptions#report_error (method)">#report_error</a></span>
|
182
236
|
<small>Kharon::Handlers::Exceptions</small>
|
183
237
|
</li>
|
184
238
|
|
185
239
|
|
240
|
+
<li class="r2 ">
|
241
|
+
<span class='object_link'><a href="Kharon/Handlers/Messages.html#report_error-instance_method" title="Kharon::Handlers::Messages#report_error (method)">#report_error</a></span>
|
242
|
+
<small>Kharon::Handlers::Messages</small>
|
243
|
+
</li>
|
244
|
+
|
245
|
+
|
186
246
|
<li class="r1 ">
|
187
|
-
<span class='object_link'><a href="Kharon/Validator.html#
|
247
|
+
<span class='object_link'><a href="Kharon/Validator.html#respond_to%3F-instance_method" title="Kharon::Validator#respond_to? (method)">#respond_to?</a></span>
|
188
248
|
<small>Kharon::Validator</small>
|
189
249
|
</li>
|
190
250
|
|
191
251
|
|
192
252
|
<li class="r2 ">
|
193
|
-
<span class='object_link'><a href="Kharon/
|
194
|
-
<small>Kharon::
|
253
|
+
<span class='object_link'><a href="Kharon/Processors/BoxProcessor.html#store-instance_method" title="Kharon::Processors::BoxProcessor#store (method)">#store</a></span>
|
254
|
+
<small>Kharon::Processors::BoxProcessor</small>
|
195
255
|
</li>
|
196
256
|
|
197
257
|
|
198
258
|
<li class="r1 ">
|
259
|
+
<span class='object_link'><a href="Kharon/Processors/HashProcessor.html#store-instance_method" title="Kharon::Processors::HashProcessor#store (method)">#store</a></span>
|
260
|
+
<small>Kharon::Processors::HashProcessor</small>
|
261
|
+
</li>
|
262
|
+
|
263
|
+
|
264
|
+
<li class="r2 ">
|
265
|
+
<span class='object_link'><a href="Kharon/Processors/ArrayProcessor.html#store-instance_method" title="Kharon::Processors::ArrayProcessor#store (method)">#store</a></span>
|
266
|
+
<small>Kharon::Processors::ArrayProcessor</small>
|
267
|
+
</li>
|
268
|
+
|
269
|
+
|
270
|
+
<li class="r1 ">
|
271
|
+
<span class='object_link'><a href="Kharon/Processors/NumericProcessor.html#store-instance_method" title="Kharon::Processors::NumericProcessor#store (method)">#store</a></span>
|
272
|
+
<small>Kharon::Processors::NumericProcessor</small>
|
273
|
+
</li>
|
274
|
+
|
275
|
+
|
276
|
+
<li class="r2 ">
|
277
|
+
<span class='object_link'><a href="Kharon/Processors/TextProcessor.html#store-instance_method" title="Kharon::Processors::TextProcessor#store (method)">#store</a></span>
|
278
|
+
<small>Kharon::Processors::TextProcessor</small>
|
279
|
+
</li>
|
280
|
+
|
281
|
+
|
282
|
+
<li class="r1 ">
|
283
|
+
<span class='object_link'><a href="Kharon/Processors/IntegerProcessor.html#store-instance_method" title="Kharon::Processors::IntegerProcessor#store (method)">#store</a></span>
|
284
|
+
<small>Kharon::Processors::IntegerProcessor</small>
|
285
|
+
</li>
|
286
|
+
|
287
|
+
|
288
|
+
<li class="r2 ">
|
199
289
|
<span class='object_link'><a href="Kharon.html#use_exceptions-class_method" title="Kharon.use_exceptions (method)">use_exceptions</a></span>
|
200
290
|
<small>Kharon</small>
|
201
291
|
</li>
|
202
292
|
|
203
293
|
|
204
|
-
<li class="
|
294
|
+
<li class="r1 ">
|
205
295
|
<span class='object_link'><a href="Kharon/Validate.html#validate-instance_method" title="Kharon::Validate#validate (method)">#validate</a></span>
|
206
296
|
<small>Kharon::Validate</small>
|
207
297
|
</li>
|
208
298
|
|
209
299
|
|
300
|
+
<li class="r2 ">
|
301
|
+
<span class='object_link'><a href="Kharon/Processor.html#validator-instance_method" title="Kharon::Processor#validator (method)">#validator</a></span>
|
302
|
+
<small>Kharon::Processor</small>
|
303
|
+
</li>
|
304
|
+
|
305
|
+
|
210
306
|
</ul>
|
211
307
|
</div>
|
212
308
|
</body>
|