mbrao 1.4.3 → 1.4.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/doc/ActionView/Template/Handlers.html +4 -4
- data/doc/ActionView/Template/Handlers/MbraoTemplate.html +4 -4
- data/doc/HTML.html +4 -4
- data/doc/HTML/Pipeline.html +4 -4
- data/doc/HTML/Pipeline/KramdownFilter.html +4 -4
- data/doc/Mbrao.html +4 -4
- data/doc/Mbrao/Author.html +4 -4
- data/doc/Mbrao/Content.html +152 -68
- data/doc/Mbrao/ContentPublicInterface.html +4 -4
- data/doc/Mbrao/Exceptions.html +4 -4
- data/doc/Mbrao/Exceptions/InvalidDate.html +4 -4
- data/doc/Mbrao/Exceptions/InvalidMetadata.html +4 -4
- data/doc/Mbrao/Exceptions/Parsing.html +4 -4
- data/doc/Mbrao/Exceptions/Rendering.html +4 -4
- data/doc/Mbrao/Exceptions/UnavailableLocalization.html +4 -4
- data/doc/Mbrao/Exceptions/Unimplemented.html +4 -4
- data/doc/Mbrao/Exceptions/UnknownEngine.html +4 -4
- data/doc/Mbrao/Parser.html +4 -4
- data/doc/Mbrao/ParsingEngines.html +4 -4
- data/doc/Mbrao/ParsingEngines/Base.html +4 -4
- data/doc/Mbrao/ParsingEngines/PlainText.html +4 -4
- data/doc/Mbrao/PublicInterface.html +4 -4
- data/doc/Mbrao/PublicInterface/ClassMethods.html +4 -4
- data/doc/Mbrao/RenderingEngines.html +4 -4
- data/doc/Mbrao/RenderingEngines/Base.html +4 -4
- data/doc/Mbrao/RenderingEngines/HtmlPipeline.html +4 -4
- data/doc/Mbrao/Validations.html +4 -4
- data/doc/Mbrao/Validations/ClassMethods.html +4 -4
- data/doc/Mbrao/Version.html +5 -5
- data/doc/_index.html +5 -5
- data/doc/css/style.css +1 -0
- data/doc/file.README.html +4 -4
- data/doc/frames.html +1 -1
- data/doc/index.html +4 -4
- data/doc/top-level-namespace.html +4 -4
- data/lib/mbrao/content.rb +7 -3
- data/lib/mbrao/version.rb +1 -1
- data/spec/mbrao/content_spec.rb +29 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: faf07c88a29deefad7d8ff481fe9858cf3ef9c1e
|
4
|
+
data.tar.gz: 0348a901832e212f07316cbffc17188b43ece936
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7dca48c09c17248de0443ee65b56edfe80ad1c32629baf656ac232124f6c1447173b4a5354ee05e0080e2450b99053369a1eb962229410fa282511008b87868d
|
7
|
+
data.tar.gz: 2db8244d7f0a397e8b765004341b582ce29c25af7181b70f68d56b50122e082f8e1719dc7ef94703af0c08a1f90ca4df35cf844fe739423f0e7c626582340dff
|
data/CHANGELOG.md
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Module: ActionView::Template::Handlers
|
8
8
|
|
9
|
-
— Documentation by YARD 0.8.7.
|
9
|
+
— Documentation by YARD 0.8.7.4
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -17,7 +17,7 @@
|
|
17
17
|
<script type="text/javascript" charset="utf-8">
|
18
18
|
hasFrames = window.top.frames.main ? true : false;
|
19
19
|
relpath = '../../';
|
20
|
-
framesUrl = "../../frames.html#!"
|
20
|
+
framesUrl = "../../frames.html#!ActionView/Template/Handlers.html";
|
21
21
|
</script>
|
22
22
|
|
23
23
|
|
@@ -116,9 +116,9 @@
|
|
116
116
|
</div>
|
117
117
|
|
118
118
|
<div id="footer">
|
119
|
-
Generated on
|
119
|
+
Generated on Wed Apr 9 21:36:00 2014 by
|
120
120
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
121
|
-
0.8.7.
|
121
|
+
0.8.7.4 (ruby-2.1.0).
|
122
122
|
</div>
|
123
123
|
|
124
124
|
</body>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: ActionView::Template::Handlers::MbraoTemplate
|
8
8
|
|
9
|
-
— Documentation by YARD 0.8.7.
|
9
|
+
— Documentation by YARD 0.8.7.4
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -17,7 +17,7 @@
|
|
17
17
|
<script type="text/javascript" charset="utf-8">
|
18
18
|
hasFrames = window.top.frames.main ? true : false;
|
19
19
|
relpath = '../../../';
|
20
|
-
framesUrl = "../../../frames.html#!"
|
20
|
+
framesUrl = "../../../frames.html#!ActionView/Template/Handlers/MbraoTemplate.html";
|
21
21
|
</script>
|
22
22
|
|
23
23
|
|
@@ -626,9 +626,9 @@
|
|
626
626
|
</div>
|
627
627
|
|
628
628
|
<div id="footer">
|
629
|
-
Generated on
|
629
|
+
Generated on Wed Apr 9 21:36:01 2014 by
|
630
630
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
631
|
-
0.8.7.
|
631
|
+
0.8.7.4 (ruby-2.1.0).
|
632
632
|
</div>
|
633
633
|
|
634
634
|
</body>
|
data/doc/HTML.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Module: HTML
|
8
8
|
|
9
|
-
— Documentation by YARD 0.8.7.
|
9
|
+
— Documentation by YARD 0.8.7.4
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -17,7 +17,7 @@
|
|
17
17
|
<script type="text/javascript" charset="utf-8">
|
18
18
|
hasFrames = window.top.frames.main ? true : false;
|
19
19
|
relpath = '';
|
20
|
-
framesUrl = "frames.html#!"
|
20
|
+
framesUrl = "frames.html#!HTML.html";
|
21
21
|
</script>
|
22
22
|
|
23
23
|
|
@@ -116,9 +116,9 @@
|
|
116
116
|
</div>
|
117
117
|
|
118
118
|
<div id="footer">
|
119
|
-
Generated on
|
119
|
+
Generated on Wed Apr 9 21:36:00 2014 by
|
120
120
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
121
|
-
0.8.7.
|
121
|
+
0.8.7.4 (ruby-2.1.0).
|
122
122
|
</div>
|
123
123
|
|
124
124
|
</body>
|
data/doc/HTML/Pipeline.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: HTML::Pipeline
|
8
8
|
|
9
|
-
— Documentation by YARD 0.8.7.
|
9
|
+
— Documentation by YARD 0.8.7.4
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -17,7 +17,7 @@
|
|
17
17
|
<script type="text/javascript" charset="utf-8">
|
18
18
|
hasFrames = window.top.frames.main ? true : false;
|
19
19
|
relpath = '../';
|
20
|
-
framesUrl = "../frames.html#!"
|
20
|
+
framesUrl = "../frames.html#!HTML/Pipeline.html";
|
21
21
|
</script>
|
22
22
|
|
23
23
|
|
@@ -131,9 +131,9 @@
|
|
131
131
|
</div>
|
132
132
|
|
133
133
|
<div id="footer">
|
134
|
-
Generated on
|
134
|
+
Generated on Wed Apr 9 21:36:01 2014 by
|
135
135
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
136
|
-
0.8.7.
|
136
|
+
0.8.7.4 (ruby-2.1.0).
|
137
137
|
</div>
|
138
138
|
|
139
139
|
</body>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: HTML::Pipeline::KramdownFilter
|
8
8
|
|
9
|
-
— Documentation by YARD 0.8.7.
|
9
|
+
— Documentation by YARD 0.8.7.4
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -17,7 +17,7 @@
|
|
17
17
|
<script type="text/javascript" charset="utf-8">
|
18
18
|
hasFrames = window.top.frames.main ? true : false;
|
19
19
|
relpath = '../../';
|
20
|
-
framesUrl = "../../frames.html#!"
|
20
|
+
framesUrl = "../../frames.html#!HTML/Pipeline/KramdownFilter.html";
|
21
21
|
</script>
|
22
22
|
|
23
23
|
|
@@ -345,9 +345,9 @@
|
|
345
345
|
</div>
|
346
346
|
|
347
347
|
<div id="footer">
|
348
|
-
Generated on
|
348
|
+
Generated on Wed Apr 9 21:36:01 2014 by
|
349
349
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
350
|
-
0.8.7.
|
350
|
+
0.8.7.4 (ruby-2.1.0).
|
351
351
|
</div>
|
352
352
|
|
353
353
|
</body>
|
data/doc/Mbrao.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Module: Mbrao
|
8
8
|
|
9
|
-
— Documentation by YARD 0.8.7.
|
9
|
+
— Documentation by YARD 0.8.7.4
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -17,7 +17,7 @@
|
|
17
17
|
<script type="text/javascript" charset="utf-8">
|
18
18
|
hasFrames = window.top.frames.main ? true : false;
|
19
19
|
relpath = '';
|
20
|
-
framesUrl = "frames.html#!"
|
20
|
+
framesUrl = "frames.html#!Mbrao.html";
|
21
21
|
</script>
|
22
22
|
|
23
23
|
|
@@ -121,9 +121,9 @@ Licensed under the MIT license, which can be found at http://www.opensource.org/
|
|
121
121
|
</div>
|
122
122
|
|
123
123
|
<div id="footer">
|
124
|
-
Generated on
|
124
|
+
Generated on Wed Apr 9 21:36:00 2014 by
|
125
125
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
126
|
-
0.8.7.
|
126
|
+
0.8.7.4 (ruby-2.1.0).
|
127
127
|
</div>
|
128
128
|
|
129
129
|
</body>
|
data/doc/Mbrao/Author.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: Mbrao::Author
|
8
8
|
|
9
|
-
— Documentation by YARD 0.8.7.
|
9
|
+
— Documentation by YARD 0.8.7.4
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -17,7 +17,7 @@
|
|
17
17
|
<script type="text/javascript" charset="utf-8">
|
18
18
|
hasFrames = window.top.frames.main ? true : false;
|
19
19
|
relpath = '../';
|
20
|
-
framesUrl = "../frames.html#!"
|
20
|
+
framesUrl = "../frames.html#!Mbrao/Author.html";
|
21
21
|
</script>
|
22
22
|
|
23
23
|
|
@@ -1663,9 +1663,9 @@ The only supported value are:</p>
|
|
1663
1663
|
</div>
|
1664
1664
|
|
1665
1665
|
<div id="footer">
|
1666
|
-
Generated on
|
1666
|
+
Generated on Wed Apr 9 21:36:00 2014 by
|
1667
1667
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1668
|
-
0.8.7.
|
1668
|
+
0.8.7.4 (ruby-2.1.0).
|
1669
1669
|
</div>
|
1670
1670
|
|
1671
1671
|
</body>
|
data/doc/Mbrao/Content.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: Mbrao::Content
|
8
8
|
|
9
|
-
— Documentation by YARD 0.8.7.
|
9
|
+
— Documentation by YARD 0.8.7.4
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -17,7 +17,7 @@
|
|
17
17
|
<script type="text/javascript" charset="utf-8">
|
18
18
|
hasFrames = window.top.frames.main ? true : false;
|
19
19
|
relpath = '../';
|
20
|
-
framesUrl = "../frames.html#!"
|
20
|
+
framesUrl = "../frames.html#!Mbrao/Content.html";
|
21
21
|
</script>
|
22
22
|
|
23
23
|
|
@@ -133,9 +133,13 @@
|
|
133
133
|
</dt>
|
134
134
|
<dd><pre class="code"><span class='lbracket'>[</span>
|
135
135
|
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%Y%m%dT%H%M%S%z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%Y%m%dT%H%M%S%Z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span>
|
136
|
-
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%FT%T.%L
|
137
|
-
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%
|
138
|
-
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%
|
136
|
+
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%FT%T.%L%z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%FT%T.%L%Z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span>
|
137
|
+
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%FT%T%z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%FT%T%Z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span>
|
138
|
+
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%F %T %z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%F %T %Z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span>
|
139
|
+
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%F %T.%L %z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%F %T.%L %Z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span>
|
140
|
+
|
141
|
+
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%F %T.%L</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%F %T</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%F %H:%M</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%F</span><span class='tstring_end'>"</span></span><span class='comma'>,</span>
|
142
|
+
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%d/%m/%Y %T.%L</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%d/%m/%Y %T</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%d/%m/%Y %H:%M</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%d/%m/%Y</span><span class='tstring_end'>"</span></span>
|
139
143
|
<span class='rbracket'>]</span></pre></dd>
|
140
144
|
|
141
145
|
</dl>
|
@@ -612,12 +616,12 @@
|
|
612
616
|
<pre class="lines">
|
613
617
|
|
614
618
|
|
615
|
-
|
616
|
-
|
617
|
-
|
619
|
+
149
|
620
|
+
150
|
621
|
+
151</pre>
|
618
622
|
</td>
|
619
623
|
<td>
|
620
|
-
<pre class="code"><span class="info file"># File 'lib/mbrao/content.rb', line
|
624
|
+
<pre class="code"><span class="info file"># File 'lib/mbrao/content.rb', line 149</span>
|
621
625
|
|
622
626
|
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_uid'>uid</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='rparen'>)</span>
|
623
627
|
<span class='ivar'>@uid</span> <span class='op'>=</span> <span class='id identifier rubyid_uid'>uid</span>
|
@@ -939,7 +943,11 @@
|
|
939
943
|
379
|
940
944
|
380
|
941
945
|
381
|
942
|
-
382
|
946
|
+
382
|
947
|
+
383
|
948
|
+
384
|
949
|
+
385
|
950
|
+
386</pre>
|
943
951
|
</td>
|
944
952
|
<td>
|
945
953
|
<pre class="code"><span class="info file"># File 'lib/mbrao/content.rb', line 119</span>
|
@@ -962,9 +970,13 @@
|
|
962
970
|
<span class='comment'># The allowed string format for a datetime.
|
963
971
|
</span> <span class='const'>ALLOWED_DATETIME_FORMATS</span> <span class='op'>=</span> <span class='lbracket'>[</span>
|
964
972
|
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%Y%m%dT%H%M%S%z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%Y%m%dT%H%M%S%Z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span>
|
965
|
-
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%FT%T.%L
|
966
|
-
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%
|
967
|
-
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%
|
973
|
+
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%FT%T.%L%z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%FT%T.%L%Z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span>
|
974
|
+
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%FT%T%z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%FT%T%Z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span>
|
975
|
+
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%F %T %z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%F %T %Z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span>
|
976
|
+
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%F %T.%L %z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%F %T.%L %Z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span>
|
977
|
+
|
978
|
+
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%F %T.%L</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%F %T</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%F %H:%M</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%F</span><span class='tstring_end'>"</span></span><span class='comma'>,</span>
|
979
|
+
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%d/%m/%Y %T.%L</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%d/%m/%Y %T</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%d/%m/%Y %H:%M</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%d/%m/%Y</span><span class='tstring_end'>"</span></span>
|
968
980
|
<span class='rbracket'>]</span>
|
969
981
|
|
970
982
|
<span class='comment'># Creates a new content.
|
@@ -1520,7 +1532,11 @@
|
|
1520
1532
|
379
|
1521
1533
|
380
|
1522
1534
|
381
|
1523
|
-
382
|
1535
|
+
382
|
1536
|
+
383
|
1537
|
+
384
|
1538
|
+
385
|
1539
|
+
386</pre>
|
1524
1540
|
</td>
|
1525
1541
|
<td>
|
1526
1542
|
<pre class="code"><span class="info file"># File 'lib/mbrao/content.rb', line 119</span>
|
@@ -1543,9 +1559,13 @@
|
|
1543
1559
|
<span class='comment'># The allowed string format for a datetime.
|
1544
1560
|
</span> <span class='const'>ALLOWED_DATETIME_FORMATS</span> <span class='op'>=</span> <span class='lbracket'>[</span>
|
1545
1561
|
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%Y%m%dT%H%M%S%z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%Y%m%dT%H%M%S%Z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span>
|
1546
|
-
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%FT%T.%L
|
1547
|
-
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%
|
1548
|
-
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%
|
1562
|
+
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%FT%T.%L%z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%FT%T.%L%Z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span>
|
1563
|
+
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%FT%T%z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%FT%T%Z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span>
|
1564
|
+
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%F %T %z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%F %T %Z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span>
|
1565
|
+
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%F %T.%L %z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%F %T.%L %Z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span>
|
1566
|
+
|
1567
|
+
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%F %T.%L</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%F %T</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%F %H:%M</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%F</span><span class='tstring_end'>"</span></span><span class='comma'>,</span>
|
1568
|
+
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%d/%m/%Y %T.%L</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%d/%m/%Y %T</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%d/%m/%Y %H:%M</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%d/%m/%Y</span><span class='tstring_end'>"</span></span>
|
1549
1569
|
<span class='rbracket'>]</span>
|
1550
1570
|
|
1551
1571
|
<span class='comment'># Creates a new content.
|
@@ -2101,7 +2121,11 @@
|
|
2101
2121
|
379
|
2102
2122
|
380
|
2103
2123
|
381
|
2104
|
-
382
|
2124
|
+
382
|
2125
|
+
383
|
2126
|
+
384
|
2127
|
+
385
|
2128
|
+
386</pre>
|
2105
2129
|
</td>
|
2106
2130
|
<td>
|
2107
2131
|
<pre class="code"><span class="info file"># File 'lib/mbrao/content.rb', line 119</span>
|
@@ -2124,9 +2148,13 @@
|
|
2124
2148
|
<span class='comment'># The allowed string format for a datetime.
|
2125
2149
|
</span> <span class='const'>ALLOWED_DATETIME_FORMATS</span> <span class='op'>=</span> <span class='lbracket'>[</span>
|
2126
2150
|
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%Y%m%dT%H%M%S%z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%Y%m%dT%H%M%S%Z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span>
|
2127
|
-
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%FT%T.%L
|
2128
|
-
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%
|
2129
|
-
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%
|
2151
|
+
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%FT%T.%L%z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%FT%T.%L%Z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span>
|
2152
|
+
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%FT%T%z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%FT%T%Z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span>
|
2153
|
+
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%F %T %z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%F %T %Z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span>
|
2154
|
+
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%F %T.%L %z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%F %T.%L %Z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span>
|
2155
|
+
|
2156
|
+
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%F %T.%L</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%F %T</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%F %H:%M</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%F</span><span class='tstring_end'>"</span></span><span class='comma'>,</span>
|
2157
|
+
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%d/%m/%Y %T.%L</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%d/%m/%Y %T</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%d/%m/%Y %H:%M</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%d/%m/%Y</span><span class='tstring_end'>"</span></span>
|
2130
2158
|
<span class='rbracket'>]</span>
|
2131
2159
|
|
2132
2160
|
<span class='comment'># Creates a new content.
|
@@ -2682,7 +2710,11 @@
|
|
2682
2710
|
379
|
2683
2711
|
380
|
2684
2712
|
381
|
2685
|
-
382
|
2713
|
+
382
|
2714
|
+
383
|
2715
|
+
384
|
2716
|
+
385
|
2717
|
+
386</pre>
|
2686
2718
|
</td>
|
2687
2719
|
<td>
|
2688
2720
|
<pre class="code"><span class="info file"># File 'lib/mbrao/content.rb', line 119</span>
|
@@ -2705,9 +2737,13 @@
|
|
2705
2737
|
<span class='comment'># The allowed string format for a datetime.
|
2706
2738
|
</span> <span class='const'>ALLOWED_DATETIME_FORMATS</span> <span class='op'>=</span> <span class='lbracket'>[</span>
|
2707
2739
|
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%Y%m%dT%H%M%S%z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%Y%m%dT%H%M%S%Z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span>
|
2708
|
-
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%FT%T.%L
|
2709
|
-
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%
|
2710
|
-
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%
|
2740
|
+
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%FT%T.%L%z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%FT%T.%L%Z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span>
|
2741
|
+
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%FT%T%z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%FT%T%Z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span>
|
2742
|
+
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%F %T %z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%F %T %Z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span>
|
2743
|
+
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%F %T.%L %z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%F %T.%L %Z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span>
|
2744
|
+
|
2745
|
+
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%F %T.%L</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%F %T</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%F %H:%M</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%F</span><span class='tstring_end'>"</span></span><span class='comma'>,</span>
|
2746
|
+
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%d/%m/%Y %T.%L</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%d/%m/%Y %T</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%d/%m/%Y %H:%M</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%d/%m/%Y</span><span class='tstring_end'>"</span></span>
|
2711
2747
|
<span class='rbracket'>]</span>
|
2712
2748
|
|
2713
2749
|
<span class='comment'># Creates a new content.
|
@@ -3263,7 +3299,11 @@
|
|
3263
3299
|
379
|
3264
3300
|
380
|
3265
3301
|
381
|
3266
|
-
382
|
3302
|
+
382
|
3303
|
+
383
|
3304
|
+
384
|
3305
|
+
385
|
3306
|
+
386</pre>
|
3267
3307
|
</td>
|
3268
3308
|
<td>
|
3269
3309
|
<pre class="code"><span class="info file"># File 'lib/mbrao/content.rb', line 119</span>
|
@@ -3286,9 +3326,13 @@
|
|
3286
3326
|
<span class='comment'># The allowed string format for a datetime.
|
3287
3327
|
</span> <span class='const'>ALLOWED_DATETIME_FORMATS</span> <span class='op'>=</span> <span class='lbracket'>[</span>
|
3288
3328
|
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%Y%m%dT%H%M%S%z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%Y%m%dT%H%M%S%Z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span>
|
3289
|
-
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%FT%T.%L
|
3290
|
-
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%
|
3291
|
-
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%
|
3329
|
+
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%FT%T.%L%z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%FT%T.%L%Z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span>
|
3330
|
+
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%FT%T%z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%FT%T%Z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span>
|
3331
|
+
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%F %T %z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%F %T %Z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span>
|
3332
|
+
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%F %T.%L %z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%F %T.%L %Z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span>
|
3333
|
+
|
3334
|
+
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%F %T.%L</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%F %T</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%F %H:%M</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%F</span><span class='tstring_end'>"</span></span><span class='comma'>,</span>
|
3335
|
+
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%d/%m/%Y %T.%L</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%d/%m/%Y %T</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%d/%m/%Y %H:%M</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%d/%m/%Y</span><span class='tstring_end'>"</span></span>
|
3292
3336
|
<span class='rbracket'>]</span>
|
3293
3337
|
|
3294
3338
|
<span class='comment'># Creates a new content.
|
@@ -3888,7 +3932,11 @@ for multiple locales.</p>
|
|
3888
3932
|
379
|
3889
3933
|
380
|
3890
3934
|
381
|
3891
|
-
382
|
3935
|
+
382
|
3936
|
+
383
|
3937
|
+
384
|
3938
|
+
385
|
3939
|
+
386</pre>
|
3892
3940
|
</td>
|
3893
3941
|
<td>
|
3894
3942
|
<pre class="code"><span class="info file"># File 'lib/mbrao/content.rb', line 119</span>
|
@@ -3911,9 +3959,13 @@ for multiple locales.</p>
|
|
3911
3959
|
<span class='comment'># The allowed string format for a datetime.
|
3912
3960
|
</span> <span class='const'>ALLOWED_DATETIME_FORMATS</span> <span class='op'>=</span> <span class='lbracket'>[</span>
|
3913
3961
|
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%Y%m%dT%H%M%S%z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%Y%m%dT%H%M%S%Z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span>
|
3914
|
-
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%FT%T.%L
|
3915
|
-
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%
|
3916
|
-
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%
|
3962
|
+
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%FT%T.%L%z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%FT%T.%L%Z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span>
|
3963
|
+
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%FT%T%z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%FT%T%Z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span>
|
3964
|
+
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%F %T %z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%F %T %Z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span>
|
3965
|
+
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%F %T.%L %z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%F %T.%L %Z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span>
|
3966
|
+
|
3967
|
+
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%F %T.%L</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%F %T</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%F %H:%M</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%F</span><span class='tstring_end'>"</span></span><span class='comma'>,</span>
|
3968
|
+
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%d/%m/%Y %T.%L</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%d/%m/%Y %T</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%d/%m/%Y %H:%M</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%d/%m/%Y</span><span class='tstring_end'>"</span></span>
|
3917
3969
|
<span class='rbracket'>]</span>
|
3918
3970
|
|
3919
3971
|
<span class='comment'># Creates a new content.
|
@@ -4471,7 +4523,11 @@ are specified for multiple locales.</p>
|
|
4471
4523
|
379
|
4472
4524
|
380
|
4473
4525
|
381
|
4474
|
-
382
|
4526
|
+
382
|
4527
|
+
383
|
4528
|
+
384
|
4529
|
+
385
|
4530
|
+
386</pre>
|
4475
4531
|
</td>
|
4476
4532
|
<td>
|
4477
4533
|
<pre class="code"><span class="info file"># File 'lib/mbrao/content.rb', line 119</span>
|
@@ -4494,9 +4550,13 @@ are specified for multiple locales.</p>
|
|
4494
4550
|
<span class='comment'># The allowed string format for a datetime.
|
4495
4551
|
</span> <span class='const'>ALLOWED_DATETIME_FORMATS</span> <span class='op'>=</span> <span class='lbracket'>[</span>
|
4496
4552
|
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%Y%m%dT%H%M%S%z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%Y%m%dT%H%M%S%Z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span>
|
4497
|
-
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%FT%T.%L
|
4498
|
-
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%
|
4499
|
-
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%
|
4553
|
+
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%FT%T.%L%z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%FT%T.%L%Z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span>
|
4554
|
+
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%FT%T%z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%FT%T%Z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span>
|
4555
|
+
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%F %T %z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%F %T %Z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span>
|
4556
|
+
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%F %T.%L %z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%F %T.%L %Z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span>
|
4557
|
+
|
4558
|
+
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%F %T.%L</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%F %T</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%F %H:%M</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%F</span><span class='tstring_end'>"</span></span><span class='comma'>,</span>
|
4559
|
+
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%d/%m/%Y %T.%L</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%d/%m/%Y %T</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%d/%m/%Y %H:%M</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%d/%m/%Y</span><span class='tstring_end'>"</span></span>
|
4500
4560
|
<span class='rbracket'>]</span>
|
4501
4561
|
|
4502
4562
|
<span class='comment'># Creates a new content.
|
@@ -5054,7 +5114,11 @@ multiple locales.</p>
|
|
5054
5114
|
379
|
5055
5115
|
380
|
5056
5116
|
381
|
5057
|
-
382
|
5117
|
+
382
|
5118
|
+
383
|
5119
|
+
384
|
5120
|
+
385
|
5121
|
+
386</pre>
|
5058
5122
|
</td>
|
5059
5123
|
<td>
|
5060
5124
|
<pre class="code"><span class="info file"># File 'lib/mbrao/content.rb', line 119</span>
|
@@ -5077,9 +5141,13 @@ multiple locales.</p>
|
|
5077
5141
|
<span class='comment'># The allowed string format for a datetime.
|
5078
5142
|
</span> <span class='const'>ALLOWED_DATETIME_FORMATS</span> <span class='op'>=</span> <span class='lbracket'>[</span>
|
5079
5143
|
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%Y%m%dT%H%M%S%z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%Y%m%dT%H%M%S%Z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span>
|
5080
|
-
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%FT%T.%L
|
5081
|
-
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%
|
5082
|
-
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%
|
5144
|
+
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%FT%T.%L%z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%FT%T.%L%Z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span>
|
5145
|
+
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%FT%T%z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%FT%T%Z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span>
|
5146
|
+
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%F %T %z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%F %T %Z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span>
|
5147
|
+
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%F %T.%L %z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%F %T.%L %Z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span>
|
5148
|
+
|
5149
|
+
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%F %T.%L</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%F %T</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%F %H:%M</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%F</span><span class='tstring_end'>"</span></span><span class='comma'>,</span>
|
5150
|
+
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%d/%m/%Y %T.%L</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%d/%m/%Y %T</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%d/%m/%Y %H:%M</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%d/%m/%Y</span><span class='tstring_end'>"</span></span>
|
5083
5151
|
<span class='rbracket'>]</span>
|
5084
5152
|
|
5085
5153
|
<span class='comment'># Creates a new content.
|
@@ -5635,7 +5703,11 @@ multiple locales.</p>
|
|
5635
5703
|
379
|
5636
5704
|
380
|
5637
5705
|
381
|
5638
|
-
382
|
5706
|
+
382
|
5707
|
+
383
|
5708
|
+
384
|
5709
|
+
385
|
5710
|
+
386</pre>
|
5639
5711
|
</td>
|
5640
5712
|
<td>
|
5641
5713
|
<pre class="code"><span class="info file"># File 'lib/mbrao/content.rb', line 119</span>
|
@@ -5658,9 +5730,13 @@ multiple locales.</p>
|
|
5658
5730
|
<span class='comment'># The allowed string format for a datetime.
|
5659
5731
|
</span> <span class='const'>ALLOWED_DATETIME_FORMATS</span> <span class='op'>=</span> <span class='lbracket'>[</span>
|
5660
5732
|
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%Y%m%dT%H%M%S%z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%Y%m%dT%H%M%S%Z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span>
|
5661
|
-
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%FT%T.%L
|
5662
|
-
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%
|
5663
|
-
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%
|
5733
|
+
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%FT%T.%L%z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%FT%T.%L%Z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span>
|
5734
|
+
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%FT%T%z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%FT%T%Z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span>
|
5735
|
+
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%F %T %z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%F %T %Z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span>
|
5736
|
+
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%F %T.%L %z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%F %T.%L %Z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span>
|
5737
|
+
|
5738
|
+
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%F %T.%L</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%F %T</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%F %H:%M</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%F</span><span class='tstring_end'>"</span></span><span class='comma'>,</span>
|
5739
|
+
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%d/%m/%Y %T.%L</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%d/%m/%Y %T</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%d/%m/%Y %H:%M</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%d/%m/%Y</span><span class='tstring_end'>"</span></span>
|
5664
5740
|
<span class='rbracket'>]</span>
|
5665
5741
|
|
5666
5742
|
<span class='comment'># Creates a new content.
|
@@ -6216,7 +6292,11 @@ multiple locales.</p>
|
|
6216
6292
|
379
|
6217
6293
|
380
|
6218
6294
|
381
|
6219
|
-
382
|
6295
|
+
382
|
6296
|
+
383
|
6297
|
+
384
|
6298
|
+
385
|
6299
|
+
386</pre>
|
6220
6300
|
</td>
|
6221
6301
|
<td>
|
6222
6302
|
<pre class="code"><span class="info file"># File 'lib/mbrao/content.rb', line 119</span>
|
@@ -6239,9 +6319,13 @@ multiple locales.</p>
|
|
6239
6319
|
<span class='comment'># The allowed string format for a datetime.
|
6240
6320
|
</span> <span class='const'>ALLOWED_DATETIME_FORMATS</span> <span class='op'>=</span> <span class='lbracket'>[</span>
|
6241
6321
|
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%Y%m%dT%H%M%S%z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%Y%m%dT%H%M%S%Z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span>
|
6242
|
-
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%FT%T.%L
|
6243
|
-
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%
|
6244
|
-
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%
|
6322
|
+
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%FT%T.%L%z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%FT%T.%L%Z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span>
|
6323
|
+
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%FT%T%z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%FT%T%Z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span>
|
6324
|
+
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%F %T %z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%F %T %Z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span>
|
6325
|
+
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%F %T.%L %z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%F %T.%L %Z</span><span class='tstring_end'>"</span></span><span class='comma'>,</span>
|
6326
|
+
|
6327
|
+
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%F %T.%L</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%F %T</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%F %H:%M</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%F</span><span class='tstring_end'>"</span></span><span class='comma'>,</span>
|
6328
|
+
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%d/%m/%Y %T.%L</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%d/%m/%Y %T</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%d/%m/%Y %H:%M</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%d/%m/%Y</span><span class='tstring_end'>"</span></span>
|
6245
6329
|
<span class='rbracket'>]</span>
|
6246
6330
|
|
6247
6331
|
<span class='comment'># Creates a new content.
|
@@ -6573,15 +6657,15 @@ multiple locales.</p>
|
|
6573
6657
|
<pre class="lines">
|
6574
6658
|
|
6575
6659
|
|
6576
|
-
277
|
6577
|
-
278
|
6578
|
-
279
|
6579
|
-
280
|
6580
6660
|
281
|
6581
|
-
282
|
6661
|
+
282
|
6662
|
+
283
|
6663
|
+
284
|
6664
|
+
285
|
6665
|
+
286</pre>
|
6582
6666
|
</td>
|
6583
6667
|
<td>
|
6584
|
-
<pre class="code"><span class="info file"># File 'lib/mbrao/content.rb', line
|
6668
|
+
<pre class="code"><span class="info file"># File 'lib/mbrao/content.rb', line 281</span>
|
6585
6669
|
|
6586
6670
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_create'>create</span><span class='lparen'>(</span><span class='id identifier rubyid_metadata'>metadata</span><span class='comma'>,</span> <span class='id identifier rubyid_body'>body</span><span class='rparen'>)</span>
|
6587
6671
|
<span class='id identifier rubyid_rv'>rv</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_new'>new</span>
|
@@ -6686,15 +6770,15 @@ used.</p>
|
|
6686
6770
|
<pre class="lines">
|
6687
6771
|
|
6688
6772
|
|
6689
|
-
265
|
6690
|
-
266
|
6691
|
-
267
|
6692
|
-
268
|
6693
6773
|
269
|
6694
|
-
270
|
6774
|
+
270
|
6775
|
+
271
|
6776
|
+
272
|
6777
|
+
273
|
6778
|
+
274</pre>
|
6695
6779
|
</td>
|
6696
6780
|
<td>
|
6697
|
-
<pre class="code"><span class="info file"># File 'lib/mbrao/content.rb', line
|
6781
|
+
<pre class="code"><span class="info file"># File 'lib/mbrao/content.rb', line 269</span>
|
6698
6782
|
|
6699
6783
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_validate_locales'>validate_locales</span><span class='lparen'>(</span><span class='id identifier rubyid_locales'>locales</span><span class='comma'>,</span> <span class='id identifier rubyid_content'>content</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='rparen'>)</span>
|
6700
6784
|
<span class='id identifier rubyid_locales'>locales</span> <span class='op'>=</span> <span class='id identifier rubyid_locales'>locales</span><span class='period'>.</span><span class='id identifier rubyid_ensure_array'>ensure_array</span><span class='lparen'>(</span><span class='kw'>nil</span><span class='comma'>,</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='kw'>true</span><span class='rparen'>)</span> <span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid_l'>l</span><span class='op'>|</span> <span class='id identifier rubyid_l'>l</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> <span class='rbrace'>}</span>
|
@@ -6782,13 +6866,13 @@ The only supported value are:</p>
|
|
6782
6866
|
<pre class="lines">
|
6783
6867
|
|
6784
6868
|
|
6785
|
-
|
6786
|
-
|
6787
|
-
|
6788
|
-
|
6869
|
+
258
|
6870
|
+
259
|
6871
|
+
260
|
6872
|
+
261</pre>
|
6789
6873
|
</td>
|
6790
6874
|
<td>
|
6791
|
-
<pre class="code"><span class="info file"># File 'lib/mbrao/content.rb', line
|
6875
|
+
<pre class="code"><span class="info file"># File 'lib/mbrao/content.rb', line 258</span>
|
6792
6876
|
|
6793
6877
|
<span class='kw'>def</span> <span class='id identifier rubyid_as_json'>as_json</span><span class='lparen'>(</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>
|
6794
6878
|
<span class='id identifier rubyid_keys'>keys</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='symbol'>:uid</span><span class='comma'>,</span> <span class='symbol'>:locales</span><span class='comma'>,</span> <span class='symbol'>:title</span><span class='comma'>,</span> <span class='symbol'>:summary</span><span class='comma'>,</span> <span class='symbol'>:body</span><span class='comma'>,</span> <span class='symbol'>:tags</span><span class='comma'>,</span> <span class='symbol'>:more</span><span class='comma'>,</span> <span class='symbol'>:author</span><span class='comma'>,</span> <span class='symbol'>:created_at</span><span class='comma'>,</span> <span class='symbol'>:updated_at</span><span class='comma'>,</span> <span class='symbol'>:metadata</span><span class='rbracket'>]</span>
|
@@ -6804,9 +6888,9 @@ The only supported value are:</p>
|
|
6804
6888
|
</div>
|
6805
6889
|
|
6806
6890
|
<div id="footer">
|
6807
|
-
Generated on
|
6891
|
+
Generated on Wed Apr 9 21:36:00 2014 by
|
6808
6892
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
6809
|
-
0.8.7.
|
6893
|
+
0.8.7.4 (ruby-2.1.0).
|
6810
6894
|
</div>
|
6811
6895
|
|
6812
6896
|
</body>
|