mbrao 1.4.4 → 1.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +29 -0
- data/.travis.yml +3 -4
- data/CHANGELOG.md +5 -0
- data/Gemfile +4 -4
- data/doc/ActionView.html +125 -0
- data/doc/ActionView/Template.html +140 -0
- data/doc/ActionView/Template/Handlers.html +3 -3
- data/doc/ActionView/Template/Handlers/MbraoTemplate.html +26 -26
- data/doc/HTML.html +2 -2
- data/doc/HTML/Pipeline.html +2 -2
- data/doc/HTML/Pipeline/KramdownFilter.html +4 -4
- data/doc/Mbrao.html +3 -3
- data/doc/Mbrao/Author.html +29 -29
- data/doc/Mbrao/Content.html +1977 -3644
- data/doc/Mbrao/ContentInterface.html +817 -0
- data/doc/Mbrao/ContentInterface/ClassMethods.html +388 -0
- data/doc/Mbrao/Exceptions.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/Parser.html +12 -12
- data/doc/Mbrao/ParserInterface.html +134 -0
- data/doc/Mbrao/ParserInterface/ClassMethods.html +1724 -0
- data/doc/Mbrao/ParserValidations.html +134 -0
- data/doc/Mbrao/ParserValidations/ClassMethods.html +348 -0
- data/doc/Mbrao/ParsingEngines.html +1 -1
- data/doc/Mbrao/ParsingEngines/Base.html +4 -4
- data/doc/Mbrao/ParsingEngines/PlainText.html +25 -15
- data/doc/Mbrao/RenderingEngines.html +1 -1
- data/doc/Mbrao/RenderingEngines/Base.html +2 -2
- data/doc/Mbrao/RenderingEngines/HtmlPipeline.html +173 -169
- data/doc/Mbrao/Version.html +3 -3
- data/doc/_index.html +51 -24
- data/doc/class_list.html +1 -1
- data/doc/file.README.html +1 -1
- data/doc/index.html +1 -1
- data/doc/method_list.html +63 -69
- data/doc/top-level-namespace.html +2 -2
- data/lib/mbrao.rb +7 -2
- data/lib/mbrao/author.rb +5 -5
- data/lib/mbrao/content.rb +110 -256
- data/lib/mbrao/content_interface.rb +146 -0
- data/lib/mbrao/exceptions.rb +1 -1
- data/lib/mbrao/integrations/rails.rb +48 -42
- data/lib/mbrao/parser.rb +24 -176
- data/lib/mbrao/parser_interface.rb +143 -0
- data/lib/mbrao/parser_validations.rb +41 -0
- data/lib/mbrao/parsing_engines/base.rb +4 -4
- data/lib/mbrao/parsing_engines/plain_text.rb +136 -121
- data/lib/mbrao/rendering_engines/base.rb +2 -2
- data/lib/mbrao/rendering_engines/html_pipeline.rb +52 -77
- data/lib/mbrao/rendering_engines/html_pipeline/kramdown_filter.rb +31 -0
- data/lib/mbrao/version.rb +2 -2
- data/mbrao.gemspec +3 -3
- data/spec/mbrao/author_spec.rb +1 -1
- data/spec/mbrao/content_spec.rb +1 -1
- data/spec/mbrao/parser_spec.rb +16 -16
- data/spec/mbrao/rendering_engines/html_pipeline/kramdown_filter_spec.rb +28 -0
- data/spec/mbrao/rendering_engines/html_pipeline_spec.rb +0 -21
- metadata +23 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 545affec4b8daa235b206b92f96237871f42ee95
|
4
|
+
data.tar.gz: 76fd8912b2920d18bcd6a03dfca5adc619630fb6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9f925e69c48606b938ed65d037b0835eab056a628a91fff21058330074dd2e8d1d2a48a86725331b1fa78d6828d2e7d8bd5ba9ef3ee741e77369fca32777766e
|
7
|
+
data.tar.gz: 3006a76290e111f7c339f08ebe6f5cb81ce3fa819ef9ea918e25f5f639a8a11d2bb2a3b3b72eed2233241f1fb788909b6a5c88beb112d9ddaaaabb31e323242f
|
data/.rubocop.yml
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
AsciiComments:
|
2
|
+
Enabled: false
|
3
|
+
|
4
|
+
Blocks:
|
5
|
+
Enabled: false
|
6
|
+
|
7
|
+
BracesAroundHashParameters:
|
8
|
+
Enabled: false
|
9
|
+
|
10
|
+
CyclomaticComplexity:
|
11
|
+
Max: 15
|
12
|
+
|
13
|
+
IndentationConsistency:
|
14
|
+
Enabled: false
|
15
|
+
|
16
|
+
LineLength:
|
17
|
+
Max: 160
|
18
|
+
|
19
|
+
ParameterLists:
|
20
|
+
Max: 6
|
21
|
+
|
22
|
+
SignalException:
|
23
|
+
Enabled: false
|
24
|
+
|
25
|
+
SpaceInsideHashLiteralBraces:
|
26
|
+
Enabled: false
|
27
|
+
|
28
|
+
StringLiterals:
|
29
|
+
Enabled: false
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
data/Gemfile
CHANGED
@@ -10,13 +10,13 @@ gemspec
|
|
10
10
|
|
11
11
|
# Testing
|
12
12
|
gem "rspec", "~> 2.14.1"
|
13
|
-
gem "rake", "~> 10.1
|
14
|
-
gem "actionpack", "
|
13
|
+
gem "rake", "~> 10.3.1"
|
14
|
+
gem "actionpack", ">= 3.2.18"
|
15
15
|
|
16
16
|
# Documentation
|
17
17
|
gem "simplecov", ">= 0.8.2"
|
18
18
|
gem "coveralls", ">= 0.7.0", require: false
|
19
19
|
gem "pry", ">= 0"
|
20
20
|
gem "yard", ">= 0.8.7"
|
21
|
-
gem "kramdown", ">= 1.3.
|
22
|
-
gem "github-markup", ">= 1.
|
21
|
+
gem "kramdown", ">= 1.3.3"
|
22
|
+
gem "github-markup", ">= 1.2.1"
|
data/doc/ActionView.html
ADDED
@@ -0,0 +1,125 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
2
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
|
+
<head>
|
5
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
6
|
+
<title>
|
7
|
+
Module: ActionView
|
8
|
+
|
9
|
+
— Documentation by YARD 0.8.7.4
|
10
|
+
|
11
|
+
</title>
|
12
|
+
|
13
|
+
<link rel="stylesheet" href="css/style.css" type="text/css" charset="utf-8" />
|
14
|
+
|
15
|
+
<link rel="stylesheet" href="css/common.css" type="text/css" charset="utf-8" />
|
16
|
+
|
17
|
+
<script type="text/javascript" charset="utf-8">
|
18
|
+
hasFrames = window.top.frames.main ? true : false;
|
19
|
+
relpath = '';
|
20
|
+
framesUrl = "frames.html#!ActionView.html";
|
21
|
+
</script>
|
22
|
+
|
23
|
+
|
24
|
+
<script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
|
25
|
+
|
26
|
+
<script type="text/javascript" charset="utf-8" src="js/app.js"></script>
|
27
|
+
|
28
|
+
|
29
|
+
</head>
|
30
|
+
<body>
|
31
|
+
<div id="header">
|
32
|
+
<div id="menu">
|
33
|
+
|
34
|
+
<a href="_index.html">Index (A)</a> »
|
35
|
+
|
36
|
+
|
37
|
+
<span class="title">ActionView</span>
|
38
|
+
|
39
|
+
|
40
|
+
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
41
|
+
</div>
|
42
|
+
|
43
|
+
<div id="search">
|
44
|
+
|
45
|
+
<a class="full_list_link" id="class_list_link"
|
46
|
+
href="class_list.html">
|
47
|
+
Class List
|
48
|
+
</a>
|
49
|
+
|
50
|
+
<a class="full_list_link" id="method_list_link"
|
51
|
+
href="method_list.html">
|
52
|
+
Method List
|
53
|
+
</a>
|
54
|
+
|
55
|
+
<a class="full_list_link" id="file_list_link"
|
56
|
+
href="file_list.html">
|
57
|
+
File List
|
58
|
+
</a>
|
59
|
+
|
60
|
+
</div>
|
61
|
+
<div class="clear"></div>
|
62
|
+
</div>
|
63
|
+
|
64
|
+
<iframe id="search_frame"></iframe>
|
65
|
+
|
66
|
+
<div id="content"><h1>Module: ActionView
|
67
|
+
|
68
|
+
|
69
|
+
|
70
|
+
</h1>
|
71
|
+
|
72
|
+
<dl class="box">
|
73
|
+
|
74
|
+
|
75
|
+
|
76
|
+
|
77
|
+
|
78
|
+
|
79
|
+
|
80
|
+
|
81
|
+
<dt class="r1 last">Defined in:</dt>
|
82
|
+
<dd class="r1 last">lib/mbrao/integrations/rails.rb</dd>
|
83
|
+
|
84
|
+
</dl>
|
85
|
+
<div class="clear"></div>
|
86
|
+
|
87
|
+
<h2>Overview</h2><div class="docstring">
|
88
|
+
<div class="discussion">
|
89
|
+
<p>:nodoc:</p>
|
90
|
+
|
91
|
+
|
92
|
+
</div>
|
93
|
+
</div>
|
94
|
+
<div class="tags">
|
95
|
+
|
96
|
+
|
97
|
+
</div><h2>Defined Under Namespace</h2>
|
98
|
+
<p class="children">
|
99
|
+
|
100
|
+
|
101
|
+
|
102
|
+
|
103
|
+
<strong class="classes">Classes:</strong> <span class='object_link'><a href="ActionView/Template.html" title="ActionView::Template (class)">Template</a></span>
|
104
|
+
|
105
|
+
|
106
|
+
</p>
|
107
|
+
|
108
|
+
|
109
|
+
|
110
|
+
|
111
|
+
|
112
|
+
|
113
|
+
|
114
|
+
|
115
|
+
|
116
|
+
</div>
|
117
|
+
|
118
|
+
<div id="footer">
|
119
|
+
Generated on Sun May 11 18:17:17 2014 by
|
120
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
121
|
+
0.8.7.4 (ruby-2.1.0).
|
122
|
+
</div>
|
123
|
+
|
124
|
+
</body>
|
125
|
+
</html>
|
@@ -0,0 +1,140 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
2
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
|
+
<head>
|
5
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
6
|
+
<title>
|
7
|
+
Class: ActionView::Template
|
8
|
+
|
9
|
+
— Documentation by YARD 0.8.7.4
|
10
|
+
|
11
|
+
</title>
|
12
|
+
|
13
|
+
<link rel="stylesheet" href="../css/style.css" type="text/css" charset="utf-8" />
|
14
|
+
|
15
|
+
<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8" />
|
16
|
+
|
17
|
+
<script type="text/javascript" charset="utf-8">
|
18
|
+
hasFrames = window.top.frames.main ? true : false;
|
19
|
+
relpath = '../';
|
20
|
+
framesUrl = "../frames.html#!ActionView/Template.html";
|
21
|
+
</script>
|
22
|
+
|
23
|
+
|
24
|
+
<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
|
25
|
+
|
26
|
+
<script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
|
27
|
+
|
28
|
+
|
29
|
+
</head>
|
30
|
+
<body>
|
31
|
+
<div id="header">
|
32
|
+
<div id="menu">
|
33
|
+
|
34
|
+
<a href="../_index.html">Index (T)</a> »
|
35
|
+
<span class='title'><span class='object_link'><a href="../ActionView.html" title="ActionView (module)">ActionView</a></span></span>
|
36
|
+
»
|
37
|
+
<span class="title">Template</span>
|
38
|
+
|
39
|
+
|
40
|
+
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
41
|
+
</div>
|
42
|
+
|
43
|
+
<div id="search">
|
44
|
+
|
45
|
+
<a class="full_list_link" id="class_list_link"
|
46
|
+
href="../class_list.html">
|
47
|
+
Class List
|
48
|
+
</a>
|
49
|
+
|
50
|
+
<a class="full_list_link" id="method_list_link"
|
51
|
+
href="../method_list.html">
|
52
|
+
Method List
|
53
|
+
</a>
|
54
|
+
|
55
|
+
<a class="full_list_link" id="file_list_link"
|
56
|
+
href="../file_list.html">
|
57
|
+
File List
|
58
|
+
</a>
|
59
|
+
|
60
|
+
</div>
|
61
|
+
<div class="clear"></div>
|
62
|
+
</div>
|
63
|
+
|
64
|
+
<iframe id="search_frame"></iframe>
|
65
|
+
|
66
|
+
<div id="content"><h1>Class: ActionView::Template
|
67
|
+
|
68
|
+
|
69
|
+
|
70
|
+
</h1>
|
71
|
+
|
72
|
+
<dl class="box">
|
73
|
+
|
74
|
+
<dt class="r1">Inherits:</dt>
|
75
|
+
<dd class="r1">
|
76
|
+
<span class="inheritName">Object</span>
|
77
|
+
|
78
|
+
<ul class="fullTree">
|
79
|
+
<li>Object</li>
|
80
|
+
|
81
|
+
<li class="next">ActionView::Template</li>
|
82
|
+
|
83
|
+
</ul>
|
84
|
+
<a href="#" class="inheritanceTree">show all</a>
|
85
|
+
|
86
|
+
</dd>
|
87
|
+
|
88
|
+
|
89
|
+
|
90
|
+
|
91
|
+
|
92
|
+
|
93
|
+
|
94
|
+
|
95
|
+
|
96
|
+
<dt class="r2 last">Defined in:</dt>
|
97
|
+
<dd class="r2 last">lib/mbrao/integrations/rails.rb</dd>
|
98
|
+
|
99
|
+
</dl>
|
100
|
+
<div class="clear"></div>
|
101
|
+
|
102
|
+
<h2>Overview</h2><div class="docstring">
|
103
|
+
<div class="discussion">
|
104
|
+
<p>:nodoc:</p>
|
105
|
+
|
106
|
+
|
107
|
+
</div>
|
108
|
+
</div>
|
109
|
+
<div class="tags">
|
110
|
+
|
111
|
+
|
112
|
+
</div><h2>Defined Under Namespace</h2>
|
113
|
+
<p class="children">
|
114
|
+
|
115
|
+
|
116
|
+
<strong class="modules">Modules:</strong> <span class='object_link'><a href="Template/Handlers.html" title="ActionView::Template::Handlers (module)">Handlers</a></span>
|
117
|
+
|
118
|
+
|
119
|
+
|
120
|
+
|
121
|
+
</p>
|
122
|
+
|
123
|
+
|
124
|
+
|
125
|
+
|
126
|
+
|
127
|
+
|
128
|
+
|
129
|
+
|
130
|
+
|
131
|
+
</div>
|
132
|
+
|
133
|
+
<div id="footer">
|
134
|
+
Generated on Sun May 11 18:17:19 2014 by
|
135
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
136
|
+
0.8.7.4 (ruby-2.1.0).
|
137
|
+
</div>
|
138
|
+
|
139
|
+
</body>
|
140
|
+
</html>
|
@@ -32,7 +32,7 @@
|
|
32
32
|
<div id="menu">
|
33
33
|
|
34
34
|
<a href="../../_index.html">Index (H)</a> »
|
35
|
-
<span class='title'>ActionView</span> » <span class='title'>Template</span>
|
35
|
+
<span class='title'><span class='object_link'><a href="../../ActionView.html" title="ActionView (module)">ActionView</a></span></span> » <span class='title'><span class='object_link'><a href="../Template.html" title="ActionView::Template (class)">Template</a></span></span>
|
36
36
|
»
|
37
37
|
<span class="title">Handlers</span>
|
38
38
|
|
@@ -86,7 +86,7 @@
|
|
86
86
|
|
87
87
|
<h2>Overview</h2><div class="docstring">
|
88
88
|
<div class="discussion">
|
89
|
-
<p
|
89
|
+
<p>:nodoc:</p>
|
90
90
|
|
91
91
|
|
92
92
|
</div>
|
@@ -116,7 +116,7 @@
|
|
116
116
|
</div>
|
117
117
|
|
118
118
|
<div id="footer">
|
119
|
-
Generated on
|
119
|
+
Generated on Sun May 11 18:17:17 2014 by
|
120
120
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
121
121
|
0.8.7.4 (ruby-2.1.0).
|
122
122
|
</div>
|
@@ -32,7 +32,7 @@
|
|
32
32
|
<div id="menu">
|
33
33
|
|
34
34
|
<a href="../../../_index.html">Index (M)</a> »
|
35
|
-
<span class='title'>ActionView</span> » <span class='title'>Template</span> » <span class='title'><span class='object_link'><a href="../Handlers.html" title="ActionView::Template::Handlers (module)">Handlers</a></span></span>
|
35
|
+
<span class='title'><span class='object_link'><a href="../../../ActionView.html" title="ActionView (module)">ActionView</a></span></span> » <span class='title'><span class='object_link'><a href="../../Template.html" title="ActionView::Template (class)">Template</a></span></span> » <span class='title'><span class='object_link'><a href="../Handlers.html" title="ActionView::Template::Handlers (module)">Handlers</a></span></span>
|
36
36
|
»
|
37
37
|
<span class="title">MbraoTemplate</span>
|
38
38
|
|
@@ -320,13 +320,13 @@
|
|
320
320
|
<pre class="lines">
|
321
321
|
|
322
322
|
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
323
|
+
19
|
324
|
+
20
|
325
|
+
21
|
326
|
+
22</pre>
|
327
327
|
</td>
|
328
328
|
<td>
|
329
|
-
<pre class="code"><span class="info file"># File 'lib/mbrao/integrations/rails.rb', line
|
329
|
+
<pre class="code"><span class="info file"># File 'lib/mbrao/integrations/rails.rb', line 19</span>
|
330
330
|
|
331
331
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_instance'>instance</span><span class='lparen'>(</span><span class='id identifier rubyid_force'>force</span> <span class='op'>=</span> <span class='kw'>false</span><span class='rparen'>)</span>
|
332
332
|
<span class='ivar'>@instance</span> <span class='op'>=</span> <span class='kw'>nil</span> <span class='kw'>if</span> <span class='id identifier rubyid_force'>force</span>
|
@@ -362,12 +362,12 @@
|
|
362
362
|
<pre class="lines">
|
363
363
|
|
364
364
|
|
365
|
-
|
366
|
-
|
367
|
-
|
365
|
+
25
|
366
|
+
26
|
367
|
+
27</pre>
|
368
368
|
</td>
|
369
369
|
<td>
|
370
|
-
<pre class="code"><span class="info file"># File 'lib/mbrao/integrations/rails.rb', line
|
370
|
+
<pre class="code"><span class="info file"># File 'lib/mbrao/integrations/rails.rb', line 25</span>
|
371
371
|
|
372
372
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_register'>register</span>
|
373
373
|
<span class='const'>ActionView</span><span class='op'>::</span><span class='const'>Template</span><span class='period'>.</span><span class='id identifier rubyid_register_template_handler'>register_template_handler</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>emt</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='id identifier rubyid_instance'>instance</span><span class='rparen'>)</span> <span class='kw'>if</span> <span class='kw'>defined?</span><span class='lparen'>(</span><span class='const'>ActionView</span><span class='rparen'>)</span> <span class='op'>&&</span> <span class='kw'>defined?</span><span class='lparen'>(</span><span class='const'>Rails</span><span class='rparen'>)</span> <span class='op'>&&</span> <span class='const'>Rails</span><span class='period'>.</span><span class='id identifier rubyid_version'>version</span> <span class='op'>=~</span> <span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>^[34]</span><span class='regexp_end'>/</span></span>
|
@@ -408,7 +408,7 @@
|
|
408
408
|
<span class='name'>template</span>
|
409
409
|
|
410
410
|
|
411
|
-
<span class='type'>(<tt>ActionView::Template</tt>)</span>
|
411
|
+
<span class='type'>(<tt><span class='object_link'><a href="../../Template.html" title="ActionView::Template (class)">ActionView::Template</a></span></tt>)</span>
|
412
412
|
|
413
413
|
|
414
414
|
|
@@ -444,12 +444,12 @@
|
|
444
444
|
<pre class="lines">
|
445
445
|
|
446
446
|
|
447
|
-
|
448
|
-
|
449
|
-
|
447
|
+
56
|
448
|
+
57
|
449
|
+
58</pre>
|
450
450
|
</td>
|
451
451
|
<td>
|
452
|
-
<pre class="code"><span class="info file"># File 'lib/mbrao/integrations/rails.rb', line
|
452
|
+
<pre class="code"><span class="info file"># File 'lib/mbrao/integrations/rails.rb', line 56</span>
|
453
453
|
|
454
454
|
<span class='kw'>def</span> <span class='id identifier rubyid_call'>call</span><span class='lparen'>(</span><span class='id identifier rubyid_template'>template</span><span class='rparen'>)</span>
|
455
455
|
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>ActionView::Template::Handlers::MbraoTemplate.instance.render(self, </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_template'>template</span><span class='period'>.</span><span class='id identifier rubyid_source'>source</span><span class='period'>.</span><span class='id identifier rubyid_to_json'>to_json</span><span class='embexpr_end'>}</span><span class='tstring_content'>)</span><span class='tstring_end'>"</span></span>
|
@@ -535,19 +535,19 @@
|
|
535
535
|
<pre class="lines">
|
536
536
|
|
537
537
|
|
538
|
-
30
|
539
|
-
31
|
540
|
-
32
|
541
|
-
33
|
542
538
|
34
|
543
539
|
35
|
544
540
|
36
|
545
541
|
37
|
546
542
|
38
|
547
|
-
39
|
543
|
+
39
|
544
|
+
40
|
545
|
+
41
|
546
|
+
42
|
547
|
+
43</pre>
|
548
548
|
</td>
|
549
549
|
<td>
|
550
|
-
<pre class="code"><span class="info file"># File 'lib/mbrao/integrations/rails.rb', line
|
550
|
+
<pre class="code"><span class="info file"># File 'lib/mbrao/integrations/rails.rb', line 34</span>
|
551
551
|
|
552
552
|
<span class='kw'>def</span> <span class='id identifier rubyid_render'>render</span><span class='lparen'>(</span><span class='id identifier rubyid_renderer'>renderer</span><span class='comma'>,</span> <span class='id identifier rubyid_template'>template</span><span class='rparen'>)</span>
|
553
553
|
<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'>Parser</span><span class='period'>.</span><span class='id identifier rubyid_parse'>parse</span><span class='lparen'>(</span><span class='id identifier rubyid_template'>template</span><span class='rparen'>)</span>
|
@@ -606,12 +606,12 @@
|
|
606
606
|
<pre class="lines">
|
607
607
|
|
608
608
|
|
609
|
-
|
610
|
-
|
611
|
-
|
609
|
+
48
|
610
|
+
49
|
611
|
+
50</pre>
|
612
612
|
</td>
|
613
613
|
<td>
|
614
|
-
<pre class="code"><span class="info file"># File 'lib/mbrao/integrations/rails.rb', line
|
614
|
+
<pre class="code"><span class="info file"># File 'lib/mbrao/integrations/rails.rb', line 48</span>
|
615
615
|
|
616
616
|
<span class='kw'>def</span> <span class='id identifier rubyid_supports_streaming?'>supports_streaming?</span>
|
617
617
|
<span class='kw'>true</span>
|
@@ -626,7 +626,7 @@
|
|
626
626
|
</div>
|
627
627
|
|
628
628
|
<div id="footer">
|
629
|
-
Generated on
|
629
|
+
Generated on Sun May 11 18:17:19 2014 by
|
630
630
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
631
631
|
0.8.7.4 (ruby-2.1.0).
|
632
632
|
</div>
|