mbrao 1.5.0 → 1.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +2 -4
- data/.rubocop.yml +51 -3
- data/.travis-gemfile +5 -5
- data/.travis.yml +5 -3
- data/CHANGELOG.md +5 -0
- data/Gemfile +10 -9
- data/README.md +1 -2
- data/Rakefile +22 -6
- data/doc/ActionView.html +3 -3
- data/doc/ActionView/Template.html +3 -3
- data/doc/ActionView/Template/Handlers.html +3 -3
- data/doc/ActionView/Template/Handlers/MbraoTemplate.html +3 -3
- data/doc/HTML.html +3 -3
- data/doc/HTML/Pipeline.html +3 -3
- data/doc/HTML/Pipeline/KramdownFilter.html +3 -3
- data/doc/Mbrao.html +5 -5
- data/doc/Mbrao/Author.html +10 -10
- data/doc/Mbrao/Content.html +825 -844
- data/doc/Mbrao/ContentInterface.html +5 -5
- data/doc/Mbrao/ContentInterface/ClassMethods.html +4 -4
- data/doc/Mbrao/Exceptions.html +3 -3
- data/doc/Mbrao/Exceptions/InvalidDate.html +3 -3
- data/doc/Mbrao/Exceptions/InvalidMetadata.html +3 -3
- data/doc/Mbrao/Exceptions/Parsing.html +3 -3
- data/doc/Mbrao/Exceptions/Rendering.html +3 -3
- data/doc/Mbrao/Exceptions/UnavailableLocalization.html +3 -3
- data/doc/Mbrao/Exceptions/Unimplemented.html +3 -3
- data/doc/Mbrao/Exceptions/UnknownEngine.html +3 -3
- data/doc/Mbrao/Parser.html +3 -3
- data/doc/Mbrao/ParserInterface.html +3 -3
- data/doc/Mbrao/ParserInterface/ClassMethods.html +35 -95
- data/doc/Mbrao/ParserValidations.html +3 -3
- data/doc/Mbrao/ParserValidations/ClassMethods.html +3 -3
- data/doc/Mbrao/ParsingEngines.html +3 -3
- data/doc/Mbrao/ParsingEngines/Base.html +3 -3
- data/doc/Mbrao/ParsingEngines/PlainText.html +11 -17
- data/doc/Mbrao/RenderingEngines.html +3 -3
- data/doc/Mbrao/RenderingEngines/Base.html +3 -3
- data/doc/Mbrao/RenderingEngines/HtmlPipeline.html +24 -92
- data/doc/Mbrao/Version.html +4 -4
- data/doc/_index.html +8 -8
- data/doc/class_list.html +5 -1
- data/doc/file.README.html +5 -6
- data/doc/file_list.html +5 -1
- data/doc/frames.html +1 -1
- data/doc/index.html +5 -6
- data/doc/js/full_list.js +4 -1
- data/doc/method_list.html +75 -53
- data/doc/top-level-namespace.html +3 -3
- data/lib/mbrao/author.rb +1 -1
- data/lib/mbrao/content.rb +47 -65
- data/lib/mbrao/content_interface.rb +5 -17
- data/lib/mbrao/parser.rb +4 -10
- data/lib/mbrao/parser_interface.rb +9 -19
- data/lib/mbrao/parsing_engines/plain_text.rb +22 -58
- data/lib/mbrao/rendering_engines/html_pipeline.rb +9 -26
- data/lib/mbrao/version.rb +1 -1
- data/mbrao.gemspec +9 -9
- data/spec/mbrao/content_spec.rb +4 -4
- data/spec/mbrao/integrations/rails_spec.rb +4 -4
- data/spec/mbrao/parser_spec.rb +15 -15
- data/spec/spec_helper.rb +19 -5
- metadata +17 -19
- data/spec/coverage_helper.rb +0 -20
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4ba3ba35c30e5454b0c7871a771cda0cc2fea3a7
|
4
|
+
data.tar.gz: 0f6ca6e9e0f52c0ab1edc91408a732458cd04afa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bdf6607d26e82c137ddf409da3ce5806d41c47022ae582d97eecff4fae612c732b2de3e9c3fd2c792db50526571416c7bdcee1013f746b497ef1903b5e52ecda
|
7
|
+
data.tar.gz: b5d3062e3fc6dd26f75055e1779ed24aa5ed50ec63f325af30c431374a7bfb9fd3d007455e730769a89a3ea73439e3ed20ed40ad764b6c7718d9a693956a370d
|
data/.gitignore
CHANGED
data/.rubocop.yml
CHANGED
@@ -1,7 +1,19 @@
|
|
1
|
-
|
1
|
+
AllCops:
|
2
|
+
TargetRubyVersion: 2.3
|
3
|
+
Include:
|
4
|
+
- "*/**/.rb"
|
5
|
+
- "config.ru"
|
6
|
+
- "Rakefile"
|
7
|
+
- "Gemfile"
|
8
|
+
Exclude:
|
9
|
+
- "config/**/*"
|
10
|
+
- "db/**/*"
|
11
|
+
- "spec/**/*"
|
12
|
+
|
13
|
+
Alias:
|
2
14
|
Enabled: false
|
3
15
|
|
4
|
-
|
16
|
+
AsciiComments:
|
5
17
|
Enabled: false
|
6
18
|
|
7
19
|
BracesAroundHashParameters:
|
@@ -10,14 +22,41 @@ BracesAroundHashParameters:
|
|
10
22
|
CyclomaticComplexity:
|
11
23
|
Max: 15
|
12
24
|
|
25
|
+
ClassLength:
|
26
|
+
Max: 150
|
27
|
+
|
28
|
+
Documentation:
|
29
|
+
Enabled: false
|
30
|
+
|
31
|
+
EachWithObject:
|
32
|
+
Enabled: false
|
33
|
+
|
34
|
+
FormatString:
|
35
|
+
Enabled: false
|
36
|
+
|
37
|
+
FrozenStringLiteralComment:
|
38
|
+
Enabled: false
|
39
|
+
|
13
40
|
IndentationConsistency:
|
14
41
|
Enabled: false
|
15
42
|
|
16
43
|
LineLength:
|
17
44
|
Max: 160
|
18
45
|
|
46
|
+
MethodLength:
|
47
|
+
Max: 15
|
48
|
+
|
49
|
+
ModuleLength:
|
50
|
+
Max: 200
|
51
|
+
|
52
|
+
MultilineMethodCallIndentation:
|
53
|
+
Enabled: false
|
54
|
+
|
19
55
|
ParameterLists:
|
20
|
-
Max:
|
56
|
+
Max: 8
|
57
|
+
|
58
|
+
RegexpLiteral:
|
59
|
+
Enabled: false
|
21
60
|
|
22
61
|
SignalException:
|
23
62
|
Enabled: false
|
@@ -27,3 +66,12 @@ SpaceInsideHashLiteralBraces:
|
|
27
66
|
|
28
67
|
StringLiterals:
|
29
68
|
Enabled: false
|
69
|
+
|
70
|
+
StringLiteralsInInterpolation:
|
71
|
+
Enabled: false
|
72
|
+
|
73
|
+
StringReplacement:
|
74
|
+
Enabled: false
|
75
|
+
|
76
|
+
WordArray:
|
77
|
+
Enabled: false
|
data/.travis-gemfile
CHANGED
@@ -9,8 +9,8 @@ source "http://rubygems.org"
|
|
9
9
|
gemspec
|
10
10
|
|
11
11
|
# Testing
|
12
|
-
gem "rspec", "~>
|
13
|
-
gem "rake", "~>
|
14
|
-
gem "simplecov", "
|
15
|
-
gem "
|
16
|
-
gem "
|
12
|
+
gem "rspec", "~> 3.4"
|
13
|
+
gem "rake", "~> 11.0"
|
14
|
+
gem "simplecov", "~> 0.11"
|
15
|
+
gem "coveralls", "~> 0.8", require: false
|
16
|
+
gem "actionpack", "~> 4.2"
|
data/.travis.yml
CHANGED
@@ -1,8 +1,10 @@
|
|
1
1
|
language: ruby
|
2
2
|
rvm:
|
3
|
-
- 2.
|
4
|
-
|
5
|
-
script: bundle exec rake spec:coverage
|
3
|
+
- 2.3.0
|
4
|
+
script: bundle exec rake spec:ci
|
6
5
|
gemfile: .travis-gemfile
|
7
6
|
notifications:
|
8
7
|
email: false
|
8
|
+
addons:
|
9
|
+
code_climate:
|
10
|
+
repo_token: 55a517f08ad82a755876285eb98b779caf3d97a6726572e45ad1377cf0cb34d0
|
data/CHANGELOG.md
CHANGED
data/Gemfile
CHANGED
@@ -9,14 +9,15 @@ source "http://rubygems.org"
|
|
9
9
|
gemspec
|
10
10
|
|
11
11
|
# Testing
|
12
|
-
gem "rspec", "~>
|
13
|
-
gem "rake", "~>
|
14
|
-
gem "actionpack", "
|
12
|
+
gem "rspec", "~> 3.4"
|
13
|
+
gem "rake", "~> 11.0"
|
14
|
+
gem "actionpack", "~> 4.2"
|
15
15
|
|
16
16
|
# Documentation
|
17
|
-
gem "simplecov", "
|
18
|
-
gem "coveralls", "
|
19
|
-
gem "pry", "
|
20
|
-
gem "yard", "
|
21
|
-
gem "kramdown", "
|
22
|
-
gem "github-markup", "
|
17
|
+
gem "simplecov", "~> 0.11"
|
18
|
+
gem "coveralls", "~> 0.8", require: false
|
19
|
+
gem "pry", "~> 0.10"
|
20
|
+
gem "yard", "~> 0.8"
|
21
|
+
gem "kramdown", "~> 1.10"
|
22
|
+
gem "github-markup", "~> 1.4"
|
23
|
+
gem "rubocop", "~> 0.39"
|
data/README.md
CHANGED
@@ -5,11 +5,10 @@
|
|
5
5
|
[![Build Status](https://secure.travis-ci.org/ShogunPanda/mbrao.png?branch=master)](https://travis-ci.org/ShogunPanda/mbrao)
|
6
6
|
[![Code Climate](https://codeclimate.com/github/ShogunPanda/mbrao.png)](https://codeclimate.com/github/ShogunPanda/mbrao)
|
7
7
|
[![Coverage Status](https://coveralls.io/repos/ShogunPanda/mbrao/badge.png)](https://coveralls.io/r/ShogunPanda/mbrao)
|
8
|
-
[![Bitdeli Trend](https://d2weczhvl823v0.cloudfront.net/ShogunPanda/mbrao/trend.png)](https://bitdeli.com/free "Bitdeli Badge")
|
9
8
|
|
10
9
|
A content parser and renderer with embedded metadata support.
|
11
10
|
|
12
|
-
http://sw.
|
11
|
+
http://sw.cowtech.it/mbrao
|
13
12
|
|
14
13
|
http://rdoc.info/gems/mbrao
|
15
14
|
|
data/Rakefile
CHANGED
@@ -7,23 +7,39 @@
|
|
7
7
|
require "bundler/gem_tasks"
|
8
8
|
require "rspec/core/rake_task"
|
9
9
|
|
10
|
+
# Compatibility layer for Rake 11.0
|
11
|
+
Rake.application.class.send(:alias_method, :last_comment, :last_description) unless Rake.application.respond_to?(:last_comment)
|
12
|
+
|
10
13
|
RSpec::Core::RakeTask.new("spec")
|
11
|
-
RSpec::Core::RakeTask.new("spec:coverage") { |t| t.ruby_opts = "-r./spec/coverage_helper" }
|
12
14
|
|
13
|
-
|
15
|
+
RSpec::Core::RakeTask.new("spec:coverage") do
|
16
|
+
ENV["COVERAGE"] = "true"
|
17
|
+
end
|
18
|
+
|
19
|
+
RSpec::Core::RakeTask.new("spec:ci") do
|
20
|
+
ENV["COVERAGE"] = "true"
|
21
|
+
ENV["NO_COLOR"] = "true"
|
22
|
+
end
|
23
|
+
|
24
|
+
desc "Performs linting of the code using rubocop"
|
25
|
+
task "lint" do
|
26
|
+
Kernel.exec("rubocop -ED lib")
|
27
|
+
end
|
28
|
+
|
29
|
+
desc "Generates the documentation"
|
14
30
|
task :docs do
|
15
31
|
system("yardoc") || raise("Failed Execution of: yardoc")
|
16
32
|
end
|
17
|
-
|
18
|
-
desc "
|
33
|
+
|
34
|
+
desc "Gets the current release version"
|
19
35
|
task :version, :with_name do |_, args|
|
20
36
|
gem = Bundler::GemHelper.instance.gemspec
|
21
37
|
puts [args[:with_name] == "true" ? gem.name : nil, gem.version].compact.join("-")
|
22
38
|
end
|
23
39
|
|
24
|
-
desc "
|
40
|
+
desc "Prepares the release"
|
25
41
|
task :prerelease => ["spec:coverage", "docs"] do
|
26
42
|
["git add -A", "git commit -am \"Version #{Bundler::GemHelper.instance.gemspec.version}\""].each do |cmd|
|
27
43
|
system(cmd) || raise("Failed Execution of: #{cmd}")
|
28
44
|
end
|
29
|
-
end
|
45
|
+
end
|
data/doc/ActionView.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Module: ActionView
|
8
8
|
|
9
|
-
— Documentation by YARD 0.8.7.
|
9
|
+
— Documentation by YARD 0.8.7.6
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -116,9 +116,9 @@
|
|
116
116
|
</div>
|
117
117
|
|
118
118
|
<div id="footer">
|
119
|
-
Generated on
|
119
|
+
Generated on Tue Mar 29 12:47:22 2016 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.6 (ruby-2.3.0).
|
122
122
|
</div>
|
123
123
|
|
124
124
|
</body>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: ActionView::Template
|
8
8
|
|
9
|
-
— Documentation by YARD 0.8.7.
|
9
|
+
— Documentation by YARD 0.8.7.6
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -131,9 +131,9 @@
|
|
131
131
|
</div>
|
132
132
|
|
133
133
|
<div id="footer">
|
134
|
-
Generated on
|
134
|
+
Generated on Tue Mar 29 12:47:22 2016 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.6 (ruby-2.3.0).
|
137
137
|
</div>
|
138
138
|
|
139
139
|
</body>
|
@@ -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.6
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -116,9 +116,9 @@
|
|
116
116
|
</div>
|
117
117
|
|
118
118
|
<div id="footer">
|
119
|
-
Generated on
|
119
|
+
Generated on Tue Mar 29 12:47:22 2016 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.6 (ruby-2.3.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.6
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -626,9 +626,9 @@
|
|
626
626
|
</div>
|
627
627
|
|
628
628
|
<div id="footer">
|
629
|
-
Generated on
|
629
|
+
Generated on Tue Mar 29 12:47:22 2016 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.6 (ruby-2.3.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.6
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -116,9 +116,9 @@
|
|
116
116
|
</div>
|
117
117
|
|
118
118
|
<div id="footer">
|
119
|
-
Generated on
|
119
|
+
Generated on Tue Mar 29 12:47:22 2016 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.6 (ruby-2.3.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.6
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -131,9 +131,9 @@
|
|
131
131
|
</div>
|
132
132
|
|
133
133
|
<div id="footer">
|
134
|
-
Generated on
|
134
|
+
Generated on Tue Mar 29 12:47:22 2016 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.6 (ruby-2.3.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.6
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -345,9 +345,9 @@
|
|
345
345
|
</div>
|
346
346
|
|
347
347
|
<div id="footer">
|
348
|
-
Generated on
|
348
|
+
Generated on Tue Mar 29 12:47:22 2016 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.6 (ruby-2.3.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.6
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -79,8 +79,8 @@
|
|
79
79
|
|
80
80
|
|
81
81
|
<dt class="r1 last">Defined in:</dt>
|
82
|
-
<dd class="r1 last">lib/mbrao/
|
83
|
-
lib/mbrao/
|
82
|
+
<dd class="r1 last">lib/mbrao/author.rb<span class="defines">,<br />
|
83
|
+
lib/mbrao/parser.rb,<br /> lib/mbrao/version.rb,<br /> lib/mbrao/content.rb,<br /> lib/mbrao/exceptions.rb,<br /> lib/mbrao/parser_interface.rb,<br /> lib/mbrao/content_interface.rb,<br /> lib/mbrao/parser_validations.rb,<br /> lib/mbrao/parsing_engines/base.rb,<br /> lib/mbrao/rendering_engines/base.rb,<br /> lib/mbrao/parsing_engines/plain_text.rb,<br /> lib/mbrao/rendering_engines/html_pipeline.rb</span>
|
84
84
|
</dd>
|
85
85
|
|
86
86
|
</dl>
|
@@ -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 Tue Mar 29 12:47:22 2016 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.6 (ruby-2.3.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.6
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -499,7 +499,7 @@
|
|
499
499
|
<span class='ivar'>@email</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_email?'>email?</span><span class='lparen'>(</span><span class='id identifier rubyid_email'>email</span><span class='rparen'>)</span> <span class='op'>?</span> <span class='id identifier rubyid_email'>email</span> <span class='op'>:</span> <span class='kw'>nil</span>
|
500
500
|
<span class='ivar'>@website</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_url?'>url?</span><span class='lparen'>(</span><span class='id identifier rubyid_website'>website</span><span class='rparen'>)</span> <span class='op'>?</span> <span class='id identifier rubyid_website'>website</span> <span class='op'>:</span> <span class='kw'>nil</span>
|
501
501
|
<span class='ivar'>@image</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_url?'>url?</span><span class='lparen'>(</span><span class='id identifier rubyid_image'>image</span><span class='rparen'>)</span> <span class='op'>?</span> <span class='id identifier rubyid_image'>image</span> <span class='op'>:</span> <span class='kw'>nil</span>
|
502
|
-
<span class='ivar'>@metadata</span> <span class='op'>=</span> <span class='id identifier rubyid_metadata'>metadata</span><span class='period'>.</span><span class='id identifier rubyid_ensure_hash'>ensure_hash</span><span class='lparen'>(</span><span class='symbol'>:indifferent</span><span class='rparen'>)</span>
|
502
|
+
<span class='ivar'>@metadata</span> <span class='op'>=</span> <span class='id identifier rubyid_metadata'>metadata</span><span class='period'>.</span><span class='id identifier rubyid_ensure_hash'>ensure_hash</span><span class='lparen'>(</span><span class='label'>accesses:</span> <span class='symbol'>:indifferent</span><span class='rparen'>)</span>
|
503
503
|
<span class='kw'>end</span></pre>
|
504
504
|
</td>
|
505
505
|
</tr>
|
@@ -632,7 +632,7 @@
|
|
632
632
|
<span class='ivar'>@email</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_email?'>email?</span><span class='lparen'>(</span><span class='id identifier rubyid_email'>email</span><span class='rparen'>)</span> <span class='op'>?</span> <span class='id identifier rubyid_email'>email</span> <span class='op'>:</span> <span class='kw'>nil</span>
|
633
633
|
<span class='ivar'>@website</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_url?'>url?</span><span class='lparen'>(</span><span class='id identifier rubyid_website'>website</span><span class='rparen'>)</span> <span class='op'>?</span> <span class='id identifier rubyid_website'>website</span> <span class='op'>:</span> <span class='kw'>nil</span>
|
634
634
|
<span class='ivar'>@image</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_url?'>url?</span><span class='lparen'>(</span><span class='id identifier rubyid_image'>image</span><span class='rparen'>)</span> <span class='op'>?</span> <span class='id identifier rubyid_image'>image</span> <span class='op'>:</span> <span class='kw'>nil</span>
|
635
|
-
<span class='ivar'>@metadata</span> <span class='op'>=</span> <span class='id identifier rubyid_metadata'>metadata</span><span class='period'>.</span><span class='id identifier rubyid_ensure_hash'>ensure_hash</span><span class='lparen'>(</span><span class='symbol'>:indifferent</span><span class='rparen'>)</span>
|
635
|
+
<span class='ivar'>@metadata</span> <span class='op'>=</span> <span class='id identifier rubyid_metadata'>metadata</span><span class='period'>.</span><span class='id identifier rubyid_ensure_hash'>ensure_hash</span><span class='lparen'>(</span><span class='label'>accesses:</span> <span class='symbol'>:indifferent</span><span class='rparen'>)</span>
|
636
636
|
<span class='kw'>end</span>
|
637
637
|
|
638
638
|
<span class='comment'># Returns the author as an Hash.
|
@@ -791,7 +791,7 @@
|
|
791
791
|
<span class='ivar'>@email</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_email?'>email?</span><span class='lparen'>(</span><span class='id identifier rubyid_email'>email</span><span class='rparen'>)</span> <span class='op'>?</span> <span class='id identifier rubyid_email'>email</span> <span class='op'>:</span> <span class='kw'>nil</span>
|
792
792
|
<span class='ivar'>@website</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_url?'>url?</span><span class='lparen'>(</span><span class='id identifier rubyid_website'>website</span><span class='rparen'>)</span> <span class='op'>?</span> <span class='id identifier rubyid_website'>website</span> <span class='op'>:</span> <span class='kw'>nil</span>
|
793
793
|
<span class='ivar'>@image</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_url?'>url?</span><span class='lparen'>(</span><span class='id identifier rubyid_image'>image</span><span class='rparen'>)</span> <span class='op'>?</span> <span class='id identifier rubyid_image'>image</span> <span class='op'>:</span> <span class='kw'>nil</span>
|
794
|
-
<span class='ivar'>@metadata</span> <span class='op'>=</span> <span class='id identifier rubyid_metadata'>metadata</span><span class='period'>.</span><span class='id identifier rubyid_ensure_hash'>ensure_hash</span><span class='lparen'>(</span><span class='symbol'>:indifferent</span><span class='rparen'>)</span>
|
794
|
+
<span class='ivar'>@metadata</span> <span class='op'>=</span> <span class='id identifier rubyid_metadata'>metadata</span><span class='period'>.</span><span class='id identifier rubyid_ensure_hash'>ensure_hash</span><span class='lparen'>(</span><span class='label'>accesses:</span> <span class='symbol'>:indifferent</span><span class='rparen'>)</span>
|
795
795
|
<span class='kw'>end</span>
|
796
796
|
|
797
797
|
<span class='comment'># Returns the author as an Hash.
|
@@ -950,7 +950,7 @@
|
|
950
950
|
<span class='ivar'>@email</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_email?'>email?</span><span class='lparen'>(</span><span class='id identifier rubyid_email'>email</span><span class='rparen'>)</span> <span class='op'>?</span> <span class='id identifier rubyid_email'>email</span> <span class='op'>:</span> <span class='kw'>nil</span>
|
951
951
|
<span class='ivar'>@website</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_url?'>url?</span><span class='lparen'>(</span><span class='id identifier rubyid_website'>website</span><span class='rparen'>)</span> <span class='op'>?</span> <span class='id identifier rubyid_website'>website</span> <span class='op'>:</span> <span class='kw'>nil</span>
|
952
952
|
<span class='ivar'>@image</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_url?'>url?</span><span class='lparen'>(</span><span class='id identifier rubyid_image'>image</span><span class='rparen'>)</span> <span class='op'>?</span> <span class='id identifier rubyid_image'>image</span> <span class='op'>:</span> <span class='kw'>nil</span>
|
953
|
-
<span class='ivar'>@metadata</span> <span class='op'>=</span> <span class='id identifier rubyid_metadata'>metadata</span><span class='period'>.</span><span class='id identifier rubyid_ensure_hash'>ensure_hash</span><span class='lparen'>(</span><span class='symbol'>:indifferent</span><span class='rparen'>)</span>
|
953
|
+
<span class='ivar'>@metadata</span> <span class='op'>=</span> <span class='id identifier rubyid_metadata'>metadata</span><span class='period'>.</span><span class='id identifier rubyid_ensure_hash'>ensure_hash</span><span class='lparen'>(</span><span class='label'>accesses:</span> <span class='symbol'>:indifferent</span><span class='rparen'>)</span>
|
954
954
|
<span class='kw'>end</span>
|
955
955
|
|
956
956
|
<span class='comment'># Returns the author as an Hash.
|
@@ -1109,7 +1109,7 @@
|
|
1109
1109
|
<span class='ivar'>@email</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_email?'>email?</span><span class='lparen'>(</span><span class='id identifier rubyid_email'>email</span><span class='rparen'>)</span> <span class='op'>?</span> <span class='id identifier rubyid_email'>email</span> <span class='op'>:</span> <span class='kw'>nil</span>
|
1110
1110
|
<span class='ivar'>@website</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_url?'>url?</span><span class='lparen'>(</span><span class='id identifier rubyid_website'>website</span><span class='rparen'>)</span> <span class='op'>?</span> <span class='id identifier rubyid_website'>website</span> <span class='op'>:</span> <span class='kw'>nil</span>
|
1111
1111
|
<span class='ivar'>@image</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_url?'>url?</span><span class='lparen'>(</span><span class='id identifier rubyid_image'>image</span><span class='rparen'>)</span> <span class='op'>?</span> <span class='id identifier rubyid_image'>image</span> <span class='op'>:</span> <span class='kw'>nil</span>
|
1112
|
-
<span class='ivar'>@metadata</span> <span class='op'>=</span> <span class='id identifier rubyid_metadata'>metadata</span><span class='period'>.</span><span class='id identifier rubyid_ensure_hash'>ensure_hash</span><span class='lparen'>(</span><span class='symbol'>:indifferent</span><span class='rparen'>)</span>
|
1112
|
+
<span class='ivar'>@metadata</span> <span class='op'>=</span> <span class='id identifier rubyid_metadata'>metadata</span><span class='period'>.</span><span class='id identifier rubyid_ensure_hash'>ensure_hash</span><span class='lparen'>(</span><span class='label'>accesses:</span> <span class='symbol'>:indifferent</span><span class='rparen'>)</span>
|
1113
1113
|
<span class='kw'>end</span>
|
1114
1114
|
|
1115
1115
|
<span class='comment'># Returns the author as an Hash.
|
@@ -1268,7 +1268,7 @@
|
|
1268
1268
|
<span class='ivar'>@email</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_email?'>email?</span><span class='lparen'>(</span><span class='id identifier rubyid_email'>email</span><span class='rparen'>)</span> <span class='op'>?</span> <span class='id identifier rubyid_email'>email</span> <span class='op'>:</span> <span class='kw'>nil</span>
|
1269
1269
|
<span class='ivar'>@website</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_url?'>url?</span><span class='lparen'>(</span><span class='id identifier rubyid_website'>website</span><span class='rparen'>)</span> <span class='op'>?</span> <span class='id identifier rubyid_website'>website</span> <span class='op'>:</span> <span class='kw'>nil</span>
|
1270
1270
|
<span class='ivar'>@image</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_url?'>url?</span><span class='lparen'>(</span><span class='id identifier rubyid_image'>image</span><span class='rparen'>)</span> <span class='op'>?</span> <span class='id identifier rubyid_image'>image</span> <span class='op'>:</span> <span class='kw'>nil</span>
|
1271
|
-
<span class='ivar'>@metadata</span> <span class='op'>=</span> <span class='id identifier rubyid_metadata'>metadata</span><span class='period'>.</span><span class='id identifier rubyid_ensure_hash'>ensure_hash</span><span class='lparen'>(</span><span class='symbol'>:indifferent</span><span class='rparen'>)</span>
|
1271
|
+
<span class='ivar'>@metadata</span> <span class='op'>=</span> <span class='id identifier rubyid_metadata'>metadata</span><span class='period'>.</span><span class='id identifier rubyid_ensure_hash'>ensure_hash</span><span class='lparen'>(</span><span class='label'>accesses:</span> <span class='symbol'>:indifferent</span><span class='rparen'>)</span>
|
1272
1272
|
<span class='kw'>end</span>
|
1273
1273
|
|
1274
1274
|
<span class='comment'># Returns the author as an Hash.
|
@@ -1427,7 +1427,7 @@
|
|
1427
1427
|
<span class='ivar'>@email</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_email?'>email?</span><span class='lparen'>(</span><span class='id identifier rubyid_email'>email</span><span class='rparen'>)</span> <span class='op'>?</span> <span class='id identifier rubyid_email'>email</span> <span class='op'>:</span> <span class='kw'>nil</span>
|
1428
1428
|
<span class='ivar'>@website</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_url?'>url?</span><span class='lparen'>(</span><span class='id identifier rubyid_website'>website</span><span class='rparen'>)</span> <span class='op'>?</span> <span class='id identifier rubyid_website'>website</span> <span class='op'>:</span> <span class='kw'>nil</span>
|
1429
1429
|
<span class='ivar'>@image</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_url?'>url?</span><span class='lparen'>(</span><span class='id identifier rubyid_image'>image</span><span class='rparen'>)</span> <span class='op'>?</span> <span class='id identifier rubyid_image'>image</span> <span class='op'>:</span> <span class='kw'>nil</span>
|
1430
|
-
<span class='ivar'>@metadata</span> <span class='op'>=</span> <span class='id identifier rubyid_metadata'>metadata</span><span class='period'>.</span><span class='id identifier rubyid_ensure_hash'>ensure_hash</span><span class='lparen'>(</span><span class='symbol'>:indifferent</span><span class='rparen'>)</span>
|
1430
|
+
<span class='ivar'>@metadata</span> <span class='op'>=</span> <span class='id identifier rubyid_metadata'>metadata</span><span class='period'>.</span><span class='id identifier rubyid_ensure_hash'>ensure_hash</span><span class='lparen'>(</span><span class='label'>accesses:</span> <span class='symbol'>:indifferent</span><span class='rparen'>)</span>
|
1431
1431
|
<span class='kw'>end</span>
|
1432
1432
|
|
1433
1433
|
<span class='comment'># Returns the author as an Hash.
|
@@ -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 Tue Mar 29 12:47:22 2016 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.6 (ruby-2.3.0).
|
1669
1669
|
</div>
|
1670
1670
|
|
1671
1671
|
</body>
|