ballast 2.2.3 → 2.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.gitignore +3 -4
- data/.rubocop.yml +47 -5
- data/.travis.yml +6 -3
- data/CHANGELOG.md +4 -0
- data/Gemfile +2 -1
- data/README.md +0 -1
- data/Rakefile +17 -11
- data/ballast.gemspec +1 -1
- data/doc/Ballast.html +69 -1
- data/doc/Ballast/AjaxResponse.html +1 -1
- data/doc/Ballast/Concerns.html +1 -1
- data/doc/Ballast/Concerns/AjaxHandling.html +4 -4
- data/doc/Ballast/Concerns/Common.html +2 -2
- data/doc/Ballast/Concerns/ErrorsHandling.html +1 -1
- data/doc/Ballast/Concerns/View.html +1 -1
- data/doc/Ballast/Configuration.html +1 -1
- data/doc/Ballast/Emoji.html +1 -1
- data/doc/Ballast/Emoji/Character.html +1 -1
- data/doc/Ballast/Emoji/Utils.html +5 -5
- data/doc/Ballast/Errors.html +1 -1
- data/doc/Ballast/Errors/Base.html +1 -1
- data/doc/Ballast/Errors/Failure.html +1 -1
- data/doc/Ballast/Errors/InvalidDomain.html +1 -1
- data/doc/Ballast/Errors/ValidationFailure.html +1 -1
- data/doc/Ballast/Middlewares.html +1 -1
- data/doc/Ballast/Middlewares/DefaultHost.html +1 -1
- data/doc/Ballast/RequestDomainMatcher.html +1 -1
- data/doc/Ballast/Service.html +12 -12
- data/doc/Ballast/Service/Response.html +29 -29
- data/doc/Ballast/Version.html +2 -2
- data/doc/_index.html +1 -1
- data/doc/file.README.html +2 -3
- data/doc/index.html +2 -3
- data/doc/method_list.html +39 -33
- data/doc/top-level-namespace.html +1 -1
- data/lib/ballast.rb +0 -2
- data/lib/ballast/concerns/ajax_handling.rb +3 -3
- data/lib/ballast/concerns/common.rb +1 -1
- data/lib/ballast/configuration.rb +3 -1
- data/lib/ballast/emoji.rb +2 -2
- data/lib/ballast/service.rb +8 -8
- data/lib/ballast/version.rb +1 -1
- data/spec/ballast/concerns/common_spec.rb +1 -1
- data/spec/ballast/configuration_spec.rb +5 -3
- data/spec/ballast/service_spec.rb +12 -0
- data/spec/spec_helper.rb +18 -1
- metadata +3 -5
- data/spec/coverage_helper.rb +0 -19
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4ff41920606ca85b9b78fdfc0517da42c29df9c9
|
|
4
|
+
data.tar.gz: 614690ea6179f714e3585bc78e61d5c60e38c933
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 619b7e0dce2862172e8c56326ff8826cd21bd8a8a05e8eb6bd62670d91e2f97710ca1e32e8cdcc861453a2bfdd352ebc9b9877a75c81e6ef36557793d109f62b
|
|
7
|
+
data.tar.gz: 9f3d39d1d00ed60a92a1c867b40a99420fcd2d81363d5e30279fced2cb998dc826a73f6c98c3fe4b5d2d87b7adeb59972b392db416c5dc8c3e3aad9bc666e905
|
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,20 +22,44 @@ BracesAroundHashParameters:
|
|
|
10
22
|
CyclomaticComplexity:
|
|
11
23
|
Max: 15
|
|
12
24
|
|
|
25
|
+
ClassLength:
|
|
26
|
+
Max: 150
|
|
27
|
+
|
|
28
|
+
Documentation:
|
|
29
|
+
Enabled: false
|
|
30
|
+
|
|
13
31
|
EachWithObject:
|
|
14
32
|
Enabled: false
|
|
15
33
|
|
|
16
|
-
|
|
34
|
+
FormatString:
|
|
35
|
+
Enabled: false
|
|
36
|
+
|
|
37
|
+
FrozenStringLiteralComment:
|
|
17
38
|
Enabled: false
|
|
18
39
|
|
|
19
40
|
IndentHash:
|
|
20
41
|
Enabled: false
|
|
21
42
|
|
|
43
|
+
IndentationConsistency:
|
|
44
|
+
Enabled: false
|
|
45
|
+
|
|
22
46
|
LineLength:
|
|
23
47
|
Max: 160
|
|
24
48
|
|
|
49
|
+
MethodLength:
|
|
50
|
+
Max: 15
|
|
51
|
+
|
|
52
|
+
ModuleLength:
|
|
53
|
+
Max: 200
|
|
54
|
+
|
|
55
|
+
MultilineMethodCallIndentation:
|
|
56
|
+
Enabled: false
|
|
57
|
+
|
|
25
58
|
ParameterLists:
|
|
26
|
-
Max:
|
|
59
|
+
Max: 8
|
|
60
|
+
|
|
61
|
+
RegexpLiteral:
|
|
62
|
+
Enabled: false
|
|
27
63
|
|
|
28
64
|
SignalException:
|
|
29
65
|
Enabled: false
|
|
@@ -34,5 +70,11 @@ SpaceInsideHashLiteralBraces:
|
|
|
34
70
|
StringLiterals:
|
|
35
71
|
Enabled: false
|
|
36
72
|
|
|
37
|
-
|
|
73
|
+
StringLiteralsInInterpolation:
|
|
74
|
+
Enabled: false
|
|
75
|
+
|
|
76
|
+
StringReplacement:
|
|
77
|
+
Enabled: false
|
|
78
|
+
|
|
79
|
+
WordArray:
|
|
38
80
|
Enabled: false
|
data/.travis.yml
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
language: ruby
|
|
2
2
|
rvm:
|
|
3
|
-
- 2.3.0
|
|
4
|
-
script: bundle exec rake spec:
|
|
3
|
+
- 2.3.0
|
|
4
|
+
script: bundle exec rake spec:ci
|
|
5
5
|
gemfile: .travis-gemfile
|
|
6
6
|
notifications:
|
|
7
|
-
email: false
|
|
7
|
+
email: false
|
|
8
|
+
addons:
|
|
9
|
+
code_climate:
|
|
10
|
+
repo_token: f1f849a73d0b5cee836daa54676bd10662e87e8e726b396f212a99a77797ab4c
|
data/CHANGELOG.md
CHANGED
data/Gemfile
CHANGED
data/README.md
CHANGED
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
[](https://travis-ci.org/ShogunPanda/ballast)
|
|
6
6
|
[](https://codeclimate.com/github/ShogunPanda/ballast)
|
|
7
7
|
[](https://coveralls.io/r/ShogunPanda/ballast)
|
|
8
|
-
[](https://bitdeli.com/free "Bitdeli Badge")
|
|
9
8
|
|
|
10
9
|
A collection of base utilities for web frameworks.
|
|
11
10
|
|
data/Rakefile
CHANGED
|
@@ -9,29 +9,35 @@ require "rspec/core/rake_task"
|
|
|
9
9
|
# Compatibility layer for Rake 11.0
|
|
10
10
|
Rake.application.class.send(:alias_method, :last_comment, :last_description) unless Rake.application.respond_to?(:last_comment)
|
|
11
11
|
|
|
12
|
-
RSpec::Core::RakeTask.new("spec")
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
RSpec::Core::RakeTask.new("spec")
|
|
13
|
+
|
|
14
|
+
RSpec::Core::RakeTask.new("spec:coverage") do
|
|
15
|
+
ENV["COVERAGE"] = "true"
|
|
16
|
+
end
|
|
17
|
+
|
|
18
|
+
RSpec::Core::RakeTask.new("spec:ci") do
|
|
19
|
+
ENV["COVERAGE"] = "true"
|
|
20
|
+
ENV["NO_COLOR"] = "true"
|
|
15
21
|
end
|
|
16
22
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
23
|
+
desc "Performs linting of the code using rubocop"
|
|
24
|
+
task "lint" do
|
|
25
|
+
Kernel.exec("rubocop -ED lib")
|
|
20
26
|
end
|
|
21
27
|
|
|
22
|
-
desc "
|
|
28
|
+
desc "Generates the documentation"
|
|
23
29
|
task :docs do
|
|
24
30
|
system("yardoc") || raise("Failed Execution of: yardoc")
|
|
25
31
|
end
|
|
26
|
-
|
|
27
|
-
desc "
|
|
32
|
+
|
|
33
|
+
desc "Gets the current release version"
|
|
28
34
|
task :version, :with_name do |_, args|
|
|
29
35
|
gem = Bundler::GemHelper.instance.gemspec
|
|
30
36
|
puts [args[:with_name] == "true" ? gem.name : nil, gem.version].compact.join("-")
|
|
31
37
|
end
|
|
32
38
|
|
|
33
|
-
desc "
|
|
34
|
-
task prerelease
|
|
39
|
+
desc "Prepares the release"
|
|
40
|
+
task :prerelease => ["spec:coverage", "docs"] do
|
|
35
41
|
["git add -A", "git commit -am \"Version #{Bundler::GemHelper.instance.gemspec.version}\""].each do |cmd|
|
|
36
42
|
system(cmd) || raise("Failed Execution of: #{cmd}")
|
|
37
43
|
end
|
data/ballast.gemspec
CHANGED
|
@@ -22,7 +22,7 @@ Gem::Specification.new do |gem|
|
|
|
22
22
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
|
23
23
|
gem.require_paths = ["lib"]
|
|
24
24
|
|
|
25
|
-
gem.required_ruby_version = ">= 2.
|
|
25
|
+
gem.required_ruby_version = ">= 2.3.0"
|
|
26
26
|
|
|
27
27
|
gem.add_dependency("actionpack", "~> 4.1")
|
|
28
28
|
gem.add_dependency("brauser", "~> 4.0")
|
data/doc/Ballast.html
CHANGED
|
@@ -144,6 +144,29 @@ Licensed under the MIT license, which can be found at http://www.opensource.org/
|
|
|
144
144
|
<span class="summary_desc"><div class='inline'><p>If running under eventmachine, runs the block in a thread of its threadpool using EM::Synchrony, otherwise runs the block directly.</p>
|
|
145
145
|
</div></span>
|
|
146
146
|
|
|
147
|
+
</li>
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
<li class="public ">
|
|
151
|
+
<span class="summary_signature">
|
|
152
|
+
|
|
153
|
+
<a href="#run_in_thread-class_method" title="run_in_thread (class method)">+ (Object) <strong>run_in_thread</strong>(&block) </a>
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
</span>
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
<span class="summary_desc"><div class='inline'><p>:nodoc:.</p>
|
|
168
|
+
</div></span>
|
|
169
|
+
|
|
147
170
|
</li>
|
|
148
171
|
|
|
149
172
|
|
|
@@ -249,6 +272,51 @@ Licensed under the MIT license, which can be found at http://www.opensource.org/
|
|
|
249
272
|
</td>
|
|
250
273
|
</tr>
|
|
251
274
|
</table>
|
|
275
|
+
</div>
|
|
276
|
+
|
|
277
|
+
<div class="method_details ">
|
|
278
|
+
<h3 class="signature " id="run_in_thread-class_method">
|
|
279
|
+
|
|
280
|
+
+ (<tt>Object</tt>) <strong>run_in_thread</strong>(&block)
|
|
281
|
+
|
|
282
|
+
|
|
283
|
+
|
|
284
|
+
|
|
285
|
+
|
|
286
|
+
</h3><div class="docstring">
|
|
287
|
+
<div class="discussion">
|
|
288
|
+
<p>:nodoc:</p>
|
|
289
|
+
|
|
290
|
+
|
|
291
|
+
</div>
|
|
292
|
+
</div>
|
|
293
|
+
<div class="tags">
|
|
294
|
+
|
|
295
|
+
|
|
296
|
+
</div><table class="source_code">
|
|
297
|
+
<tr>
|
|
298
|
+
<td>
|
|
299
|
+
<pre class="lines">
|
|
300
|
+
|
|
301
|
+
|
|
302
|
+
52
|
|
303
|
+
53
|
|
304
|
+
54
|
|
305
|
+
55
|
|
306
|
+
56</pre>
|
|
307
|
+
</td>
|
|
308
|
+
<td>
|
|
309
|
+
<pre class="code"><span class="info file"># File 'lib/ballast.rb', line 52</span>
|
|
310
|
+
|
|
311
|
+
<span class='rubyid_def def kw'>def</span> <span class='rubyid_self self kw'>self</span><span class='dot token'>.</span><span class='rubyid_run_in_thread identifier id'>run_in_thread</span><span class='lparen token'>(</span><span class='bitand op'>&</span><span class='rubyid_block identifier id'>block</span><span class='rparen token'>)</span>
|
|
312
|
+
<span class='rubyid_EM constant id'>EM</span><span class='colon2 op'>::</span><span class='rubyid_Synchrony constant id'>Synchrony</span><span class='dot token'>.</span><span class='rubyid_defer identifier id'>defer</span> <span class='rubyid_do do kw'>do</span>
|
|
313
|
+
<span class='rubyid_Fiber constant id'>Fiber</span><span class='dot token'>.</span><span class='rubyid_new identifier id'>new</span> <span class='lbrace token'>{</span> <span class='rubyid_block identifier id'>block</span><span class='dot token'>.</span><span class='rubyid_call identifier id'>call</span> <span class='rbrace token'>}</span><span class='dot token'>.</span><span class='rubyid_resume identifier id'>resume</span>
|
|
314
|
+
<span class='rubyid_end end kw'>end</span>
|
|
315
|
+
<span class='rubyid_end end kw'>end</span>
|
|
316
|
+
</pre>
|
|
317
|
+
</td>
|
|
318
|
+
</tr>
|
|
319
|
+
</table>
|
|
252
320
|
</div>
|
|
253
321
|
|
|
254
322
|
</div>
|
|
@@ -256,7 +324,7 @@ Licensed under the MIT license, which can be found at http://www.opensource.org/
|
|
|
256
324
|
</div>
|
|
257
325
|
|
|
258
326
|
<div id="footer">
|
|
259
|
-
Generated on
|
|
327
|
+
Generated on Tue Mar 29 10:52:51 2016 by
|
|
260
328
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
261
329
|
0.8.7.6 (ruby-2.3.0).
|
|
262
330
|
</div>
|
|
@@ -1469,7 +1469,7 @@
|
|
|
1469
1469
|
</div>
|
|
1470
1470
|
|
|
1471
1471
|
<div id="footer">
|
|
1472
|
-
Generated on
|
|
1472
|
+
Generated on Tue Mar 29 10:52:51 2016 by
|
|
1473
1473
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
1474
1474
|
0.8.7.6 (ruby-2.3.0).
|
|
1475
1475
|
</div>
|
data/doc/Ballast/Concerns.html
CHANGED
|
@@ -118,7 +118,7 @@
|
|
|
118
118
|
</div>
|
|
119
119
|
|
|
120
120
|
<div id="footer">
|
|
121
|
-
Generated on
|
|
121
|
+
Generated on Tue Mar 29 10:52:51 2016 by
|
|
122
122
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
123
123
|
0.8.7.6 (ruby-2.3.0).
|
|
124
124
|
</div>
|
|
@@ -499,14 +499,14 @@
|
|
|
499
499
|
|
|
500
500
|
<span class='rubyid_def def kw'>def</span> <span class='rubyid_generate_robots_txt identifier id'>generate_robots_txt</span><span class='lparen token'>(</span><span class='rubyid_configuration identifier id'>configuration</span> <span class='assign token'>=</span> <span class='rubyid_nil nil kw'>nil</span><span class='rparen token'>)</span>
|
|
501
501
|
<span class='rubyid_configuration identifier id'>configuration</span> <span class='opasgn op'>||=</span> <span class='lbrace token'>{</span><span class='string val'>"*"</span> <span class='assign token'>=</span><span class='gt op'>></span> <span class='string val'>"/"</span><span class='rbrace token'>}</span>
|
|
502
|
-
<span class='rubyid_rv identifier id'>rv</span> <span class='assign token'>=</span> <span class='rubyid_configuration identifier id'>configuration</span><span class='dot token'>.</span><span class='rubyid_reduce identifier id'>reduce</span><span class='lparen token'>(</span><span class='lbrack token'>[</span><span class='rbrack token'>]</span><span class='rparen token'>)</span> <span class='
|
|
502
|
+
<span class='rubyid_rv identifier id'>rv</span> <span class='assign token'>=</span> <span class='rubyid_configuration identifier id'>configuration</span><span class='dot token'>.</span><span class='rubyid_reduce identifier id'>reduce</span><span class='lparen token'>(</span><span class='lbrack token'>[</span><span class='rbrack token'>]</span><span class='rparen token'>)</span> <span class='rubyid_do do kw'>do</span> <span class='bitor op'>|</span><span class='rubyid_accu identifier id'>accu</span><span class='comma token'>,</span> <span class='lparen token'>(</span><span class='rubyid_agent identifier id'>agent</span><span class='comma token'>,</span> <span class='rubyid_paths identifier id'>paths</span><span class='rparen token'>)</span><span class='bitor op'>|</span>
|
|
503
503
|
<span class='rubyid_paths identifier id'>paths</span> <span class='assign token'>=</span> <span class='rubyid_paths identifier id'>paths</span><span class='dot token'>.</span><span class='rubyid_ensure_array identifier id'>ensure_array</span><span class='dot token'>.</span><span class='rubyid_map identifier id'>map</span> <span class='lbrace token'>{</span> <span class='bitor op'>|</span><span class='rubyid_e identifier id'>e</span><span class='bitor op'>|</span> <span class='dstring node'>"Disallow: #{e}"</span> <span class='rbrace token'>}</span>
|
|
504
504
|
|
|
505
505
|
<span class='rubyid_accu identifier id'>accu</span> <span class='lshft op'><<</span> <span class='dstring node'>"User-agent: #{agent}\n#{paths.join("\n")}"</span>
|
|
506
506
|
<span class='rubyid_accu identifier id'>accu</span>
|
|
507
|
-
<span class='
|
|
507
|
+
<span class='rubyid_end end kw'>end</span>
|
|
508
508
|
|
|
509
|
-
<span class='rubyid_render identifier id'>render</span><span class='lparen token'>(</span><span class='label val'>text:</span> <span class='rubyid_rv identifier id'>rv</span><span class='comma token'>,</span> <span class='label val'>content_type:</span> <span class='string val'>"text/plain"</span><span class='rparen token'>)</span>
|
|
509
|
+
<span class='rubyid_render identifier id'>render</span><span class='lparen token'>(</span><span class='label val'>text:</span> <span class='rubyid_rv identifier id'>rv</span><span class='dot token'>.</span><span class='rubyid_join identifier id'>join</span><span class='lparen token'>(</span><span class='string val'>"\n\n"</span><span class='rparen token'>)</span><span class='comma token'>,</span> <span class='label val'>content_type:</span> <span class='string val'>"text/plain"</span><span class='rparen token'>)</span>
|
|
510
510
|
<span class='rubyid_end end kw'>end</span>
|
|
511
511
|
</pre>
|
|
512
512
|
</td>
|
|
@@ -658,7 +658,7 @@
|
|
|
658
658
|
</div>
|
|
659
659
|
|
|
660
660
|
<div id="footer">
|
|
661
|
-
Generated on
|
|
661
|
+
Generated on Tue Mar 29 10:52:51 2016 by
|
|
662
662
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
663
663
|
0.8.7.6 (ruby-2.3.0).
|
|
664
664
|
</div>
|
|
@@ -383,7 +383,7 @@
|
|
|
383
383
|
<pre class="code"><span class="info file"># File 'lib/ballast/concerns/common.rb', line 87</span>
|
|
384
384
|
|
|
385
385
|
<span class='rubyid_def def kw'>def</span> <span class='rubyid_authenticate_user identifier id'>authenticate_user</span><span class='lparen token'>(</span><span class='label val'>area:</span> <span class='rubyid_nil nil kw'>nil</span><span class='comma token'>,</span> <span class='label val'>title:</span> <span class='rubyid_nil nil kw'>nil</span><span class='comma token'>,</span> <span class='label val'>message:</span> <span class='rubyid_nil nil kw'>nil</span><span class='comma token'>,</span> <span class='bitand op'>&</span><span class='rubyid_authenticator identifier id'>authenticator</span><span class='rparen token'>)</span>
|
|
386
|
-
<span class='rubyid_return return kw'>return</span> <span class='rubyid_if if_mod kw'>if</span> <span class='rubyid_authenticate_with_http_basic identifier id'>authenticate_with_http_basic</span
|
|
386
|
+
<span class='rubyid_return return kw'>return</span> <span class='rubyid_if if_mod kw'>if</span> <span class='rubyid_authenticate_with_http_basic identifier id'>authenticate_with_http_basic</span><span class='lparen token'>(</span><span class='bitand op'>&</span><span class='rubyid_authenticator identifier id'>authenticator</span><span class='rparen token'>)</span>
|
|
387
387
|
|
|
388
388
|
<span class='rubyid_area identifier id'>area</span> <span class='opasgn op'>||=</span> <span class='string val'>"Private Area"</span>
|
|
389
389
|
<span class='rubyid_title identifier id'>title</span> <span class='opasgn op'>||=</span> <span class='string val'>"Authentication required."</span>
|
|
@@ -956,7 +956,7 @@ and <code>%:Z</code> for the zone name considering also DST.</p>
|
|
|
956
956
|
</div>
|
|
957
957
|
|
|
958
958
|
<div id="footer">
|
|
959
|
-
Generated on
|
|
959
|
+
Generated on Tue Mar 29 10:52:51 2016 by
|
|
960
960
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
961
961
|
0.8.7.6 (ruby-2.3.0).
|
|
962
962
|
</div>
|
|
@@ -274,7 +274,7 @@
|
|
|
274
274
|
</div>
|
|
275
275
|
|
|
276
276
|
<div id="footer">
|
|
277
|
-
Generated on
|
|
277
|
+
Generated on Tue Mar 29 10:52:51 2016 by
|
|
278
278
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
279
279
|
0.8.7.6 (ruby-2.3.0).
|
|
280
280
|
</div>
|
|
@@ -881,7 +881,7 @@
|
|
|
881
881
|
</div>
|
|
882
882
|
|
|
883
883
|
<div id="footer">
|
|
884
|
-
Generated on
|
|
884
|
+
Generated on Tue Mar 29 10:52:51 2016 by
|
|
885
885
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
886
886
|
0.8.7.6 (ruby-2.3.0).
|
|
887
887
|
</div>
|
|
@@ -451,7 +451,7 @@ Subfolders are not supported.</p>
|
|
|
451
451
|
</div>
|
|
452
452
|
|
|
453
453
|
<div id="footer">
|
|
454
|
-
Generated on
|
|
454
|
+
Generated on Tue Mar 29 10:52:51 2016 by
|
|
455
455
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
456
456
|
0.8.7.6 (ruby-2.3.0).
|
|
457
457
|
</div>
|
data/doc/Ballast/Emoji.html
CHANGED
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
</div>
|
|
117
117
|
|
|
118
118
|
<div id="footer">
|
|
119
|
-
Generated on
|
|
119
|
+
Generated on Tue Mar 29 10:52:51 2016 by
|
|
120
120
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
121
121
|
0.8.7.6 (ruby-2.3.0).
|
|
122
122
|
</div>
|
|
@@ -405,7 +405,7 @@
|
|
|
405
405
|
</div>
|
|
406
406
|
|
|
407
407
|
<div id="footer">
|
|
408
|
-
Generated on
|
|
408
|
+
Generated on Tue Mar 29 10:52:51 2016 by
|
|
409
409
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
410
410
|
0.8.7.6 (ruby-2.3.0).
|
|
411
411
|
</div>
|
|
@@ -379,10 +379,10 @@
|
|
|
379
379
|
<span class='rubyid_keys_method identifier id'>keys_method</span> <span class='assign token'>=</span> <span class='symbol val'>:markup</span> <span class='rubyid_unless unless_mod kw'>unless</span> <span class='rubyid_keys_method identifier id'>keys_method</span> <span class='andop op'>&&</span> <span class='rubyid_tester identifier id'>tester</span><span class='dot token'>.</span><span class='rubyid_respond_to? fid id'>respond_to?</span><span class='lparen token'>(</span><span class='rubyid_keys_method identifier id'>keys_method</span><span class='rparen token'>)</span>
|
|
380
380
|
<span class='rubyid_values_method identifier id'>values_method</span> <span class='assign token'>=</span> <span class='symbol val'>:html</span> <span class='rubyid_unless unless_mod kw'>unless</span> <span class='rubyid_values_method identifier id'>values_method</span> <span class='andop op'>&&</span> <span class='rubyid_tester identifier id'>tester</span><span class='dot token'>.</span><span class='rubyid_respond_to? fid id'>respond_to?</span><span class='lparen token'>(</span><span class='rubyid_values_method identifier id'>values_method</span><span class='rparen token'>)</span>
|
|
381
381
|
|
|
382
|
-
<span class='colon3 op'>::</span><span class='rubyid_Emoji constant id'>Emoji</span><span class='dot token'>.</span><span class='rubyid_all identifier id'>all</span><span class='dot token'>.</span><span class='rubyid_reduce identifier id'>reduce</span><span class='lparen token'>(</span><span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='rparen token'>)</span> <span class='
|
|
382
|
+
<span class='colon3 op'>::</span><span class='rubyid_Emoji constant id'>Emoji</span><span class='dot token'>.</span><span class='rubyid_all identifier id'>all</span><span class='dot token'>.</span><span class='rubyid_reduce identifier id'>reduce</span><span class='lparen token'>(</span><span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='rparen token'>)</span> <span class='rubyid_do do kw'>do</span> <span class='bitor op'>|</span><span class='rubyid_accu identifier id'>accu</span><span class='comma token'>,</span> <span class='rubyid_icon identifier id'>icon</span><span class='bitor op'>|</span>
|
|
383
383
|
<span class='rubyid_accu identifier id'>accu</span><span class='lbrack token'>[</span><span class='rubyid_invoke identifier id'>invoke</span><span class='lparen token'>(</span><span class='rubyid_icon identifier id'>icon</span><span class='comma token'>,</span> <span class='rubyid_keys_method identifier id'>keys_method</span><span class='comma token'>,</span> <span class='rubyid_options identifier id'>options</span><span class='rparen token'>)</span><span class='rbrack token'>]</span> <span class='assign token'>=</span> <span class='rubyid_invoke identifier id'>invoke</span><span class='lparen token'>(</span><span class='rubyid_icon identifier id'>icon</span><span class='comma token'>,</span> <span class='rubyid_values_method identifier id'>values_method</span><span class='comma token'>,</span> <span class='rubyid_options identifier id'>options</span><span class='rparen token'>)</span>
|
|
384
384
|
<span class='rubyid_accu identifier id'>accu</span>
|
|
385
|
-
<span class='
|
|
385
|
+
<span class='rubyid_end end kw'>end</span>
|
|
386
386
|
<span class='rubyid_end end kw'>end</span>
|
|
387
387
|
|
|
388
388
|
<span class='comment val'># Returns the URL mapper for the emojis.</span>
|
|
@@ -530,10 +530,10 @@
|
|
|
530
530
|
<span class='rubyid_keys_method identifier id'>keys_method</span> <span class='assign token'>=</span> <span class='symbol val'>:markup</span> <span class='rubyid_unless unless_mod kw'>unless</span> <span class='rubyid_keys_method identifier id'>keys_method</span> <span class='andop op'>&&</span> <span class='rubyid_tester identifier id'>tester</span><span class='dot token'>.</span><span class='rubyid_respond_to? fid id'>respond_to?</span><span class='lparen token'>(</span><span class='rubyid_keys_method identifier id'>keys_method</span><span class='rparen token'>)</span>
|
|
531
531
|
<span class='rubyid_values_method identifier id'>values_method</span> <span class='assign token'>=</span> <span class='symbol val'>:html</span> <span class='rubyid_unless unless_mod kw'>unless</span> <span class='rubyid_values_method identifier id'>values_method</span> <span class='andop op'>&&</span> <span class='rubyid_tester identifier id'>tester</span><span class='dot token'>.</span><span class='rubyid_respond_to? fid id'>respond_to?</span><span class='lparen token'>(</span><span class='rubyid_values_method identifier id'>values_method</span><span class='rparen token'>)</span>
|
|
532
532
|
|
|
533
|
-
<span class='colon3 op'>::</span><span class='rubyid_Emoji constant id'>Emoji</span><span class='dot token'>.</span><span class='rubyid_all identifier id'>all</span><span class='dot token'>.</span><span class='rubyid_reduce identifier id'>reduce</span><span class='lparen token'>(</span><span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='rparen token'>)</span> <span class='
|
|
533
|
+
<span class='colon3 op'>::</span><span class='rubyid_Emoji constant id'>Emoji</span><span class='dot token'>.</span><span class='rubyid_all identifier id'>all</span><span class='dot token'>.</span><span class='rubyid_reduce identifier id'>reduce</span><span class='lparen token'>(</span><span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='rparen token'>)</span> <span class='rubyid_do do kw'>do</span> <span class='bitor op'>|</span><span class='rubyid_accu identifier id'>accu</span><span class='comma token'>,</span> <span class='rubyid_icon identifier id'>icon</span><span class='bitor op'>|</span>
|
|
534
534
|
<span class='rubyid_accu identifier id'>accu</span><span class='lbrack token'>[</span><span class='rubyid_invoke identifier id'>invoke</span><span class='lparen token'>(</span><span class='rubyid_icon identifier id'>icon</span><span class='comma token'>,</span> <span class='rubyid_keys_method identifier id'>keys_method</span><span class='comma token'>,</span> <span class='rubyid_options identifier id'>options</span><span class='rparen token'>)</span><span class='rbrack token'>]</span> <span class='assign token'>=</span> <span class='rubyid_invoke identifier id'>invoke</span><span class='lparen token'>(</span><span class='rubyid_icon identifier id'>icon</span><span class='comma token'>,</span> <span class='rubyid_values_method identifier id'>values_method</span><span class='comma token'>,</span> <span class='rubyid_options identifier id'>options</span><span class='rparen token'>)</span>
|
|
535
535
|
<span class='rubyid_accu identifier id'>accu</span>
|
|
536
|
-
<span class='
|
|
536
|
+
<span class='rubyid_end end kw'>end</span>
|
|
537
537
|
<span class='rubyid_end end kw'>end</span>
|
|
538
538
|
</pre>
|
|
539
539
|
</td>
|
|
@@ -790,7 +790,7 @@
|
|
|
790
790
|
</div>
|
|
791
791
|
|
|
792
792
|
<div id="footer">
|
|
793
|
-
Generated on
|
|
793
|
+
Generated on Tue Mar 29 10:52:51 2016 by
|
|
794
794
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
795
795
|
0.8.7.6 (ruby-2.3.0).
|
|
796
796
|
</div>
|
data/doc/Ballast/Errors.html
CHANGED
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
</div>
|
|
117
117
|
|
|
118
118
|
<div id="footer">
|
|
119
|
-
Generated on
|
|
119
|
+
Generated on Tue Mar 29 10:52:51 2016 by
|
|
120
120
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
121
121
|
0.8.7.6 (ruby-2.3.0).
|
|
122
122
|
</div>
|