kwalify 0.7.1 → 0.7.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (90) hide show
  1. data/CHANGES.txt +12 -3
  2. data/MIT-LICENSE +1 -1
  3. data/README.txt +10 -10
  4. data/bin/kwalify +3 -3
  5. data/contrib/inline-require +54 -28
  6. data/contrib/kwalify +45 -44
  7. data/doc-api/classes/CommandOptionError.html +7 -7
  8. data/doc-api/classes/CommandOptionParser.html +18 -18
  9. data/doc-api/classes/Kwalify.html +1 -1
  10. data/doc-api/classes/Kwalify/AssertionError.html +6 -6
  11. data/doc-api/classes/Kwalify/BaseParser.html +60 -60
  12. data/doc-api/classes/Kwalify/CommandOptionError.html +6 -6
  13. data/doc-api/classes/Kwalify/Main.html +30 -30
  14. data/doc-api/classes/Kwalify/MetaValidator.html +18 -18
  15. data/doc-api/classes/Kwalify/Parser.html +6 -6
  16. data/doc-api/classes/Kwalify/PlainYamlParser.html +90 -90
  17. data/doc-api/classes/Kwalify/PlainYamlParser/Alias.html +6 -6
  18. data/doc-api/classes/Kwalify/Rule.html +24 -24
  19. data/doc-api/classes/Kwalify/SchemaError.html +6 -6
  20. data/doc-api/classes/Kwalify/SyntaxError.html +12 -12
  21. data/doc-api/classes/Kwalify/Util.html +8 -7
  22. data/doc-api/classes/Kwalify/ValidationError.html +6 -6
  23. data/doc-api/classes/Kwalify/Validator.html +39 -39
  24. data/doc-api/classes/Kwalify/YamlParser.html +84 -84
  25. data/doc-api/created.rid +1 -1
  26. data/doc-api/files/__/README_txt.html +11 -11
  27. data/doc-api/files/kwalify/errors_rb.html +2 -2
  28. data/doc-api/files/kwalify/main_rb.html +2 -2
  29. data/doc-api/files/kwalify/messages_rb.html +2 -2
  30. data/doc-api/files/kwalify/meta-validator_rb.html +2 -2
  31. data/doc-api/files/kwalify/parser/base_rb.html +2 -2
  32. data/doc-api/files/kwalify/parser/yaml_rb.html +2 -2
  33. data/doc-api/files/kwalify/rule_rb.html +2 -2
  34. data/doc-api/files/kwalify/types_rb.html +2 -2
  35. data/doc-api/files/kwalify/util/assert-text-equal_rb.html +2 -2
  36. data/doc-api/files/kwalify/util/hash-interface_rb.html +2 -2
  37. data/doc-api/files/kwalify/util/hashlike_rb.html +2 -2
  38. data/doc-api/files/kwalify/util/option-parser_rb.html +2 -2
  39. data/doc-api/files/kwalify/util/ordered-hash_rb.html +2 -2
  40. data/doc-api/files/kwalify/util/testcase-helper_rb.html +2 -2
  41. data/doc-api/files/kwalify/util_rb.html +2 -2
  42. data/doc-api/files/kwalify/validator_rb.html +2 -2
  43. data/doc-api/files/kwalify/yaml-parser_rb.html +2 -2
  44. data/doc-api/files/kwalify_rb.html +2 -2
  45. data/doc-api/fr_method_index.html +70 -70
  46. data/doc/users-guide.html +1 -1
  47. data/examples/address-book/address-book.schema.yaml +2 -2
  48. data/examples/invoice/invoice.schema.yaml +3 -3
  49. data/examples/tapkit/tapkit.schema.yaml +2 -2
  50. data/lib/kwalify.rb +3 -3
  51. data/lib/kwalify/errors.rb +3 -3
  52. data/lib/kwalify/kwalify.schema.yaml +3 -3
  53. data/lib/kwalify/main.rb +4 -4
  54. data/lib/kwalify/messages.rb +3 -3
  55. data/lib/kwalify/meta-validator.rb +3 -3
  56. data/lib/kwalify/parser/base.rb +3 -3
  57. data/lib/kwalify/parser/yaml.rb +3 -3
  58. data/lib/kwalify/rule.rb +3 -3
  59. data/lib/kwalify/templates/genclass-java.eruby +3 -3
  60. data/lib/kwalify/templates/genclass-php.eruby +2 -2
  61. data/lib/kwalify/templates/genclass-ruby.eruby +3 -3
  62. data/lib/kwalify/types.rb +3 -3
  63. data/lib/kwalify/util.rb +6 -5
  64. data/lib/kwalify/util/assert-text-equal.rb +3 -3
  65. data/lib/kwalify/util/hash-interface.rb +3 -3
  66. data/lib/kwalify/util/hashlike.rb +3 -3
  67. data/lib/kwalify/util/option-parser.rb +3 -3
  68. data/lib/kwalify/util/ordered-hash.rb +2 -2
  69. data/lib/kwalify/util/testcase-helper.rb +3 -3
  70. data/lib/kwalify/validator.rb +3 -3
  71. data/lib/kwalify/yaml-parser.rb +3 -3
  72. data/test/test-action.rb +3 -3
  73. data/test/test-action.yaml +3 -3
  74. data/test/test-databinding.rb +3 -3
  75. data/test/test-databinding.yaml +2 -2
  76. data/test/test-main.rb +3 -3
  77. data/test/test-main.yaml +34 -3
  78. data/test/test-metavalidator.rb +3 -3
  79. data/test/test-metavalidator.yaml +3 -3
  80. data/test/test-parser-yaml.rb +3 -3
  81. data/test/test-parser-yaml.yaml +3 -3
  82. data/test/test-rule.rb +3 -3
  83. data/test/test-rule.yaml +3 -3
  84. data/test/test-util.rb +125 -0
  85. data/test/test-validator.rb +3 -3
  86. data/test/test-validator.yaml +3 -3
  87. data/test/test-yaml-parser.rb +3 -3
  88. data/test/test-yaml-parser.yaml +4 -4
  89. data/test/test.rb +4 -3
  90. 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="#M000112">add_to_map</a>&nbsp;&nbsp;
