mbrao 1.0.3 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Gemfile +1 -2
- data/doc/ActionView/Template/Handlers/MbraoTemplate.html +1 -1
- data/doc/ActionView/Template/Handlers.html +1 -1
- data/doc/HTML/Pipeline/KramdownFilter.html +1 -1
- data/doc/HTML/Pipeline.html +1 -1
- data/doc/HTML.html +1 -1
- data/doc/Mbrao/Author.html +1 -1
- data/doc/Mbrao/Content.html +1 -1
- data/doc/Mbrao/ContentPublicInterface.html +1 -1
- data/doc/Mbrao/Exceptions/InvalidDate.html +1 -1
- data/doc/Mbrao/Exceptions/InvalidMetadata.html +1 -1
- data/doc/Mbrao/Exceptions/Parsing.html +1 -1
- data/doc/Mbrao/Exceptions/Rendering.html +1 -1
- data/doc/Mbrao/Exceptions/UnavailableLocalization.html +1 -1
- data/doc/Mbrao/Exceptions/Unimplemented.html +1 -1
- data/doc/Mbrao/Exceptions/UnknownEngine.html +1 -1
- data/doc/Mbrao/Exceptions.html +1 -1
- data/doc/Mbrao/Parser.html +11 -11
- data/doc/Mbrao/ParsingEngines/Base.html +1 -1
- data/doc/Mbrao/ParsingEngines/PlainText.html +1 -1
- data/doc/Mbrao/ParsingEngines.html +1 -1
- data/doc/Mbrao/PublicInterface/ClassMethods.html +20 -329
- data/doc/Mbrao/PublicInterface.html +1 -1
- data/doc/Mbrao/RenderingEngines/Base.html +1 -1
- data/doc/Mbrao/RenderingEngines/HtmlPipeline.html +3 -3
- data/doc/Mbrao/RenderingEngines.html +1 -1
- data/doc/Mbrao/Validations/ClassMethods.html +50 -50
- data/doc/Mbrao/Validations.html +1 -1
- data/doc/Mbrao/Version.html +3 -3
- data/doc/Mbrao.html +1 -1
- data/doc/_index.html +1 -1
- data/doc/file.README.html +1 -1
- data/doc/index.html +1 -1
- data/doc/method_list.html +54 -62
- data/doc/top-level-namespace.html +1 -1
- data/lib/mbrao/parser.rb +2 -26
- data/lib/mbrao/rendering_engines/html_pipeline.rb +1 -1
- data/lib/mbrao/version.rb +2 -2
- data/mbrao.gemspec +2 -2
- data/spec/mbrao/parser_spec.rb +3 -30
- data/spec/mbrao/rendering_engines/html_pipeline_spec.rb +6 -6
- metadata +7 -7
data/Gemfile
CHANGED
@@ -11,11 +11,10 @@ gemspec
|
|
11
11
|
# Testing
|
12
12
|
gem "rspec", "~> 2.13.0"
|
13
13
|
gem "rake", "~> 10.0.3"
|
14
|
-
gem "actionpack", "~> 3.2.
|
14
|
+
gem "actionpack", "~> 3.2.13"
|
15
15
|
|
16
16
|
# Documentation
|
17
17
|
gem "simplecov", ">= 0.7.1"
|
18
18
|
gem "pry", ">= 0"
|
19
19
|
gem "yard", ">= 0.8.5"
|
20
|
-
gem "kramdown", ">= 0.14.2"
|
21
20
|
gem "github-markup", ">= 0.7.5"
|
@@ -559,7 +559,7 @@
|
|
559
559
|
</div>
|
560
560
|
|
561
561
|
<div id="footer">
|
562
|
-
Generated on
|
562
|
+
Generated on Sun Mar 24 11:07:09 2013 by
|
563
563
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
564
564
|
0.8.5.2 (ruby-1.9.3).
|
565
565
|
</div>
|
@@ -116,7 +116,7 @@
|
|
116
116
|
</div>
|
117
117
|
|
118
118
|
<div id="footer">
|
119
|
-
Generated on
|
119
|
+
Generated on Sun Mar 24 11:07:07 2013 by
|
120
120
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
121
121
|
0.8.5.2 (ruby-1.9.3).
|
122
122
|
</div>
|
@@ -345,7 +345,7 @@
|
|
345
345
|
</div>
|
346
346
|
|
347
347
|
<div id="footer">
|
348
|
-
Generated on
|
348
|
+
Generated on Sun Mar 24 11:07:09 2013 by
|
349
349
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
350
350
|
0.8.5.2 (ruby-1.9.3).
|
351
351
|
</div>
|
data/doc/HTML/Pipeline.html
CHANGED
@@ -131,7 +131,7 @@
|
|
131
131
|
</div>
|
132
132
|
|
133
133
|
<div id="footer">
|
134
|
-
Generated on
|
134
|
+
Generated on Sun Mar 24 11:07:08 2013 by
|
135
135
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
136
136
|
0.8.5.2 (ruby-1.9.3).
|
137
137
|
</div>
|
data/doc/HTML.html
CHANGED
@@ -116,7 +116,7 @@
|
|
116
116
|
</div>
|
117
117
|
|
118
118
|
<div id="footer">
|
119
|
-
Generated on
|
119
|
+
Generated on Sun Mar 24 11:07:07 2013 by
|
120
120
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
121
121
|
0.8.5.2 (ruby-1.9.3).
|
122
122
|
</div>
|
data/doc/Mbrao/Author.html
CHANGED
@@ -1393,7 +1393,7 @@
|
|
1393
1393
|
</div>
|
1394
1394
|
|
1395
1395
|
<div id="footer">
|
1396
|
-
Generated on
|
1396
|
+
Generated on Sun Mar 24 11:07:08 2013 by
|
1397
1397
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1398
1398
|
0.8.5.2 (ruby-1.9.3).
|
1399
1399
|
</div>
|
data/doc/Mbrao/Content.html
CHANGED
@@ -4770,7 +4770,7 @@
|
|
4770
4770
|
</div>
|
4771
4771
|
|
4772
4772
|
<div id="footer">
|
4773
|
-
Generated on
|
4773
|
+
Generated on Sun Mar 24 11:07:08 2013 by
|
4774
4774
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
4775
4775
|
0.8.5.2 (ruby-1.9.3).
|
4776
4776
|
</div>
|
@@ -649,7 +649,7 @@
|
|
649
649
|
</div>
|
650
650
|
|
651
651
|
<div id="footer">
|
652
|
-
Generated on
|
652
|
+
Generated on Sun Mar 24 11:07:07 2013 by
|
653
653
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
654
654
|
0.8.5.2 (ruby-1.9.3).
|
655
655
|
</div>
|
@@ -124,7 +124,7 @@
|
|
124
124
|
</div>
|
125
125
|
|
126
126
|
<div id="footer">
|
127
|
-
Generated on
|
127
|
+
Generated on Sun Mar 24 11:07:08 2013 by
|
128
128
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
129
129
|
0.8.5.2 (ruby-1.9.3).
|
130
130
|
</div>
|
@@ -124,7 +124,7 @@
|
|
124
124
|
</div>
|
125
125
|
|
126
126
|
<div id="footer">
|
127
|
-
Generated on
|
127
|
+
Generated on Sun Mar 24 11:07:08 2013 by
|
128
128
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
129
129
|
0.8.5.2 (ruby-1.9.3).
|
130
130
|
</div>
|
@@ -124,7 +124,7 @@
|
|
124
124
|
</div>
|
125
125
|
|
126
126
|
<div id="footer">
|
127
|
-
Generated on
|
127
|
+
Generated on Sun Mar 24 11:07:08 2013 by
|
128
128
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
129
129
|
0.8.5.2 (ruby-1.9.3).
|
130
130
|
</div>
|
@@ -124,7 +124,7 @@
|
|
124
124
|
</div>
|
125
125
|
|
126
126
|
<div id="footer">
|
127
|
-
Generated on
|
127
|
+
Generated on Sun Mar 24 11:07:08 2013 by
|
128
128
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
129
129
|
0.8.5.2 (ruby-1.9.3).
|
130
130
|
</div>
|
@@ -124,7 +124,7 @@
|
|
124
124
|
</div>
|
125
125
|
|
126
126
|
<div id="footer">
|
127
|
-
Generated on
|
127
|
+
Generated on Sun Mar 24 11:07:08 2013 by
|
128
128
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
129
129
|
0.8.5.2 (ruby-1.9.3).
|
130
130
|
</div>
|
@@ -124,7 +124,7 @@
|
|
124
124
|
</div>
|
125
125
|
|
126
126
|
<div id="footer">
|
127
|
-
Generated on
|
127
|
+
Generated on Sun Mar 24 11:07:08 2013 by
|
128
128
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
129
129
|
0.8.5.2 (ruby-1.9.3).
|
130
130
|
</div>
|
@@ -124,7 +124,7 @@
|
|
124
124
|
</div>
|
125
125
|
|
126
126
|
<div id="footer">
|
127
|
-
Generated on
|
127
|
+
Generated on Sun Mar 24 11:07:08 2013 by
|
128
128
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
129
129
|
0.8.5.2 (ruby-1.9.3).
|
130
130
|
</div>
|
data/doc/Mbrao/Exceptions.html
CHANGED
@@ -116,7 +116,7 @@
|
|
116
116
|
</div>
|
117
117
|
|
118
118
|
<div id="footer">
|
119
|
-
Generated on
|
119
|
+
Generated on Sun Mar 24 11:07:07 2013 by
|
120
120
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
121
121
|
0.8.5.2 (ruby-1.9.3).
|
122
122
|
</div>
|
data/doc/Mbrao/Parser.html
CHANGED
@@ -275,13 +275,13 @@
|
|
275
275
|
<pre class="lines">
|
276
276
|
|
277
277
|
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
278
|
+
211
|
279
|
+
212
|
280
|
+
213
|
281
|
+
214</pre>
|
282
282
|
</td>
|
283
283
|
<td>
|
284
|
-
<pre class="code"><span class="info file"># File 'lib/mbrao/parser.rb', line
|
284
|
+
<pre class="code"><span class="info file"># File 'lib/mbrao/parser.rb', line 211</span>
|
285
285
|
|
286
286
|
<span class='kw'>def</span> <span class='id identifier rubyid_parse'>parse</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='rparen'>)</span>
|
287
287
|
<span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='id identifier rubyid_sanitize_parsing_options'>sanitize_parsing_options</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
|
@@ -387,13 +387,13 @@
|
|
387
387
|
<pre class="lines">
|
388
388
|
|
389
389
|
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
390
|
+
222
|
391
|
+
223
|
392
|
+
224
|
393
|
+
225</pre>
|
394
394
|
</td>
|
395
395
|
<td>
|
396
|
-
<pre class="code"><span class="info file"># File 'lib/mbrao/parser.rb', line
|
396
|
+
<pre class="code"><span class="info file"># File 'lib/mbrao/parser.rb', line 222</span>
|
397
397
|
|
398
398
|
<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>
|
399
399
|
<span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='id identifier rubyid_sanitize_rendering_options'>sanitize_rendering_options</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
|
@@ -409,7 +409,7 @@
|
|
409
409
|
</div>
|
410
410
|
|
411
411
|
<div id="footer">
|
412
|
-
Generated on
|
412
|
+
Generated on Sun Mar 24 11:07:08 2013 by
|
413
413
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
414
414
|
0.8.5.2 (ruby-1.9.3).
|
415
415
|
</div>
|
@@ -649,7 +649,7 @@
|
|
649
649
|
</div>
|
650
650
|
|
651
651
|
<div id="footer">
|
652
|
-
Generated on
|
652
|
+
Generated on Sun Mar 24 11:07:08 2013 by
|
653
653
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
654
654
|
0.8.5.2 (ruby-1.9.3).
|
655
655
|
</div>
|
@@ -562,7 +562,7 @@
|
|
562
562
|
</div>
|
563
563
|
|
564
564
|
<div id="footer">
|
565
|
-
Generated on
|
565
|
+
Generated on Sun Mar 24 11:07:08 2013 by
|
566
566
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
567
567
|
0.8.5.2 (ruby-1.9.3).
|
568
568
|
</div>
|
@@ -118,7 +118,7 @@
|
|
118
118
|
</div>
|
119
119
|
|
120
120
|
<div id="footer">
|
121
|
-
Generated on
|
121
|
+
Generated on Sun Mar 24 11:07:07 2013 by
|
122
122
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
123
123
|
0.8.5.2 (ruby-1.9.3).
|
124
124
|
</div>
|