kwalify 0.7.1 → 0.7.2
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES.txt +12 -3
- data/MIT-LICENSE +1 -1
- data/README.txt +10 -10
- data/bin/kwalify +3 -3
- data/contrib/inline-require +54 -28
- data/contrib/kwalify +45 -44
- data/doc-api/classes/CommandOptionError.html +7 -7
- data/doc-api/classes/CommandOptionParser.html +18 -18
- data/doc-api/classes/Kwalify.html +1 -1
- data/doc-api/classes/Kwalify/AssertionError.html +6 -6
- data/doc-api/classes/Kwalify/BaseParser.html +60 -60
- data/doc-api/classes/Kwalify/CommandOptionError.html +6 -6
- data/doc-api/classes/Kwalify/Main.html +30 -30
- data/doc-api/classes/Kwalify/MetaValidator.html +18 -18
- data/doc-api/classes/Kwalify/Parser.html +6 -6
- data/doc-api/classes/Kwalify/PlainYamlParser.html +90 -90
- data/doc-api/classes/Kwalify/PlainYamlParser/Alias.html +6 -6
- data/doc-api/classes/Kwalify/Rule.html +24 -24
- data/doc-api/classes/Kwalify/SchemaError.html +6 -6
- data/doc-api/classes/Kwalify/SyntaxError.html +12 -12
- data/doc-api/classes/Kwalify/Util.html +8 -7
- data/doc-api/classes/Kwalify/ValidationError.html +6 -6
- data/doc-api/classes/Kwalify/Validator.html +39 -39
- data/doc-api/classes/Kwalify/YamlParser.html +84 -84
- data/doc-api/created.rid +1 -1
- data/doc-api/files/__/README_txt.html +11 -11
- data/doc-api/files/kwalify/errors_rb.html +2 -2
- data/doc-api/files/kwalify/main_rb.html +2 -2
- data/doc-api/files/kwalify/messages_rb.html +2 -2
- data/doc-api/files/kwalify/meta-validator_rb.html +2 -2
- data/doc-api/files/kwalify/parser/base_rb.html +2 -2
- data/doc-api/files/kwalify/parser/yaml_rb.html +2 -2
- data/doc-api/files/kwalify/rule_rb.html +2 -2
- data/doc-api/files/kwalify/types_rb.html +2 -2
- data/doc-api/files/kwalify/util/assert-text-equal_rb.html +2 -2
- data/doc-api/files/kwalify/util/hash-interface_rb.html +2 -2
- data/doc-api/files/kwalify/util/hashlike_rb.html +2 -2
- data/doc-api/files/kwalify/util/option-parser_rb.html +2 -2
- data/doc-api/files/kwalify/util/ordered-hash_rb.html +2 -2
- data/doc-api/files/kwalify/util/testcase-helper_rb.html +2 -2
- data/doc-api/files/kwalify/util_rb.html +2 -2
- data/doc-api/files/kwalify/validator_rb.html +2 -2
- data/doc-api/files/kwalify/yaml-parser_rb.html +2 -2
- data/doc-api/files/kwalify_rb.html +2 -2
- data/doc-api/fr_method_index.html +70 -70
- data/doc/users-guide.html +1 -1
- data/examples/address-book/address-book.schema.yaml +2 -2
- data/examples/invoice/invoice.schema.yaml +3 -3
- data/examples/tapkit/tapkit.schema.yaml +2 -2
- data/lib/kwalify.rb +3 -3
- data/lib/kwalify/errors.rb +3 -3
- data/lib/kwalify/kwalify.schema.yaml +3 -3
- data/lib/kwalify/main.rb +4 -4
- data/lib/kwalify/messages.rb +3 -3
- data/lib/kwalify/meta-validator.rb +3 -3
- data/lib/kwalify/parser/base.rb +3 -3
- data/lib/kwalify/parser/yaml.rb +3 -3
- data/lib/kwalify/rule.rb +3 -3
- data/lib/kwalify/templates/genclass-java.eruby +3 -3
- data/lib/kwalify/templates/genclass-php.eruby +2 -2
- data/lib/kwalify/templates/genclass-ruby.eruby +3 -3
- data/lib/kwalify/types.rb +3 -3
- data/lib/kwalify/util.rb +6 -5
- data/lib/kwalify/util/assert-text-equal.rb +3 -3
- data/lib/kwalify/util/hash-interface.rb +3 -3
- data/lib/kwalify/util/hashlike.rb +3 -3
- data/lib/kwalify/util/option-parser.rb +3 -3
- data/lib/kwalify/util/ordered-hash.rb +2 -2
- data/lib/kwalify/util/testcase-helper.rb +3 -3
- data/lib/kwalify/validator.rb +3 -3
- data/lib/kwalify/yaml-parser.rb +3 -3
- data/test/test-action.rb +3 -3
- data/test/test-action.yaml +3 -3
- data/test/test-databinding.rb +3 -3
- data/test/test-databinding.yaml +2 -2
- data/test/test-main.rb +3 -3
- data/test/test-main.yaml +34 -3
- data/test/test-metavalidator.rb +3 -3
- data/test/test-metavalidator.yaml +3 -3
- data/test/test-parser-yaml.rb +3 -3
- data/test/test-parser-yaml.yaml +3 -3
- data/test/test-rule.rb +3 -3
- data/test/test-rule.yaml +3 -3
- data/test/test-util.rb +125 -0
- data/test/test-validator.rb +3 -3
- data/test/test-validator.yaml +3 -3
- data/test/test-yaml-parser.rb +3 -3
- data/test/test-yaml-parser.yaml +4 -4
- data/test/test.rb +4 -3
- metadata +56 -55
@@ -120,20 +120,20 @@ ex.
|
|
120
120
|
<h3 class="section-bar">Methods</h3>
|
121
121
|
|
122
122
|
<div class="name-list">
|
123
|
-
<a href="#
|
124
|
-
<a href="#
|
125
|
-
<a href="#
|
126
|
-
<a href="#
|
127
|
-
<a href="#
|
128
|
-
<a href="#
|
129
|
-
<a href="#
|
130
|
-
<a href="#
|
131
|
-
<a href="#
|
132
|
-
<a href="#
|
133
|
-
<a href="#
|
134
|
-
<a href="#
|
135
|
-
<a href="#
|
136
|
-
<a href="#
|
123
|
+
<a href="#M000104">add_to_map</a>
|
124
|
+
<a href="#M000101">add_to_seq</a>
|
125
|
+
<a href="#M000103">create_mapping</a>
|
126
|
+
<a href="#M000108">create_scalar</a>
|
127
|
+
<a href="#M000100">create_sequence</a>
|
128
|
+
<a href="#M000107">merge_map</a>
|
129
|
+
<a href="#M000095">new</a>
|
130
|
+
<a href="#M000096">parse</a>
|
131
|
+
<a href="#M000097">path_linenum</a>
|
132
|
+
<a href="#M000106">set_default</a>
|
133
|
+
<a href="#M000099">set_error_linenums</a>
|
134
|
+
<a href="#M000098">set_errors_linenum</a>
|
135
|
+
<a href="#M000105">set_map_with</a>
|
136
|
+
<a href="#M000102">set_seq_at</a>
|
137
137
|
</div>
|
138
138
|
</div>
|
139
139
|
|
@@ -155,19 +155,19 @@ ex.
|
|
155
155
|
<div id="methods">
|
156
156
|
<h3 class="section-bar">Public Class methods</h3>
|
157
157
|
|
158
|
-
<div id="method-
|
159
|
-
<a name="
|
158
|
+
<div id="method-M000095" class="method-detail">
|
159
|
+
<a name="M000095"></a>
|
160
160
|
|
161
161
|
<div class="method-heading">
|
162
|
-
<a href="#
|
162
|
+
<a href="#M000095" class="method-signature">
|
163
163
|
<span class="method-name">new</span><span class="method-args">(*args)</span>
|
164
164
|
</a>
|
165
165
|
</div>
|
166
166
|
|
167
167
|
<div class="method-description">
|
168
168
|
<p><a class="source-toggle" href="#"
|
169
|
-
onclick="toggleCode('
|
170
|
-
<div class="method-source-code" id="
|
169
|
+
onclick="toggleCode('M000095-source');return false;">[Source]</a></p>
|
170
|
+
<div class="method-source-code" id="M000095-source">
|
171
171
|
<pre>
|
172
172
|
<span class="ruby-comment cmt"># File kwalify/yaml-parser.rb, line 754</span>
|
173
173
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
|
@@ -181,19 +181,19 @@ ex.
|
|
181
181
|
|
182
182
|
<h3 class="section-bar">Public Instance methods</h3>
|
183
183
|
|
184
|
-
<div id="method-
|
185
|
-
<a name="
|
184
|
+
<div id="method-M000096" class="method-detail">
|
185
|
+
<a name="M000096"></a>
|
186
186
|
|
187
187
|
<div class="method-heading">
|
188
|
-
<a href="#
|
188
|
+
<a href="#M000096" class="method-signature">
|
189
189
|
<span class="method-name">parse</span><span class="method-args">()</span>
|
190
190
|
</a>
|
191
191
|
</div>
|
192
192
|
|
193
193
|
<div class="method-description">
|
194
194
|
<p><a class="source-toggle" href="#"
|
195
|
-
onclick="toggleCode('
|
196
|
-
<div class="method-source-code" id="
|
195
|
+
onclick="toggleCode('M000096-source');return false;">[Source]</a></p>
|
196
|
+
<div class="method-source-code" id="M000096-source">
|
197
197
|
<pre>
|
198
198
|
<span class="ruby-comment cmt"># File kwalify/yaml-parser.rb, line 759</span>
|
199
199
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">parse</span>()
|
@@ -205,19 +205,19 @@ ex.
|
|
205
205
|
</div>
|
206
206
|
</div>
|
207
207
|
|
208
|
-
<div id="method-
|
209
|
-
<a name="
|
208
|
+
<div id="method-M000097" class="method-detail">
|
209
|
+
<a name="M000097"></a>
|
210
210
|
|
211
211
|
<div class="method-heading">
|
212
|
-
<a href="#
|
212
|
+
<a href="#M000097" class="method-signature">
|
213
213
|
<span class="method-name">path_linenum</span><span class="method-args">(path)</span>
|
214
214
|
</a>
|
215
215
|
</div>
|
216
216
|
|
217
217
|
<div class="method-description">
|
218
218
|
<p><a class="source-toggle" href="#"
|
219
|
-
onclick="toggleCode('
|
220
|
-
<div class="method-source-code" id="
|
219
|
+
onclick="toggleCode('M000097-source');return false;">[Source]</a></p>
|
220
|
+
<div class="method-source-code" id="M000097-source">
|
221
221
|
<pre>
|
222
222
|
<span class="ruby-comment cmt"># File kwalify/yaml-parser.rb, line 764</span>
|
223
223
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">path_linenum</span>(<span class="ruby-identifier">path</span>)
|
@@ -248,19 +248,19 @@ ex.
|
|
248
248
|
</div>
|
249
249
|
</div>
|
250
250
|
|
251
|
-
<div id="method-
|
252
|
-
<a name="
|
251
|
+
<div id="method-M000099" class="method-detail">
|
252
|
+
<a name="M000099"></a>
|
253
253
|
|
254
254
|
<div class="method-heading">
|
255
|
-
<a href="#
|
255
|
+
<a href="#M000099" class="method-signature">
|
256
256
|
<span class="method-name">set_error_linenums</span><span class="method-args">(errors)</span>
|
257
257
|
</a>
|
258
258
|
</div>
|
259
259
|
|
260
260
|
<div class="method-description">
|
261
261
|
<p><a class="source-toggle" href="#"
|
262
|
-
onclick="toggleCode('
|
263
|
-
<div class="method-source-code" id="
|
262
|
+
onclick="toggleCode('M000099-source');return false;">[Source]</a></p>
|
263
|
+
<div class="method-source-code" id="M000099-source">
|
264
264
|
<pre>
|
265
265
|
<span class="ruby-comment cmt"># File kwalify/yaml-parser.rb, line 794</span>
|
266
266
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">set_error_linenums</span>(<span class="ruby-identifier">errors</span>)
|
@@ -272,19 +272,19 @@ ex.
|
|
272
272
|
</div>
|
273
273
|
</div>
|
274
274
|
|
275
|
-
<div id="method-
|
276
|
-
<a name="
|
275
|
+
<div id="method-M000098" class="method-detail">
|
276
|
+
<a name="M000098"></a>
|
277
277
|
|
278
278
|
<div class="method-heading">
|
279
|
-
<a href="#
|
279
|
+
<a href="#M000098" class="method-signature">
|
280
280
|
<span class="method-name">set_errors_linenum</span><span class="method-args">(errors)</span>
|
281
281
|
</a>
|
282
282
|
</div>
|
283
283
|
|
284
284
|
<div class="method-description">
|
285
285
|
<p><a class="source-toggle" href="#"
|
286
|
-
onclick="toggleCode('
|
287
|
-
<div class="method-source-code" id="
|
286
|
+
onclick="toggleCode('M000098-source');return false;">[Source]</a></p>
|
287
|
+
<div class="method-source-code" id="M000098-source">
|
288
288
|
<pre>
|
289
289
|
<span class="ruby-comment cmt"># File kwalify/yaml-parser.rb, line 788</span>
|
290
290
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">set_errors_linenum</span>(<span class="ruby-identifier">errors</span>)
|
@@ -299,19 +299,19 @@ ex.
|
|
299
299
|
|
300
300
|
<h3 class="section-bar">Protected Instance methods</h3>
|
301
301
|
|
302
|
-
<div id="method-
|
303
|
-
<a name="
|
302
|
+
<div id="method-M000104" class="method-detail">
|
303
|
+
<a name="M000104"></a>
|
304
304
|
|
305
305
|
<div class="method-heading">
|
306
|
-
<a href="#
|
306
|
+
<a href="#M000104" class="method-signature">
|
307
307
|
<span class="method-name">add_to_map</span><span class="method-args">(map, key, value, linenum)</span>
|
308
308
|
</a>
|
309
309
|
</div>
|
310
310
|
|
311
311
|
<div class="method-description">
|
312
312
|
<p><a class="source-toggle" href="#"
|
313
|
-
onclick="toggleCode('
|
314
|
-
<div class="method-source-code" id="
|
313
|
+
onclick="toggleCode('M000104-source');return false;">[Source]</a></p>
|
314
|
+
<div class="method-source-code" id="M000104-source">
|
315
315
|
<pre>
|
316
316
|
<span class="ruby-comment cmt"># File kwalify/yaml-parser.rb, line 823</span>
|
317
317
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add_to_map</span>(<span class="ruby-identifier">map</span>, <span class="ruby-identifier">key</span>, <span class="ruby-identifier">value</span>, <span class="ruby-identifier">linenum</span>)
|
@@ -323,19 +323,19 @@ ex.
|
|
323
323
|
</div>
|
324
324
|
</div>
|
325
325
|
|
326
|
-
<div id="method-
|
327
|
-
<a name="
|
326
|
+
<div id="method-M000101" class="method-detail">
|
327
|
+
<a name="M000101"></a>
|
328
328
|
|
329
329
|
<div class="method-heading">
|
330
|
-
<a href="#
|
330
|
+
<a href="#M000101" class="method-signature">
|
331
331
|
<span class="method-name">add_to_seq</span><span class="method-args">(seq, value, linenum)</span>
|
332
332
|
</a>
|
333
333
|
</div>
|
334
334
|
|
335
335
|
<div class="method-description">
|
336
336
|
<p><a class="source-toggle" href="#"
|
337
|
-
onclick="toggleCode('
|
338
|
-
<div class="method-source-code" id="
|
337
|
+
onclick="toggleCode('M000101-source');return false;">[Source]</a></p>
|
338
|
+
<div class="method-source-code" id="M000101-source">
|
339
339
|
<pre>
|
340
340
|
<span class="ruby-comment cmt"># File kwalify/yaml-parser.rb, line 807</span>
|
341
341
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add_to_seq</span>(<span class="ruby-identifier">seq</span>, <span class="ruby-identifier">value</span>, <span class="ruby-identifier">linenum</span>)
|
@@ -347,19 +347,19 @@ ex.
|
|
347
347
|
</div>
|
348
348
|
</div>
|
349
349
|
|
350
|
-
<div id="method-
|
351
|
-
<a name="
|
350
|
+
<div id="method-M000103" class="method-detail">
|
351
|
+
<a name="M000103"></a>
|
352
352
|
|
353
353
|
<div class="method-heading">
|
354
|
-
<a href="#
|
354
|
+
<a href="#M000103" class="method-signature">
|
355
355
|
<span class="method-name">create_mapping</span><span class="method-args">(linenum=current_linenum())</span>
|
356
356
|
</a>
|
357
357
|
</div>
|
358
358
|
|
359
359
|
<div class="method-description">
|
360
360
|
<p><a class="source-toggle" href="#"
|
361
|
-
onclick="toggleCode('
|
362
|
-
<div class="method-source-code" id="
|
361
|
+
onclick="toggleCode('M000103-source');return false;">[Source]</a></p>
|
362
|
+
<div class="method-source-code" id="M000103-source">
|
363
363
|
<pre>
|
364
364
|
<span class="ruby-comment cmt"># File kwalify/yaml-parser.rb, line 817</span>
|
365
365
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">create_mapping</span>(<span class="ruby-identifier">linenum</span>=<span class="ruby-identifier">current_linenum</span>())
|
@@ -372,19 +372,19 @@ ex.
|
|
372
372
|
</div>
|
373
373
|
</div>
|
374
374
|
|
375
|
-
<div id="method-
|
376
|
-
<a name="
|
375
|
+
<div id="method-M000108" class="method-detail">
|
376
|
+
<a name="M000108"></a>
|
377
377
|
|
378
378
|
<div class="method-heading">
|
379
|
-
<a href="#
|
379
|
+
<a href="#M000108" class="method-signature">
|
380
380
|
<span class="method-name">create_scalar</span><span class="method-args">(value, linenum=current_linenum())</span>
|
381
381
|
</a>
|
382
382
|
</div>
|
383
383
|
|
384
384
|
<div class="method-description">
|
385
385
|
<p><a class="source-toggle" href="#"
|
386
|
-
onclick="toggleCode('
|
387
|
-
<div class="method-source-code" id="
|
386
|
+
onclick="toggleCode('M000108-source');return false;">[Source]</a></p>
|
387
|
+
<div class="method-source-code" id="M000108-source">
|
388
388
|
<pre>
|
389
389
|
<span class="ruby-comment cmt"># File kwalify/yaml-parser.rb, line 852</span>
|
390
390
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">create_scalar</span>(<span class="ruby-identifier">value</span>, <span class="ruby-identifier">linenum</span>=<span class="ruby-identifier">current_linenum</span>())
|
@@ -397,19 +397,19 @@ ex.
|
|
397
397
|
</div>
|
398
398
|
</div>
|
399
399
|
|
400
|
-
<div id="method-
|
401
|
-
<a name="
|
400
|
+
<div id="method-M000100" class="method-detail">
|
401
|
+
<a name="M000100"></a>
|
402
402
|
|
403
403
|
<div class="method-heading">
|
404
|
-
<a href="#
|
404
|
+
<a href="#M000100" class="method-signature">
|
405
405
|
<span class="method-name">create_sequence</span><span class="method-args">(linenum=current_linenum())</span>
|
406
406
|
</a>
|
407
407
|
</div>
|
408
408
|
|
409
409
|
<div class="method-description">
|
410
410
|
<p><a class="source-toggle" href="#"
|
411
|
-
onclick="toggleCode('
|
412
|
-
<div class="method-source-code" id="
|
411
|
+
onclick="toggleCode('M000100-source');return false;">[Source]</a></p>
|
412
|
+
<div class="method-source-code" id="M000100-source">
|
413
413
|
<pre>
|
414
414
|
<span class="ruby-comment cmt"># File kwalify/yaml-parser.rb, line 801</span>
|
415
415
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">create_sequence</span>(<span class="ruby-identifier">linenum</span>=<span class="ruby-identifier">current_linenum</span>())
|
@@ -422,19 +422,19 @@ ex.
|
|
422
422
|
</div>
|
423
423
|
</div>
|
424
424
|
|
425
|
-
<div id="method-
|
426
|
-
<a name="
|
425
|
+
<div id="method-M000107" class="method-detail">
|
426
|
+
<a name="M000107"></a>
|
427
427
|
|
428
428
|
<div class="method-heading">
|
429
|
-
<a href="#
|
429
|
+
<a href="#M000107" class="method-signature">
|
430
430
|
<span class="method-name">merge_map</span><span class="method-args">(map, collection, linenum)</span>
|
431
431
|
</a>
|
432
432
|
</div>
|
433
433
|
|
434
434
|
<div class="method-description">
|
435
435
|
<p><a class="source-toggle" href="#"
|
436
|
-
onclick="toggleCode('
|
437
|
-
<div class="method-source-code" id="
|
436
|
+
onclick="toggleCode('M000107-source');return false;">[Source]</a></p>
|
437
|
+
<div class="method-source-code" id="M000107-source">
|
438
438
|
<pre>
|
439
439
|
<span class="ruby-comment cmt"># File kwalify/yaml-parser.rb, line 838</span>
|
440
440
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">merge_map</span>(<span class="ruby-identifier">map</span>, <span class="ruby-identifier">collection</span>, <span class="ruby-identifier">linenum</span>)
|
@@ -455,19 +455,19 @@ ex.
|
|
455
455
|
</div>
|
456
456
|
</div>
|
457
457
|
|
458
|
-
<div id="method-
|
459
|
-
<a name="
|
458
|
+
<div id="method-M000106" class="method-detail">
|
459
|
+
<a name="M000106"></a>
|
460
460
|
|
461
461
|
<div class="method-heading">
|
462
|
-
<a href="#
|
462
|
+
<a href="#M000106" class="method-signature">
|
463
463
|
<span class="method-name">set_default</span><span class="method-args">(map, value, linenum)</span>
|
464
464
|
</a>
|
465
465
|
</div>
|
466
466
|
|
467
467
|
<div class="method-description">
|
468
468
|
<p><a class="source-toggle" href="#"
|
469
|
-
onclick="toggleCode('
|
470
|
-
<div class="method-source-code" id="
|
469
|
+
onclick="toggleCode('M000106-source');return false;">[Source]</a></p>
|
470
|
+
<div class="method-source-code" id="M000106-source">
|
471
471
|
<pre>
|
472
472
|
<span class="ruby-comment cmt"># File kwalify/yaml-parser.rb, line 833</span>
|
473
473
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">set_default</span>(<span class="ruby-identifier">map</span>, <span class="ruby-identifier">value</span>, <span class="ruby-identifier">linenum</span>)
|
@@ -479,19 +479,19 @@ ex.
|
|
479
479
|
</div>
|
480
480
|
</div>
|
481
481
|
|
482
|
-
<div id="method-
|
483
|
-
<a name="
|
482
|
+
<div id="method-M000105" class="method-detail">
|
483
|
+
<a name="M000105"></a>
|
484
484
|
|
485
485
|
<div class="method-heading">
|
486
|
-
<a href="#
|
486
|
+
<a href="#M000105" class="method-signature">
|
487
487
|
<span class="method-name">set_map_with</span><span class="method-args">(map, key, value, linenum)</span>
|
488
488
|
</a>
|
489
489
|
</div>
|
490
490
|
|
491
491
|
<div class="method-description">
|
492
492
|
<p><a class="source-toggle" href="#"
|
493
|
-
onclick="toggleCode('
|
494
|
-
<div class="method-source-code" id="
|
493
|
+
onclick="toggleCode('M000105-source');return false;">[Source]</a></p>
|
494
|
+
<div class="method-source-code" id="M000105-source">
|
495
495
|
<pre>
|
496
496
|
<span class="ruby-comment cmt"># File kwalify/yaml-parser.rb, line 828</span>
|
497
497
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">set_map_with</span>(<span class="ruby-identifier">map</span>, <span class="ruby-identifier">key</span>, <span class="ruby-identifier">value</span>, <span class="ruby-identifier">linenum</span>)
|
@@ -503,19 +503,19 @@ ex.
|
|
503
503
|
</div>
|
504
504
|
</div>
|
505
505
|
|
506
|
-
<div id="method-
|
507
|
-
<a name="
|
506
|
+
<div id="method-M000102" class="method-detail">
|
507
|
+
<a name="M000102"></a>
|
508
508
|
|
509
509
|
<div class="method-heading">
|
510
|
-
<a href="#
|
510
|
+
<a href="#M000102" class="method-signature">
|
511
511
|
<span class="method-name">set_seq_at</span><span class="method-args">(seq, i, value, linenum)</span>
|
512
512
|
</a>
|
513
513
|
</div>
|
514
514
|
|
515
515
|
<div class="method-description">
|
516
516
|
<p><a class="source-toggle" href="#"
|
517
|
-
onclick="toggleCode('
|
518
|
-
<div class="method-source-code" id="
|
517
|
+
onclick="toggleCode('M000102-source');return false;">[Source]</a></p>
|
518
|
+
<div class="method-source-code" id="M000102-source">
|
519
519
|
<pre>
|
520
520
|
<span class="ruby-comment cmt"># File kwalify/yaml-parser.rb, line 812</span>
|
521
521
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">set_seq_at</span>(<span class="ruby-identifier">seq</span>, <span class="ruby-identifier">i</span>, <span class="ruby-identifier">value</span>, <span class="ruby-identifier">linenum</span>)
|
data/doc-api/created.rid
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
Sat, 17 Jul 2010 14:40:44 +0900
|
@@ -56,7 +56,7 @@
|
|
56
56
|
</tr>
|
57
57
|
<tr class="top-aligned-row">
|
58
58
|
<td><strong>Last Update:</strong></td>
|
59
|
-
<td>
|
59
|
+
<td>Fri Jul 16 21:41:26 +0900 2010</td>
|
60
60
|
</tr>
|
61
61
|
</table>
|
62
62
|
</div>
|
@@ -71,13 +71,13 @@
|
|
71
71
|
<div id="description">
|
72
72
|
<h1>README</h1>
|
73
73
|
<table>
|
74
|
-
<tr><td valign="top">release:</td><td>0.7.
|
74
|
+
<tr><td valign="top">release:</td><td>0.7.2
|
75
75
|
|
76
76
|
</td></tr>
|
77
|
-
<tr><td valign="top">lastupdate:</td><td>$Date
|
77
|
+
<tr><td valign="top">lastupdate:</td><td>$Date$
|
78
78
|
|
79
79
|
</td></tr>
|
80
|
-
<tr><td valign="top">copyright:</td><td>copyright(c) 2005-
|
80
|
+
<tr><td valign="top">copyright:</td><td>copyright(c) 2005-2010 kuwata-lab all rights reserved.
|
81
81
|
|
82
82
|
</td></tr>
|
83
83
|
</table>
|
@@ -100,16 +100,16 @@ If you have installed RubyGems, just type ‘gem install kwalify‘
|
|
100
100
|
Else if you can be root user, use ‘setup.rb’ as following:
|
101
101
|
</p>
|
102
102
|
<pre>
|
103
|
-
$ tar xjf kwalify-0.7.
|
104
|
-
$ cd kwalify-0.7.
|
103
|
+
$ tar xjf kwalify-0.7.2.tar.bz2
|
104
|
+
$ cd kwalify-0.7.2/
|
105
105
|
$ sudo ruby setup.rb install
|
106
106
|
</pre>
|
107
107
|
<p>
|
108
108
|
Else copy script and libraries to proper directory.
|
109
109
|
</p>
|
110
110
|
<pre>
|
111
|
-
$ tar xjf kwalify-0.7.
|
112
|
-
$ cd kwalify-0.7.
|
111
|
+
$ tar xjf kwalify-0.7.2.tar.bz2
|
112
|
+
$ cd kwalify-0.7.2/
|
113
113
|
$ mkdir -p $HOME/bin
|
114
114
|
$ cp -a bin/* $HOME/bin
|
115
115
|
$ export PATH=$PATH:$HOME/bin
|
@@ -122,8 +122,8 @@ Else copy script and libraries to proper directory.
|
|
122
122
|
script and libraries into a file.
|
123
123
|
</p>
|
124
124
|
<pre>
|
125
|
-
$ tar xjf kwalify-0.7.
|
126
|
-
$ cd kwalify-0.7.
|
125
|
+
$ tar xjf kwalify-0.7.2.tar.bz2
|
126
|
+
$ cd kwalify-0.7.2/
|
127
127
|
$ unset RUBYLIB
|
128
128
|
$ ruby contrib/inline-require -I ./lib bin/kwalify > contrib/kwalify
|
129
129
|
$ chmod a+x contrib/kwalify
|
@@ -135,7 +135,7 @@ script and libraries into a file.
|
|
135
135
|
</pre>
|
136
136
|
<h2>Copyright</h2>
|
137
137
|
<pre>
|
138
|
-
copyright(c) 2005-
|
138
|
+
copyright(c) 2005-2010 kuwata-lab all rights reserved.
|
139
139
|
</pre>
|
140
140
|
|
141
141
|
</div>
|
@@ -56,7 +56,7 @@
|
|
56
56
|
</tr>
|
57
57
|
<tr class="top-aligned-row">
|
58
58
|
<td><strong>Last Update:</strong></td>
|
59
|
-
<td>
|
59
|
+
<td>Fri Jul 16 21:41:26 +0900 2010</td>
|
60
60
|
</tr>
|
61
61
|
</table>
|
62
62
|
</div>
|
@@ -70,7 +70,7 @@
|
|
70
70
|
|
71
71
|
<div id="description">
|
72
72
|
<p>
|
73
|
-
$Rev
|
73
|
+
$Rev$ $Release: 0.7.2 $ copyright(c) 2005-2010 kuwata-lab all rights reserved.
|
74
74
|
</p>
|
75
75
|
|
76
76
|
</div>
|