124
- <a href="#M000109">add_to_seq</a>&nbsp;&nbsp;
125
- <a href="#M000111">create_mapping</a>&nbsp;&nbsp;
126
- <a href="#M000116">create_scalar</a>&nbsp;&nbsp;
127
- <a href="#M000108">create_sequence</a>&nbsp;&nbsp;
128
- <a href="#M000115">merge_map</a>&nbsp;&nbsp;
129
- <a href="#M000103">new</a>&nbsp;&nbsp;
130
- <a href="#M000104">parse</a>&nbsp;&nbsp;
131
- <a href="#M000105">path_linenum</a>&nbsp;&nbsp;
132
- <a href="#M000114">set_default</a>&nbsp;&nbsp;
133
- <a href="#M000107">set_error_linenums</a>&nbsp;&nbsp;
134
- <a href="#M000106">set_errors_linenum</a>&nbsp;&nbsp;
135
- <a href="#M000113">set_map_with</a>&nbsp;&nbsp;
136
- <a href="#M000110">set_seq_at</a>&nbsp;&nbsp;
123
+ <a href="#M000104">add_to_map</a>&nbsp;&nbsp;
124
+ <a href="#M000101">add_to_seq</a>&nbsp;&nbsp;
125
+ <a href="#M000103">create_mapping</a>&nbsp;&nbsp;
126
+ <a href="#M000108">create_scalar</a>&nbsp;&nbsp;
127
+ <a href="#M000100">create_sequence</a>&nbsp;&nbsp;
128
+ <a href="#M000107">merge_map</a>&nbsp;&nbsp;
129
+ <a href="#M000095">new</a>&nbsp;&nbsp;
130
+ <a href="#M000096">parse</a>&nbsp;&nbsp;
131
+ <a href="#M000097">path_linenum</a>&nbsp;&nbsp;
132
+ <a href="#M000106">set_default</a>&nbsp;&nbsp;
133
+ <a href="#M000099">set_error_linenums</a>&nbsp;&nbsp;
134
+ <a href="#M000098">set_errors_linenum</a>&nbsp;&nbsp;
135
+ <a href="#M000105">set_map_with</a>&nbsp;&nbsp;
136
+ <a href="#M000102">set_seq_at</a>&nbsp;&nbsp;
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-M000103" class="method-detail">
159
- <a name="M000103"></a>
158
+ <div id="method-M000095" class="method-detail">
159
+ <a name="M000095"></a>
160
160
 
161
161
  <div class="method-heading">
162
- <a href="#M000103" class="method-signature">
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('M000103-source');return false;">[Source]</a></p>
170
- <div class="method-source-code" id="M000103-source">
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-M000104" class="method-detail">
185
- <a name="M000104"></a>
184
+ <div id="method-M000096" class="method-detail">
185
+ <a name="M000096"></a>
186
186
 
187
187
  <div class="method-heading">
188
- <a href="#M000104" class="method-signature">
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('M000104-source');return false;">[Source]</a></p>
196
- <div class="method-source-code" id="M000104-source">
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-M000105" class="method-detail">
209
- <a name="M000105"></a>
208
+ <div id="method-M000097" class="method-detail">
209
+ <a name="M000097"></a>
210
210
 
211
211
  <div class="method-heading">
212
- <a href="#M000105" class="method-signature">
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('M000105-source');return false;">[Source]</a></p>
220
- <div class="method-source-code" id="M000105-source">
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-M000107" class="method-detail">
252
- <a name="M000107"></a>
251
+ <div id="method-M000099" class="method-detail">
252
+ <a name="M000099"></a>
253
253
 
254
254
  <div class="method-heading">
255
- <a href="#M000107" class="method-signature">
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('M000107-source');return false;">[Source]</a></p>
263
- <div class="method-source-code" id="M000107-source">
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-M000106" class="method-detail">
276
- <a name="M000106"></a>
275
+ <div id="method-M000098" class="method-detail">
276
+ <a name="M000098"></a>
277
277
 
