mbrao 1.5.0 → 1.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +2 -4
- data/.rubocop.yml +51 -3
- data/.travis-gemfile +5 -5
- data/.travis.yml +5 -3
- data/CHANGELOG.md +5 -0
- data/Gemfile +10 -9
- data/README.md +1 -2
- data/Rakefile +22 -6
- data/doc/ActionView.html +3 -3
- data/doc/ActionView/Template.html +3 -3
- data/doc/ActionView/Template/Handlers.html +3 -3
- data/doc/ActionView/Template/Handlers/MbraoTemplate.html +3 -3
- data/doc/HTML.html +3 -3
- data/doc/HTML/Pipeline.html +3 -3
- data/doc/HTML/Pipeline/KramdownFilter.html +3 -3
- data/doc/Mbrao.html +5 -5
- data/doc/Mbrao/Author.html +10 -10
- data/doc/Mbrao/Content.html +825 -844
- data/doc/Mbrao/ContentInterface.html +5 -5
- data/doc/Mbrao/ContentInterface/ClassMethods.html +4 -4
- data/doc/Mbrao/Exceptions.html +3 -3
- data/doc/Mbrao/Exceptions/InvalidDate.html +3 -3
- data/doc/Mbrao/Exceptions/InvalidMetadata.html +3 -3
- data/doc/Mbrao/Exceptions/Parsing.html +3 -3
- data/doc/Mbrao/Exceptions/Rendering.html +3 -3
- data/doc/Mbrao/Exceptions/UnavailableLocalization.html +3 -3
- data/doc/Mbrao/Exceptions/Unimplemented.html +3 -3
- data/doc/Mbrao/Exceptions/UnknownEngine.html +3 -3
- data/doc/Mbrao/Parser.html +3 -3
- data/doc/Mbrao/ParserInterface.html +3 -3
- data/doc/Mbrao/ParserInterface/ClassMethods.html +35 -95
- data/doc/Mbrao/ParserValidations.html +3 -3
- data/doc/Mbrao/ParserValidations/ClassMethods.html +3 -3
- data/doc/Mbrao/ParsingEngines.html +3 -3
- data/doc/Mbrao/ParsingEngines/Base.html +3 -3
- data/doc/Mbrao/ParsingEngines/PlainText.html +11 -17
- data/doc/Mbrao/RenderingEngines.html +3 -3
- data/doc/Mbrao/RenderingEngines/Base.html +3 -3
- data/doc/Mbrao/RenderingEngines/HtmlPipeline.html +24 -92
- data/doc/Mbrao/Version.html +4 -4
- data/doc/_index.html +8 -8
- data/doc/class_list.html +5 -1
- data/doc/file.README.html +5 -6
- data/doc/file_list.html +5 -1
- data/doc/frames.html +1 -1
- data/doc/index.html +5 -6
- data/doc/js/full_list.js +4 -1
- data/doc/method_list.html +75 -53
- data/doc/top-level-namespace.html +3 -3
- data/lib/mbrao/author.rb +1 -1
- data/lib/mbrao/content.rb +47 -65
- data/lib/mbrao/content_interface.rb +5 -17
- data/lib/mbrao/parser.rb +4 -10
- data/lib/mbrao/parser_interface.rb +9 -19
- data/lib/mbrao/parsing_engines/plain_text.rb +22 -58
- data/lib/mbrao/rendering_engines/html_pipeline.rb +9 -26
- data/lib/mbrao/version.rb +1 -1
- data/mbrao.gemspec +9 -9
- data/spec/mbrao/content_spec.rb +4 -4
- data/spec/mbrao/integrations/rails_spec.rb +4 -4
- data/spec/mbrao/parser_spec.rb +15 -15
- data/spec/spec_helper.rb +19 -5
- metadata +17 -19
- data/spec/coverage_helper.rb +0 -20
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Module: Mbrao::ParserValidations
|
8
8
|
|
9
|
-
— Documentation by YARD 0.8.7.
|
9
|
+
— Documentation by YARD 0.8.7.6
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -125,9 +125,9 @@
|
|
125
125
|
</div>
|
126
126
|
|
127
127
|
<div id="footer">
|
128
|
-
Generated on
|
128
|
+
Generated on Tue Mar 29 12:47:22 2016 by
|
129
129
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
130
|
-
0.8.7.
|
130
|
+
0.8.7.6 (ruby-2.3.0).
|
131
131
|
</div>
|
132
132
|
|
133
133
|
</body>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Module: Mbrao::ParserValidations::ClassMethods
|
8
8
|
|
9
|
-
— Documentation by YARD 0.8.7.
|
9
|
+
— Documentation by YARD 0.8.7.6
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -339,9 +339,9 @@
|
|
339
339
|
</div>
|
340
340
|
|
341
341
|
<div id="footer">
|
342
|
-
Generated on
|
342
|
+
Generated on Tue Mar 29 12:47:22 2016 by
|
343
343
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
344
|
-
0.8.7.
|
344
|
+
0.8.7.6 (ruby-2.3.0).
|
345
345
|
</div>
|
346
346
|
|
347
347
|
</body>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Module: Mbrao::ParsingEngines
|
8
8
|
|
9
|
-
— Documentation by YARD 0.8.7.
|
9
|
+
— Documentation by YARD 0.8.7.6
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -118,9 +118,9 @@
|
|
118
118
|
</div>
|
119
119
|
|
120
120
|
<div id="footer">
|
121
|
-
Generated on
|
121
|
+
Generated on Tue Mar 29 12:47:22 2016 by
|
122
122
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
123
|
-
0.8.7.
|
123
|
+
0.8.7.6 (ruby-2.3.0).
|
124
124
|
</div>
|
125
125
|
|
126
126
|
</body>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: Mbrao::ParsingEngines::Base
|
8
8
|
|
9
|
-
— Documentation by YARD 0.8.7.
|
9
|
+
— Documentation by YARD 0.8.7.6
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -650,9 +650,9 @@ returned, else a <code>HashWithIndifferentAccess</code> with locales as keys.</p
|
|
650
650
|
</div>
|
651
651
|
|
652
652
|
<div id="footer">
|
653
|
-
Generated on
|
653
|
+
Generated on Tue Mar 29 12:47:22 2016 by
|
654
654
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
655
|
-
0.8.7.
|
655
|
+
0.8.7.6 (ruby-2.3.0).
|
656
656
|
</div>
|
657
657
|
|
658
658
|
</body>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: Mbrao::ParsingEngines::PlainText
|
8
8
|
|
9
|
-
— Documentation by YARD 0.8.7.
|
9
|
+
— Documentation by YARD 0.8.7.6
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -311,6 +311,9 @@ returned, else a <code>HashWithIndifferentAccess</code> with locales as keys.</p
|
|
311
311
|
<pre class="lines">
|
312
312
|
|
313
313
|
|
314
|
+
54
|
315
|
+
55
|
316
|
+
56
|
314
317
|
57
|
315
318
|
58
|
316
319
|
59
|
@@ -318,13 +321,10 @@ returned, else a <code>HashWithIndifferentAccess</code> with locales as keys.</p
|
|
318
321
|
61
|
319
322
|
62
|
320
323
|
63
|
321
|
-
64
|
322
|
-
65
|
323
|
-
66
|
324
|
-
67</pre>
|
324
|
+
64</pre>
|
325
325
|
</td>
|
326
326
|
<td>
|
327
|
-
<pre class="code"><span class="info file"># File 'lib/mbrao/parsing_engines/plain_text.rb', line
|
327
|
+
<pre class="code"><span class="info file"># File 'lib/mbrao/parsing_engines/plain_text.rb', line 54</span>
|
328
328
|
|
329
329
|
<span class='kw'>def</span> <span class='id identifier rubyid_filter_content'>filter_content</span><span class='lparen'>(</span><span class='id identifier rubyid_content'>content</span><span class='comma'>,</span> <span class='id identifier rubyid_locales'>locales</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
330
330
|
<span class='id identifier rubyid_body'>body</span> <span class='op'>=</span> <span class='id identifier rubyid_content'>content</span><span class='period'>.</span><span class='id identifier rubyid_body'>body</span><span class='period'>.</span><span class='id identifier rubyid_ensure_string'>ensure_string</span><span class='period'>.</span><span class='id identifier rubyid_strip'>strip</span>
|
@@ -428,10 +428,7 @@ returned, else a <code>HashWithIndifferentAccess</code> with locales as keys.</p
|
|
428
428
|
42
|
429
429
|
43
|
430
430
|
44
|
431
|
-
45
|
432
|
-
46
|
433
|
-
47
|
434
|
-
48</pre>
|
431
|
+
45</pre>
|
435
432
|
</td>
|
436
433
|
<td>
|
437
434
|
<pre class="code"><span class="info file"># File 'lib/mbrao/parsing_engines/plain_text.rb', line 37</span>
|
@@ -442,11 +439,8 @@ returned, else a <code>HashWithIndifferentAccess</code> with locales as keys.</p
|
|
442
439
|
<span class='id identifier rubyid_raise'>raise</span> <span class='const'>ArgumentError</span> <span class='kw'>unless</span> <span class='id identifier rubyid_rv'>rv</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='const'>Hash</span><span class='rparen'>)</span>
|
443
440
|
<span class='id identifier rubyid_rv'>rv</span>
|
444
441
|
<span class='kw'>rescue</span> <span class='op'>=></span> <span class='id identifier rubyid_e'>e</span>
|
445
|
-
<span class='kw'>
|
446
|
-
|
447
|
-
<span class='kw'>else</span>
|
448
|
-
<span class='id identifier rubyid_raise'>raise</span> <span class='op'>::</span><span class='const'>Mbrao</span><span class='op'>::</span><span class='const'>Exceptions</span><span class='op'>::</span><span class='const'>InvalidMetadata</span><span class='comma'>,</span> <span class='id identifier rubyid_e'>e</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span>
|
449
|
-
<span class='kw'>end</span>
|
442
|
+
<span class='id identifier rubyid_raise'>raise</span><span class='lparen'>(</span><span class='op'>::</span><span class='const'>Mbrao</span><span class='op'>::</span><span class='const'>Exceptions</span><span class='op'>::</span><span class='const'>InvalidMetadata</span><span class='comma'>,</span> <span class='id identifier rubyid_e'>e</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span><span class='rparen'>)</span> <span class='kw'>unless</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:default</span><span class='rbracket'>]</span>
|
443
|
+
<span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:default</span><span class='rbracket'>]</span>
|
450
444
|
<span class='kw'>end</span></pre>
|
451
445
|
</td>
|
452
446
|
</tr>
|
@@ -573,9 +567,9 @@ returned, else a <code>HashWithIndifferentAccess</code> with locales as keys.</p
|
|
573
567
|
</div>
|
574
568
|
|
575
569
|
<div id="footer">
|
576
|
-
Generated on
|
570
|
+
Generated on Tue Mar 29 12:47:22 2016 by
|
577
571
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
578
|
-
0.8.7.
|
572
|
+
0.8.7.6 (ruby-2.3.0).
|
579
573
|
</div>
|
580
574
|
|
581
575
|
</body>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Module: Mbrao::RenderingEngines
|
8
8
|
|
9
|
-
— Documentation by YARD 0.8.7.
|
9
|
+
— Documentation by YARD 0.8.7.6
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -118,9 +118,9 @@
|
|
118
118
|
</div>
|
119
119
|
|
120
120
|
<div id="footer">
|
121
|
-
Generated on
|
121
|
+
Generated on Tue Mar 29 12:47:22 2016 by
|
122
122
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
123
|
-
0.8.7.
|
123
|
+
0.8.7.6 (ruby-2.3.0).
|
124
124
|
</div>
|
125
125
|
|
126
126
|
</body>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: Mbrao::RenderingEngines::Base
|
8
8
|
|
9
|
-
— Documentation by YARD 0.8.7.
|
9
|
+
— Documentation by YARD 0.8.7.6
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -271,9 +271,9 @@
|
|
271
271
|
</div>
|
272
272
|
|
273
273
|
<div id="footer">
|
274
|
-
Generated on
|
274
|
+
Generated on Tue Mar 29 12:47:22 2016 by
|
275
275
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
276
|
-
0.8.7.
|
276
|
+
0.8.7.6 (ruby-2.3.0).
|
277
277
|
</div>
|
278
278
|
|
279
279
|
</body>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: Mbrao::RenderingEngines::HtmlPipeline
|
8
8
|
|
9
|
-
— Documentation by YARD 0.8.7.
|
9
|
+
— Documentation by YARD 0.8.7.6
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -353,24 +353,7 @@
|
|
353
353
|
105
|
354
354
|
106
|
355
355
|
107
|
356
|
-
108
|
357
|
-
109
|
358
|
-
110
|
359
|
-
111
|
360
|
-
112
|
361
|
-
113
|
362
|
-
114
|
363
|
-
115
|
364
|
-
116
|
365
|
-
117
|
366
|
-
118
|
367
|
-
119
|
368
|
-
120
|
369
|
-
121
|
370
|
-
122
|
371
|
-
123
|
372
|
-
124
|
373
|
-
125</pre>
|
356
|
+
108</pre>
|
374
357
|
</td>
|
375
358
|
<td>
|
376
359
|
<pre class="code"><span class="info file"># File 'lib/mbrao/rendering_engines/html_pipeline.rb', line 18</span>
|
@@ -386,7 +369,7 @@
|
|
386
369
|
</span> <span class='comment'># @param context [Hash] A context for rendering.
|
387
370
|
</span> <span class='kw'>def</span> <span class='id identifier rubyid_render'>render</span><span class='lparen'>(</span><span class='id identifier rubyid_content'>content</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='comma'>,</span> <span class='id identifier rubyid_context'>context</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
388
371
|
<span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='id identifier rubyid_sanitize_options'>sanitize_options</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
|
389
|
-
<span class='id identifier rubyid_context'>context</span> <span class='op'>=</span> <span class='id identifier rubyid_context'>context</span><span class='period'>.</span><span class='id identifier rubyid_ensure_hash'>ensure_hash</span><span class='lparen'>(</span><span class='symbol'>:symbols</span><span class='rparen'>)</span>
|
372
|
+
<span class='id identifier rubyid_context'>context</span> <span class='op'>=</span> <span class='id identifier rubyid_context'>context</span><span class='period'>.</span><span class='id identifier rubyid_ensure_hash'>ensure_hash</span><span class='lparen'>(</span><span class='label'>accesses:</span> <span class='symbol'>:symbols</span><span class='rparen'>)</span>
|
390
373
|
|
391
374
|
<span class='kw'>begin</span>
|
392
375
|
<span class='id identifier rubyid_create_pipeline'>create_pipeline</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span><span class='comma'>,</span> <span class='id identifier rubyid_context'>context</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_call'>call</span><span class='lparen'>(</span><span class='id identifier rubyid_get_body'>get_body</span><span class='lparen'>(</span><span class='id identifier rubyid_content'>content</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span><span class='rparen'>)</span><span class='lbracket'>[</span><span class='symbol'>:output</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span>
|
@@ -408,7 +391,7 @@
|
|
408
391
|
</span> <span class='comment'>#
|
409
392
|
</span> <span class='comment'># @return [Array] The default pipeline.
|
410
393
|
</span> <span class='kw'>def</span> <span class='id identifier rubyid_default_pipeline='>default_pipeline=</span><span class='lparen'>(</span><span class='id identifier rubyid_value'>value</span><span class='rparen'>)</span>
|
411
|
-
<span class='ivar'>@default_pipeline</span> <span class='op'>=</span> <span class='id identifier rubyid_value'>value</span><span class='period'>.</span><span class='id identifier rubyid_ensure_array'>ensure_array</span
|
394
|
+
<span class='ivar'>@default_pipeline</span> <span class='op'>=</span> <span class='id identifier rubyid_value'>value</span><span class='period'>.</span><span class='id identifier rubyid_ensure_array'>ensure_array</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_v'>v</span><span class='op'>|</span> <span class='id identifier rubyid_v'>v</span><span class='period'>.</span><span class='id identifier rubyid_ensure_array'>ensure_array</span><span class='lparen'>(</span><span class='label'>no_duplicates:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>compact:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>flatten:</span> <span class='kw'>true</span><span class='rparen'>)</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_p'>p</span><span class='op'>|</span> <span class='id identifier rubyid_p'>p</span><span class='period'>.</span><span class='id identifier rubyid_ensure_string'>ensure_string</span><span class='period'>.</span><span class='id identifier rubyid_to_sym'>to_sym</span> <span class='rbrace'>}</span> <span class='rbrace'>}</span>
|
412
395
|
<span class='kw'>end</span>
|
413
396
|
|
414
397
|
<span class='comment'># Gets the default options.
|
@@ -427,33 +410,22 @@
|
|
427
410
|
|
428
411
|
<span class='id identifier rubyid_private'>private</span>
|
429
412
|
|
430
|
-
<span class='comment'>#
|
431
|
-
</span> <span class='comment'>#
|
432
|
-
</span> <span class='comment'># @param options [Hash] The options to sanitize.
|
433
|
-
</span> <span class='comment'># @return [Hash] The sanitized options.
|
413
|
+
<span class='comment'># :nodoc:
|
434
414
|
</span> <span class='kw'>def</span> <span class='id identifier rubyid_sanitize_options'>sanitize_options</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
|
435
|
-
<span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span><span class='period'>.</span><span class='id identifier rubyid_ensure_hash'>ensure_hash</span><span class='lparen'>(</span><span class='symbol'>:symbols</span><span class='rparen'>)</span>
|
415
|
+
<span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span><span class='period'>.</span><span class='id identifier rubyid_ensure_hash'>ensure_hash</span><span class='lparen'>(</span><span class='label'>accesses:</span> <span class='symbol'>:symbols</span><span class='rparen'>)</span>
|
436
416
|
<span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='id identifier rubyid_filter_filters'>filter_filters</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
|
437
|
-
<span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:pipeline_options</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_default_options'>default_options</span><span class='period'>.</span><span class='id identifier rubyid_merge'>merge</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:pipeline_options</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_ensure_hash'>ensure_hash</span><span class='lparen'>(</span><span class='symbol'>:symbols</span><span class='rparen'>)</span><span class='rparen'>)</span>
|
417
|
+
<span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:pipeline_options</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_default_options'>default_options</span><span class='period'>.</span><span class='id identifier rubyid_merge'>merge</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:pipeline_options</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_ensure_hash'>ensure_hash</span><span class='lparen'>(</span><span class='label'>accesses:</span> <span class='symbol'>:symbols</span><span class='rparen'>)</span><span class='rparen'>)</span>
|
438
418
|
|
439
419
|
<span class='id identifier rubyid_options'>options</span>
|
440
420
|
<span class='kw'>end</span>
|
441
421
|
|
442
|
-
<span class='comment'>#
|
443
|
-
</span> <span class='comment'>#
|
444
|
-
</span> <span class='comment'># @param content [Content|String] The content to sanitize.
|
445
|
-
</span> <span class='comment'># @param options [Hash] A list of options for renderer.
|
446
|
-
</span> <span class='comment'># @return [Array] The body to parse.
|
422
|
+
<span class='comment'># :nodoc:
|
447
423
|
</span> <span class='kw'>def</span> <span class='id identifier rubyid_get_body'>get_body</span><span class='lparen'>(</span><span class='id identifier rubyid_content'>content</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
|
448
424
|
<span class='id identifier rubyid_content'>content</span> <span class='op'>=</span> <span class='op'>::</span><span class='const'>Mbrao</span><span class='op'>::</span><span class='const'>Content</span><span class='period'>.</span><span class='id identifier rubyid_create'>create</span><span class='lparen'>(</span><span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_content'>content</span><span class='period'>.</span><span class='id identifier rubyid_ensure_string'>ensure_string</span><span class='rparen'>)</span> <span class='kw'>unless</span> <span class='id identifier rubyid_content'>content</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='op'>::</span><span class='const'>Mbrao</span><span class='op'>::</span><span class='const'>Content</span><span class='rparen'>)</span>
|
449
425
|
<span class='id identifier rubyid_content'>content</span><span class='period'>.</span><span class='id identifier rubyid_get_body'>get_body</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span><span class='period'>.</span><span class='id identifier rubyid_fetch'>fetch</span><span class='lparen'>(</span><span class='symbol'>:locales</span><span class='comma'>,</span> <span class='op'>::</span><span class='const'>Mbrao</span><span class='op'>::</span><span class='const'>Parser</span><span class='period'>.</span><span class='id identifier rubyid_locale'>locale</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_ensure_string'>ensure_string</span><span class='rparen'>)</span>
|
450
426
|
<span class='kw'>end</span>
|
451
427
|
|
452
|
-
<span class='comment'>#
|
453
|
-
</span> <span class='comment'>#
|
454
|
-
</span> <span class='comment'># @param options [Hash] A list of options for renderer.
|
455
|
-
</span> <span class='comment'># @param context [Hash] A context for rendering.
|
456
|
-
</span> <span class='comment'># @return [HTML::Pipeline] The pipeline
|
428
|
+
<span class='comment'># :nodoc:
|
457
429
|
</span> <span class='kw'>def</span> <span class='id identifier rubyid_create_pipeline'>create_pipeline</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span><span class='comma'>,</span> <span class='id identifier rubyid_context'>context</span><span class='rparen'>)</span>
|
458
430
|
<span class='op'>::</span><span class='const'>HTML</span><span class='op'>::</span><span class='const'>Pipeline</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span>
|
459
431
|
<span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:pipeline</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_map'>map</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_f'>f</span><span class='op'>|</span> <span class='op'>::</span><span class='const'>Lazier</span><span class='period'>.</span><span class='id identifier rubyid_find_class'>find_class</span><span class='lparen'>(</span><span class='id identifier rubyid_f'>f</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>::HTML::Pipeline::%CLASS%Filter</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='kw'>true</span><span class='rparen'>)</span> <span class='rbrace'>}</span><span class='comma'>,</span>
|
@@ -461,10 +433,7 @@
|
|
461
433
|
<span class='rparen'>)</span>
|
462
434
|
<span class='kw'>end</span>
|
463
435
|
|
464
|
-
<span class='comment'>#
|
465
|
-
</span> <span class='comment'>#
|
466
|
-
</span> <span class='comment'># @param options [Hash] The original options.
|
467
|
-
</span> <span class='comment'># @return [Hash] The options with the new set of filters.
|
436
|
+
<span class='comment'># :nodoc:
|
468
437
|
</span> <span class='kw'>def</span> <span class='id identifier rubyid_filter_filters'>filter_filters</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
|
469
438
|
<span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:pipeline</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_get_pipeline'>get_pipeline</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
|
470
439
|
|
@@ -475,10 +444,7 @@
|
|
475
444
|
<span class='id identifier rubyid_options'>options</span>
|
476
445
|
<span class='kw'>end</span>
|
477
446
|
|
478
|
-
<span class='comment'>#
|
479
|
-
</span> <span class='comment'>#
|
480
|
-
</span> <span class='comment'># @param options [Hash] The options to parse.
|
481
|
-
</span> <span class='comment'># @return [Array] The pipeline to process.
|
447
|
+
<span class='comment'># :nodoc:
|
482
448
|
</span> <span class='kw'>def</span> <span class='id identifier rubyid_get_pipeline'>get_pipeline</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
|
483
449
|
<span class='id identifier rubyid_options'>options</span><span class='period'>.</span><span class='id identifier rubyid_fetch'>fetch</span><span class='lparen'>(</span><span class='symbol'>:pipeline</span><span class='comma'>,</span> <span class='id identifier rubyid_default_pipeline'>default_pipeline</span><span class='period'>.</span><span class='id identifier rubyid_map'>map</span><span class='lparen'>(</span><span class='op'>&</span><span class='symbol'>:first</span><span class='rparen'>)</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_map'>map</span><span class='lparen'>(</span><span class='op'>&</span><span class='symbol'>:to_sym</span><span class='rparen'>)</span>
|
484
450
|
<span class='kw'>end</span>
|
@@ -622,24 +588,7 @@
|
|
622
588
|
105
|
623
589
|
106
|
624
590
|
107
|
625
|
-
108
|
626
|
-
109
|
627
|
-
110
|
628
|
-
111
|
629
|
-
112
|
630
|
-
113
|
631
|
-
114
|
632
|
-
115
|
633
|
-
116
|
634
|
-
117
|
635
|
-
118
|
636
|
-
119
|
637
|
-
120
|
638
|
-
121
|
639
|
-
122
|
640
|
-
123
|
641
|
-
124
|
642
|
-
125</pre>
|
591
|
+
108</pre>
|
643
592
|
</td>
|
644
593
|
<td>
|
645
594
|
<pre class="code"><span class="info file"># File 'lib/mbrao/rendering_engines/html_pipeline.rb', line 18</span>
|
@@ -655,7 +604,7 @@
|
|
655
604
|
</span> <span class='comment'># @param context [Hash] A context for rendering.
|
656
605
|
</span> <span class='kw'>def</span> <span class='id identifier rubyid_render'>render</span><span class='lparen'>(</span><span class='id identifier rubyid_content'>content</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='comma'>,</span> <span class='id identifier rubyid_context'>context</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
657
606
|
<span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='id identifier rubyid_sanitize_options'>sanitize_options</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
|
658
|
-
<span class='id identifier rubyid_context'>context</span> <span class='op'>=</span> <span class='id identifier rubyid_context'>context</span><span class='period'>.</span><span class='id identifier rubyid_ensure_hash'>ensure_hash</span><span class='lparen'>(</span><span class='symbol'>:symbols</span><span class='rparen'>)</span>
|
607
|
+
<span class='id identifier rubyid_context'>context</span> <span class='op'>=</span> <span class='id identifier rubyid_context'>context</span><span class='period'>.</span><span class='id identifier rubyid_ensure_hash'>ensure_hash</span><span class='lparen'>(</span><span class='label'>accesses:</span> <span class='symbol'>:symbols</span><span class='rparen'>)</span>
|
659
608
|
|
660
609
|
<span class='kw'>begin</span>
|
661
610
|
<span class='id identifier rubyid_create_pipeline'>create_pipeline</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span><span class='comma'>,</span> <span class='id identifier rubyid_context'>context</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_call'>call</span><span class='lparen'>(</span><span class='id identifier rubyid_get_body'>get_body</span><span class='lparen'>(</span><span class='id identifier rubyid_content'>content</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span><span class='rparen'>)</span><span class='lbracket'>[</span><span class='symbol'>:output</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span>
|
@@ -677,7 +626,7 @@
|
|
677
626
|
</span> <span class='comment'>#
|
678
627
|
</span> <span class='comment'># @return [Array] The default pipeline.
|
679
628
|
</span> <span class='kw'>def</span> <span class='id identifier rubyid_default_pipeline='>default_pipeline=</span><span class='lparen'>(</span><span class='id identifier rubyid_value'>value</span><span class='rparen'>)</span>
|
680
|
-
<span class='ivar'>@default_pipeline</span> <span class='op'>=</span> <span class='id identifier rubyid_value'>value</span><span class='period'>.</span><span class='id identifier rubyid_ensure_array'>ensure_array</span
|
629
|
+
<span class='ivar'>@default_pipeline</span> <span class='op'>=</span> <span class='id identifier rubyid_value'>value</span><span class='period'>.</span><span class='id identifier rubyid_ensure_array'>ensure_array</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_v'>v</span><span class='op'>|</span> <span class='id identifier rubyid_v'>v</span><span class='period'>.</span><span class='id identifier rubyid_ensure_array'>ensure_array</span><span class='lparen'>(</span><span class='label'>no_duplicates:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>compact:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>flatten:</span> <span class='kw'>true</span><span class='rparen'>)</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_p'>p</span><span class='op'>|</span> <span class='id identifier rubyid_p'>p</span><span class='period'>.</span><span class='id identifier rubyid_ensure_string'>ensure_string</span><span class='period'>.</span><span class='id identifier rubyid_to_sym'>to_sym</span> <span class='rbrace'>}</span> <span class='rbrace'>}</span>
|
681
630
|
<span class='kw'>end</span>
|
682
631
|
|
683
632
|
<span class='comment'># Gets the default options.
|
@@ -696,33 +645,22 @@
|
|
696
645
|
|
697
646
|
<span class='id identifier rubyid_private'>private</span>
|
698
647
|
|
699
|
-
<span class='comment'>#
|
700
|
-
</span> <span class='comment'>#
|
701
|
-
</span> <span class='comment'># @param options [Hash] The options to sanitize.
|
702
|
-
</span> <span class='comment'># @return [Hash] The sanitized options.
|
648
|
+
<span class='comment'># :nodoc:
|
703
649
|
</span> <span class='kw'>def</span> <span class='id identifier rubyid_sanitize_options'>sanitize_options</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
|
704
|
-
<span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span><span class='period'>.</span><span class='id identifier rubyid_ensure_hash'>ensure_hash</span><span class='lparen'>(</span><span class='symbol'>:symbols</span><span class='rparen'>)</span>
|
650
|
+
<span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span><span class='period'>.</span><span class='id identifier rubyid_ensure_hash'>ensure_hash</span><span class='lparen'>(</span><span class='label'>accesses:</span> <span class='symbol'>:symbols</span><span class='rparen'>)</span>
|
705
651
|
<span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='id identifier rubyid_filter_filters'>filter_filters</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
|
706
|
-
<span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:pipeline_options</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_default_options'>default_options</span><span class='period'>.</span><span class='id identifier rubyid_merge'>merge</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:pipeline_options</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_ensure_hash'>ensure_hash</span><span class='lparen'>(</span><span class='symbol'>:symbols</span><span class='rparen'>)</span><span class='rparen'>)</span>
|
652
|
+
<span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:pipeline_options</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_default_options'>default_options</span><span class='period'>.</span><span class='id identifier rubyid_merge'>merge</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:pipeline_options</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_ensure_hash'>ensure_hash</span><span class='lparen'>(</span><span class='label'>accesses:</span> <span class='symbol'>:symbols</span><span class='rparen'>)</span><span class='rparen'>)</span>
|
707
653
|
|
708
654
|
<span class='id identifier rubyid_options'>options</span>
|
709
655
|
<span class='kw'>end</span>
|
710
656
|
|
711
|
-
<span class='comment'>#
|
712
|
-
</span> <span class='comment'>#
|
713
|
-
</span> <span class='comment'># @param content [Content|String] The content to sanitize.
|
714
|
-
</span> <span class='comment'># @param options [Hash] A list of options for renderer.
|
715
|
-
</span> <span class='comment'># @return [Array] The body to parse.
|
657
|
+
<span class='comment'># :nodoc:
|
716
658
|
</span> <span class='kw'>def</span> <span class='id identifier rubyid_get_body'>get_body</span><span class='lparen'>(</span><span class='id identifier rubyid_content'>content</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
|
717
659
|
<span class='id identifier rubyid_content'>content</span> <span class='op'>=</span> <span class='op'>::</span><span class='const'>Mbrao</span><span class='op'>::</span><span class='const'>Content</span><span class='period'>.</span><span class='id identifier rubyid_create'>create</span><span class='lparen'>(</span><span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_content'>content</span><span class='period'>.</span><span class='id identifier rubyid_ensure_string'>ensure_string</span><span class='rparen'>)</span> <span class='kw'>unless</span> <span class='id identifier rubyid_content'>content</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='op'>::</span><span class='const'>Mbrao</span><span class='op'>::</span><span class='const'>Content</span><span class='rparen'>)</span>
|
718
660
|
<span class='id identifier rubyid_content'>content</span><span class='period'>.</span><span class='id identifier rubyid_get_body'>get_body</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span><span class='period'>.</span><span class='id identifier rubyid_fetch'>fetch</span><span class='lparen'>(</span><span class='symbol'>:locales</span><span class='comma'>,</span> <span class='op'>::</span><span class='const'>Mbrao</span><span class='op'>::</span><span class='const'>Parser</span><span class='period'>.</span><span class='id identifier rubyid_locale'>locale</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_ensure_string'>ensure_string</span><span class='rparen'>)</span>
|
719
661
|
<span class='kw'>end</span>
|
720
662
|
|
721
|
-
<span class='comment'>#
|
722
|
-
</span> <span class='comment'>#
|
723
|
-
</span> <span class='comment'># @param options [Hash] A list of options for renderer.
|
724
|
-
</span> <span class='comment'># @param context [Hash] A context for rendering.
|
725
|
-
</span> <span class='comment'># @return [HTML::Pipeline] The pipeline
|
663
|
+
<span class='comment'># :nodoc:
|
726
664
|
</span> <span class='kw'>def</span> <span class='id identifier rubyid_create_pipeline'>create_pipeline</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span><span class='comma'>,</span> <span class='id identifier rubyid_context'>context</span><span class='rparen'>)</span>
|
727
665
|
<span class='op'>::</span><span class='const'>HTML</span><span class='op'>::</span><span class='const'>Pipeline</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span>
|
728
666
|
<span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:pipeline</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_map'>map</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_f'>f</span><span class='op'>|</span> <span class='op'>::</span><span class='const'>Lazier</span><span class='period'>.</span><span class='id identifier rubyid_find_class'>find_class</span><span class='lparen'>(</span><span class='id identifier rubyid_f'>f</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>::HTML::Pipeline::%CLASS%Filter</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='kw'>true</span><span class='rparen'>)</span> <span class='rbrace'>}</span><span class='comma'>,</span>
|
@@ -730,10 +668,7 @@
|
|
730
668
|
<span class='rparen'>)</span>
|
731
669
|
<span class='kw'>end</span>
|
732
670
|
|
733
|
-
<span class='comment'>#
|
734
|
-
</span> <span class='comment'>#
|
735
|
-
</span> <span class='comment'># @param options [Hash] The original options.
|
736
|
-
</span> <span class='comment'># @return [Hash] The options with the new set of filters.
|
671
|
+
<span class='comment'># :nodoc:
|
737
672
|
</span> <span class='kw'>def</span> <span class='id identifier rubyid_filter_filters'>filter_filters</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
|
738
673
|
<span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:pipeline</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_get_pipeline'>get_pipeline</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
|
739
674
|
|
@@ -744,10 +679,7 @@
|
|
744
679
|
<span class='id identifier rubyid_options'>options</span>
|
745
680
|
<span class='kw'>end</span>
|
746
681
|
|
747
|
-
<span class='comment'>#
|
748
|
-
</span> <span class='comment'>#
|
749
|
-
</span> <span class='comment'># @param options [Hash] The options to parse.
|
750
|
-
</span> <span class='comment'># @return [Array] The pipeline to process.
|
682
|
+
<span class='comment'># :nodoc:
|
751
683
|
</span> <span class='kw'>def</span> <span class='id identifier rubyid_get_pipeline'>get_pipeline</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
|
752
684
|
<span class='id identifier rubyid_options'>options</span><span class='period'>.</span><span class='id identifier rubyid_fetch'>fetch</span><span class='lparen'>(</span><span class='symbol'>:pipeline</span><span class='comma'>,</span> <span class='id identifier rubyid_default_pipeline'>default_pipeline</span><span class='period'>.</span><span class='id identifier rubyid_map'>map</span><span class='lparen'>(</span><span class='op'>&</span><span class='symbol'>:first</span><span class='rparen'>)</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_map'>map</span><span class='lparen'>(</span><span class='op'>&</span><span class='symbol'>:to_sym</span><span class='rparen'>)</span>
|
753
685
|
<span class='kw'>end</span>
|
@@ -860,7 +792,7 @@
|
|
860
792
|
|
861
793
|
<span class='kw'>def</span> <span class='id identifier rubyid_render'>render</span><span class='lparen'>(</span><span class='id identifier rubyid_content'>content</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='comma'>,</span> <span class='id identifier rubyid_context'>context</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
862
794
|
<span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='id identifier rubyid_sanitize_options'>sanitize_options</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
|
863
|
-
<span class='id identifier rubyid_context'>context</span> <span class='op'>=</span> <span class='id identifier rubyid_context'>context</span><span class='period'>.</span><span class='id identifier rubyid_ensure_hash'>ensure_hash</span><span class='lparen'>(</span><span class='symbol'>:symbols</span><span class='rparen'>)</span>
|
795
|
+
<span class='id identifier rubyid_context'>context</span> <span class='op'>=</span> <span class='id identifier rubyid_context'>context</span><span class='period'>.</span><span class='id identifier rubyid_ensure_hash'>ensure_hash</span><span class='lparen'>(</span><span class='label'>accesses:</span> <span class='symbol'>:symbols</span><span class='rparen'>)</span>
|
864
796
|
|
865
797
|
<span class='kw'>begin</span>
|
866
798
|
<span class='id identifier rubyid_create_pipeline'>create_pipeline</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span><span class='comma'>,</span> <span class='id identifier rubyid_context'>context</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_call'>call</span><span class='lparen'>(</span><span class='id identifier rubyid_get_body'>get_body</span><span class='lparen'>(</span><span class='id identifier rubyid_content'>content</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span><span class='rparen'>)</span><span class='lbracket'>[</span><span class='symbol'>:output</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span>
|
@@ -880,9 +812,9 @@
|
|
880
812
|
</div>
|
881
813
|
|
882
814
|
<div id="footer">
|
883
|
-
Generated on
|
815
|
+
Generated on Tue Mar 29 12:47:22 2016 by
|
884
816
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
885
|
-
0.8.7.
|
817
|
+
0.8.7.6 (ruby-2.3.0).
|
886
818
|
</div>
|
887
819
|
|
888
820
|
</body>
|
data/doc/Mbrao/Version.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Module: Mbrao::Version
|
8
8
|
|
9
|
-
— Documentation by YARD 0.8.7.
|
9
|
+
— Documentation by YARD 0.8.7.6
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -134,7 +134,7 @@
|
|
134
134
|
|
135
135
|
</div>
|
136
136
|
</dt>
|
137
|
-
<dd><pre class="code"><span class='int'>
|
137
|
+
<dd><pre class="code"><span class='int'>6</span></pre></dd>
|
138
138
|
|
139
139
|
<dt id="PATCH-constant" class="">PATCH =
|
140
140
|
<div class="docstring">
|
@@ -180,9 +180,9 @@
|
|
180
180
|
</div>
|
181
181
|
|
182
182
|
<div id="footer">
|
183
|
-
Generated on
|
183
|
+
Generated on Tue Mar 29 12:47:22 2016 by
|
184
184
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
185
|
-
0.8.7.
|
185
|
+
0.8.7.6 (ruby-2.3.0).
|
186
186
|
</div>
|
187
187
|
|
188
188
|
</body>
|