278
278
  <div class="method-heading">
279
- <a href="#M000106" class="method-signature">
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('M000106-source');return false;">[Source]</a></p>
287
- <div class="method-source-code" id="M000106-source">
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-M000112" class="method-detail">
303
- <a name="M000112"></a>
302
+ <div id="method-M000104" class="method-detail">
303
+ <a name="M000104"></a>
304
304
 
305
305
  <div class="method-heading">
306
- <a href="#M000112" class="method-signature">
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('M000112-source');return false;">[Source]</a></p>
314
- <div class="method-source-code" id="M000112-source">
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-M000109" class="method-detail">
327
- <a name="M000109"></a>
326
+ <div id="method-M000101" class="method-detail">
327
+ <a name="M000101"></a>
328
328
 
329
329
  <div class="method-heading">
330
- <a href="#M000109" class="method-signature">
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('M000109-source');return false;">[Source]</a></p>
338
- <div class="method-source-code" id="M000109-source">
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-M000111" class="method-detail">
351
- <a name="M000111"></a>
350
+ <div id="method-M000103" class="method-detail">
351
+ <a name="M000103"></a>
352
352
 
353
353
  <div class="method-heading">
354
- <a href="#M000111" class="method-signature">
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('M000111-source');return false;">[Source]</a></p>
362
- <div class="method-source-code" id="M000111-source">
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-M000116" class="method-detail">
376
- <a name="M000116"></a>
375
+ <div id="method-M000108" class="method-detail">
376
+ <a name="M000108"></a>
377
377
 
378
378
  <div class="method-heading">
379
- <a href="#M000116" class="method-signature">
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('M000116-source');return false;">[Source]</a></p>
387
- <div class="method-source-code" id="M000116-source">
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-M000108" class="method-detail">
401
- <a name="M000108"></a>
400
+ <div id="method-M000100" class="method-detail">
401
+ <a name="M000100"></a>
402
402
 
403
403
  <div class="method-heading">
404
- <a href="#M000108" class="method-signature">
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('M000108-source');return false;">[Source]</a></p>
412
- <div class="method-source-code" id="M000108-source">
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-M000115" class="method-detail">
426
- <a name="M000115"></a>
425
+ <div id="method-M000107" class="method-detail">
426
+ <a name="M000107"></a>
427
427
 
428
428
  <div class="method-heading">
429
- <a href="#M000115" class="method-signature">
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('M000115-source');return false;">[Source]</a></p>
437
- <div class="method-source-code" id="M000115-source">
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-M000114" class="method-detail">
459
- <a name="M000114"></a>
458
+ <div id="method-M000106" class="method-detail">
459
+ <a name="M000106"></a>
460
460
 
461
461
  <div class="method-heading">
462
- <a href="#M000114" class="method-signature">
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('M000114-source');return false;">[Source]</a></p>
470
- <div class="method-source-code" id="M000114-source">
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-M000113" class="method-detail">
483
- <a name="M000113"></a>
482
+ <div id="method-M000105" class="method-detail">
483
+ <a name="M000105"></a>
484
484
 
485
485
  <div class="method-heading">
486
- <a href="#M000113" class="method-signature">
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('M000113-source');return false;">[Source]</a></p>
494
- <div class="method-source-code" id="M000113-source">
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-M000110" class="method-detail">
507
- <a name="M000110"></a>
506
+ <div id="method-M000102" class="method-detail">
507
+ <a name="M000102"></a>
508
508
 
509
509
  <div class="method-heading">
510
- <a href="#M000110" class="method-signature">
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('M000110-source');return false;">[Source]</a></p>
518
- <div class="method-source-code" id="M000110-source">
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>)
@@ -1 +1 @@
1
- Mon, 28 Jan 2008 16:57:37 +0900
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>Mon Jan 28 15:27:13 +0900 2008</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.1
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: 2008-01-28 15:27:12 +0900 (Mon, 28 Jan 2008) $
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-2008 kuwata-lab all rights reserved.
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 &#8216;gem install kwalify&#8216;
100
100
  Else if you can be root user, use &#8216;setup.rb&#8217; as following:
101
101
  </p>
102
102
  <pre>
103
- $ tar xjf kwalify-0.7.1.tar.bz2
104
- $ cd kwalify-0.7.1/
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.1.tar.bz2
112
- $ cd kwalify-0.7.1/
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.1.tar.bz2
126
- $ cd kwalify-0.7.1/
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 &gt; 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-2008 kuwata-lab all rights reserved.
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>Mon Jan 28 15:27:13 +0900 2008</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: 99 $ $Release: 0.7.1 $ copyright(c) 2005-2008 kuwata-lab all rights reserved.
73
+ $Rev$ $Release: 0.7.2 $ copyright(c) 2005-2010 kuwata-lab all rights reserved.
74
74
  </p>
75
75
 
76
76
  </div>