closure 1.5.3 → 1.5.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/docs/closure/Closure/BeanShell.html +5 -5
- data/docs/closure/Closure/Compiler/Compilation.html +28 -28
- data/docs/closure/Closure/Compiler/Error.html +2 -2
- data/docs/closure/Closure/Compiler.html +2 -2
- data/docs/closure/Closure/FileResponse.html +2 -2
- data/docs/closure/Closure/Goog.html +266 -133
- data/docs/closure/Closure/Middleware.html +2 -2
- data/docs/closure/Closure/Script/NotFound.html +2 -2
- data/docs/closure/Closure/Script/RenderStackOverflow.html +2 -2
- data/docs/closure/Closure/Script.html +18 -20
- data/docs/closure/Closure/Server.html +2 -2
- data/docs/closure/Closure/ShowExceptions.html +2 -2
- data/docs/closure/Closure/Sources.html +2 -2
- data/docs/closure/Closure/Templates/Error.html +2 -2
- data/docs/closure/Closure/Templates.html +8 -8
- data/docs/closure/Closure.html +104 -37
- data/docs/closure/_index.html +2 -2
- data/docs/closure/file.LICENSE.html +2 -2
- data/docs/closure/file.README.html +2 -2
- data/docs/closure/index.html +2 -2
- data/docs/closure/method_list.html +53 -41
- data/docs/closure/top-level-namespace.html +2 -2
- data/lib/closure/sources.rb +24 -24
- data/lib/closure/version.rb +1 -1
- data/lib/closure.rb +12 -3
- metadata +3 -3
@@ -308,9 +308,9 @@ Closure Script, even in non-source folders, by using the url extension e.g.
|
|
308
308
|
</div>
|
309
309
|
|
310
310
|
<div id="footer">
|
311
|
-
Generated on
|
311
|
+
Generated on Wed Jan 25 12:33:31 2017 by
|
312
312
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
313
|
-
0.8.7.6 (ruby-2.
|
313
|
+
0.8.7.6 (ruby-2.1.8).
|
314
314
|
</div>
|
315
315
|
|
316
316
|
</body>
|
@@ -114,9 +114,9 @@
|
|
114
114
|
</div>
|
115
115
|
|
116
116
|
<div id="footer">
|
117
|
-
Generated on
|
117
|
+
Generated on Wed Jan 25 12:33:31 2017 by
|
118
118
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
119
|
-
0.8.7.6 (ruby-2.
|
119
|
+
0.8.7.6 (ruby-2.1.8).
|
120
120
|
</div>
|
121
121
|
|
122
122
|
</body>
|
@@ -114,9 +114,9 @@
|
|
114
114
|
</div>
|
115
115
|
|
116
116
|
<div id="footer">
|
117
|
-
Generated on
|
117
|
+
Generated on Wed Jan 25 12:33:31 2017 by
|
118
118
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
119
|
-
0.8.7.6 (ruby-2.
|
119
|
+
0.8.7.6 (ruby-2.1.8).
|
120
120
|
</div>
|
121
121
|
|
122
122
|
</body>
|
@@ -436,7 +436,7 @@ can use for redirects, cookies, and other controller actions.</p>
|
|
436
436
|
<span class='comment'># Make errors appear from the render instead of the engine.call
|
437
437
|
</span> <span class='id identifier rubyid_e'>e</span><span class='period'>.</span><span class='id identifier rubyid_set_backtrace'>set_backtrace</span> <span class='id identifier rubyid_e'>e</span><span class='period'>.</span><span class='id identifier rubyid_backtrace'>backtrace</span><span class='lbracket'>[</span><span class='int'>1</span><span class='op'>..</span><span class='op'>-</span><span class='int'>1</span><span class='rbracket'>]</span>
|
438
438
|
<span class='id identifier rubyid_env'>env</span><span class='lbracket'>[</span><span class='const'>ENV_ERROR_CONTENT_TYPE</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='ivar'>@response</span><span class='period'>.</span><span class='id identifier rubyid_finish'>finish</span><span class='lbracket'>[</span><span class='int'>1</span><span class='rbracket'>]</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Content-Type</span><span class='tstring_end'>"</span></span><span class='rbracket'>]</span> <span class='kw'>rescue</span> <span class='kw'>nil</span>
|
439
|
-
<span class='id identifier rubyid_raise'>raise</span> <span class='id identifier rubyid_e'>e</span>
|
439
|
+
<span class='id identifier rubyid_raise'>raise</span> <span class='id identifier rubyid_e'>e</span>
|
440
440
|
<span class='kw'>end</span>
|
441
441
|
<span class='ivar'>@response</span><span class='period'>.</span><span class='id identifier rubyid_status'>status</span> <span class='op'>=</span> <span class='int'>404</span>
|
442
442
|
<span class='ivar'>@response</span><span class='period'>.</span><span class='id identifier rubyid_write'>write</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>404 Not Found\n</span><span class='tstring_end'>"</span></span>
|
@@ -538,10 +538,10 @@ can use for redirects, cookies, and other controller actions.</p>
|
|
538
538
|
|
539
539
|
|
540
540
|
<pre class="example code"><code><%= if render_stack.size == 1
|
541
|
-
render 'html_version'
|
541
|
+
render 'html_version'
|
542
542
|
else
|
543
543
|
render 'included_version'
|
544
|
-
end
|
544
|
+
end
|
545
545
|
%></code></pre>
|
546
546
|
|
547
547
|
</div>
|
@@ -596,7 +596,7 @@ can use for redirects, cookies, and other controller actions.</p>
|
|
596
596
|
<div class="discussion">
|
597
597
|
|
598
598
|
<p>After rendering, #finish will be sent to the client. If you replace the
|
599
|
-
response or add to the response#body,
|
599
|
+
response or add to the response#body, the script engine rendering will not
|
600
600
|
be added.</p>
|
601
601
|
|
602
602
|
|
@@ -806,19 +806,17 @@ be added.</p>
|
|
806
806
|
144
|
807
807
|
145
|
808
808
|
146
|
809
|
-
147
|
810
|
-
148</pre>
|
809
|
+
147</pre>
|
811
810
|
</td>
|
812
811
|
<td>
|
813
812
|
<pre class="code"><span class="info file"># File 'lib/closure/script.rb', line 135</span>
|
814
813
|
|
815
814
|
<span class='kw'>def</span> <span class='id identifier rubyid_expand_src'>expand_src</span><span class='lparen'>(</span><span class='id identifier rubyid_filename'>filename</span><span class='comma'>,</span> <span class='id identifier rubyid_dir'>dir</span><span class='op'>=</span><span class='kw'>nil</span><span class='rparen'>)</span>
|
816
|
-
<span class='id identifier rubyid_found'>found</span> <span class='op'>=</span> <span class='kw'>false</span>
|
817
815
|
<span class='id identifier rubyid_filename'>filename</span> <span class='op'>=</span> <span class='id identifier rubyid_expand_path'>expand_path</span> <span class='id identifier rubyid_filename'>filename</span><span class='comma'>,</span> <span class='id identifier rubyid_dir'>dir</span>
|
818
816
|
<span class='id identifier rubyid_src'>src</span> <span class='op'>=</span> <span class='kw'>nil</span>
|
819
|
-
<span class='ivar'>@goog</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier
|
820
|
-
<span class='id identifier rubyid_dir_range'>dir_range</span> <span class='op'>=</span> <span class='lparen'>(</span><span class='id identifier
|
821
|
-
<span class='kw'>if</span> <span class='id identifier rubyid_filename'>filename</span><span class='period'>.</span><span class='id identifier rubyid_index'>index</span><span class='lparen'>(</span><span class='id identifier
|
817
|
+
<span class='ivar'>@goog</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_directory'>directory</span><span class='comma'>,</span> <span class='id identifier rubyid_path'>path</span><span class='op'>|</span>
|
818
|
+
<span class='id identifier rubyid_dir_range'>dir_range</span> <span class='op'>=</span> <span class='lparen'>(</span><span class='id identifier rubyid_directory'>directory</span><span class='period'>.</span><span class='id identifier rubyid_length'>length</span><span class='op'>..</span><span class='op'>-</span><span class='int'>1</span><span class='rparen'>)</span>
|
819
|
+
<span class='kw'>if</span> <span class='id identifier rubyid_filename'>filename</span><span class='period'>.</span><span class='id identifier rubyid_index'>index</span><span class='lparen'>(</span><span class='id identifier rubyid_directory'>directory</span><span class='rparen'>)</span> <span class='op'>==</span> <span class='int'>0</span>
|
822
820
|
<span class='id identifier rubyid_src'>src</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_path'>path</span><span class='embexpr_end'>}</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_filename'>filename</span><span class='period'>.</span><span class='id identifier rubyid_slice'>slice</span><span class='lparen'>(</span><span class='id identifier rubyid_dir_range'>dir_range</span><span class='rparen'>)</span><span class='embexpr_end'>}</span><span class='tstring_end'>"</span></span>
|
823
821
|
<span class='kw'>break</span>
|
824
822
|
<span class='kw'>end</span>
|
@@ -890,14 +888,14 @@ be added.</p>
|
|
890
888
|
<pre class="lines">
|
891
889
|
|
892
890
|
|
891
|
+
152
|
893
892
|
153
|
894
893
|
154
|
895
894
|
155
|
896
|
-
156
|
897
|
-
157</pre>
|
895
|
+
156</pre>
|
898
896
|
</td>
|
899
897
|
<td>
|
900
|
-
<pre class="code"><span class="info file"># File 'lib/closure/script.rb', line
|
898
|
+
<pre class="code"><span class="info file"># File 'lib/closure/script.rb', line 152</span>
|
901
899
|
|
902
900
|
<span class='kw'>def</span> <span class='id identifier rubyid_relative_src'>relative_src</span><span class='lparen'>(</span><span class='id identifier rubyid_filename'>filename</span><span class='comma'>,</span> <span class='id identifier rubyid_dir'>dir</span><span class='op'>=</span><span class='kw'>nil</span><span class='rparen'>)</span>
|
903
901
|
<span class='id identifier rubyid_file'>file</span> <span class='op'>=</span> <span class='id identifier rubyid_expand_src'>expand_src</span> <span class='id identifier rubyid_filename'>filename</span><span class='comma'>,</span> <span class='id identifier rubyid_dir'>dir</span>
|
@@ -1046,7 +1044,7 @@ be added.</p>
|
|
1046
1044
|
<span class='kw'>if</span> <span class='id identifier rubyid_render_stack'>render_stack</span><span class='period'>.</span><span class='id identifier rubyid_size'>size</span> <span class='op'>></span> <span class='int'>100</span>
|
1047
1045
|
<span class='comment'># Since nobody sane should recurse through here, this mainly
|
1048
1046
|
</span> <span class='comment'># finds a render self that you might get after a copy and paste
|
1049
|
-
</span> <span class='id identifier rubyid_raise'>raise</span> <span class='const'>RenderStackOverflow</span>
|
1047
|
+
</span> <span class='id identifier rubyid_raise'>raise</span> <span class='const'>RenderStackOverflow</span>
|
1050
1048
|
<span class='kw'>elsif</span> <span class='id identifier rubyid_render_stack'>render_stack</span><span class='period'>.</span><span class='id identifier rubyid_size'>size</span> <span class='op'>></span> <span class='int'>0</span>
|
1051
1049
|
<span class='comment'># Hooray for relative paths and easily movable files
|
1052
1050
|
</span> <span class='id identifier rubyid_filename'>filename</span> <span class='op'>=</span> <span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_expand_path'>expand_path</span><span class='lparen'>(</span><span class='id identifier rubyid_filename'>filename</span><span class='comma'>,</span> <span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_dirname'>dirname</span><span class='lparen'>(</span><span class='id identifier rubyid_render_stack'>render_stack</span><span class='period'>.</span><span class='id identifier rubyid_last'>last</span><span class='rparen'>)</span><span class='rparen'>)</span>
|
@@ -1055,16 +1053,16 @@ be added.</p>
|
|
1055
1053
|
</span> <span class='id identifier rubyid_filename'>filename</span> <span class='op'>=</span> <span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_expand_path'>expand_path</span><span class='lparen'>(</span><span class='id identifier rubyid_filename'>filename</span><span class='rparen'>)</span>
|
1056
1054
|
<span class='id identifier rubyid_raise'>raise</span> <span class='const'>NotFound</span> <span class='kw'>if</span> <span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_basename'>basename</span><span class='lparen'>(</span><span class='id identifier rubyid_filename'>filename</span><span class='rparen'>)</span> <span class='op'>=~</span> <span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>^_</span><span class='regexp_end'>/</span></span>
|
1057
1055
|
<span class='kw'>end</span>
|
1058
|
-
<span class='id identifier
|
1056
|
+
<span class='id identifier rubyid_fext'>fext</span> <span class='op'>=</span> <span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_extname'>extname</span><span class='lparen'>(</span><span class='id identifier rubyid_filename'>filename</span><span class='rparen'>)</span>
|
1059
1057
|
<span class='id identifier rubyid_files1'>files1</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='id identifier rubyid_filename'>filename</span><span class='rbracket'>]</span>
|
1060
|
-
<span class='id identifier rubyid_files1'>files1</span> <span class='op'><<</span> <span class='id identifier rubyid_filename'>filename</span> <span class='op'>+</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>.html</span><span class='tstring_end'>'</span></span> <span class='kw'>if</span> <span class='id identifier
|
1061
|
-
<span class='id identifier rubyid_files1'>files1</span> <span class='op'><<</span> <span class='id identifier rubyid_filename'>filename</span><span class='period'>.</span><span class='id identifier rubyid_sub'>sub</span><span class='lparen'>(</span><span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>.html$</span><span class='regexp_end'>/</span></span><span class='comma'>,</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span> <span class='kw'>if</span> <span class='id identifier
|
1058
|
+
<span class='id identifier rubyid_files1'>files1</span> <span class='op'><<</span> <span class='id identifier rubyid_filename'>filename</span> <span class='op'>+</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>.html</span><span class='tstring_end'>'</span></span> <span class='kw'>if</span> <span class='id identifier rubyid_fext'>fext</span> <span class='op'>==</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_end'>'</span></span>
|
1059
|
+
<span class='id identifier rubyid_files1'>files1</span> <span class='op'><<</span> <span class='id identifier rubyid_filename'>filename</span><span class='period'>.</span><span class='id identifier rubyid_sub'>sub</span><span class='lparen'>(</span><span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>.html$</span><span class='regexp_end'>/</span></span><span class='comma'>,</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span> <span class='kw'>if</span> <span class='id identifier rubyid_fext'>fext</span> <span class='op'>==</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>.html</span><span class='tstring_end'>'</span></span>
|
1062
1060
|
<span class='id identifier rubyid_files1'>files1</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_filename1'>filename1</span><span class='op'>|</span>
|
1063
1061
|
<span class='const'>Closure</span><span class='period'>.</span><span class='id identifier rubyid_config'>config</span><span class='period'>.</span><span class='id identifier rubyid_engines'>engines</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_ext'>ext</span><span class='comma'>,</span> <span class='id identifier rubyid_engine'>engine</span><span class='op'>|</span>
|
1064
1062
|
<span class='id identifier rubyid_files2'>files2</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='id identifier rubyid_filename1'>filename1</span><span class='op'>+</span><span class='id identifier rubyid_ext'>ext</span><span class='rbracket'>]</span>
|
1065
1063
|
<span class='id identifier rubyid_files2'>files2</span> <span class='op'><<</span> <span class='id identifier rubyid_filename1'>filename1</span><span class='period'>.</span><span class='id identifier rubyid_gsub'>gsub</span><span class='lparen'>(</span><span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>.html$</span><span class='regexp_end'>/</span></span><span class='comma'>,</span> <span class='id identifier rubyid_ext'>ext</span><span class='rparen'>)</span> <span class='kw'>if</span> <span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_extname'>extname</span><span class='lparen'>(</span><span class='id identifier rubyid_filename1'>filename1</span><span class='rparen'>)</span> <span class='op'>==</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>.html</span><span class='tstring_end'>'</span></span>
|
1066
1064
|
<span class='kw'>unless</span> <span class='id identifier rubyid_filename1'>filename1</span> <span class='op'>=~</span> <span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>^_</span><span class='regexp_end'>/</span></span> <span class='kw'>or</span> <span class='id identifier rubyid_render_stack'>render_stack</span><span class='period'>.</span><span class='id identifier rubyid_empty?'>empty?</span>
|
1067
|
-
<span class='id identifier rubyid_files2'>files2</span> <span class='op'>=</span> <span class='id identifier rubyid_files2'>files2</span> <span class='op'>+</span> <span class='id identifier rubyid_files2'>files2</span><span class='period'>.</span><span class='id identifier rubyid_collect'>collect</span> <span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid_f'>f</span><span class='op'>|</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='embexpr_beg'>#{</span><span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_dirname'>dirname</span><span class='lparen'>(</span><span class='id identifier rubyid_f'>f</span><span class='rparen'>)</span><span class='embexpr_end'>}</span><span class='tstring_content'>/_</span><span class='embexpr_beg'>#{</span><span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_basename'>basename</span><span class='lparen'>(</span><span class='id identifier rubyid_f'>f</span><span class='rparen'>)</span><span class='embexpr_end'>}</span><span class='tstring_end'>"</span></span><span class='rbrace'>}</span>
|
1065
|
+
<span class='id identifier rubyid_files2'>files2</span> <span class='op'>=</span> <span class='id identifier rubyid_files2'>files2</span> <span class='op'>+</span> <span class='id identifier rubyid_files2'>files2</span><span class='period'>.</span><span class='id identifier rubyid_collect'>collect</span> <span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid_f'>f</span><span class='op'>|</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='embexpr_beg'>#{</span><span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_dirname'>dirname</span><span class='lparen'>(</span><span class='id identifier rubyid_f'>f</span><span class='rparen'>)</span><span class='embexpr_end'>}</span><span class='tstring_content'>/_</span><span class='embexpr_beg'>#{</span><span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_basename'>basename</span><span class='lparen'>(</span><span class='id identifier rubyid_f'>f</span><span class='rparen'>)</span><span class='embexpr_end'>}</span><span class='tstring_end'>"</span></span><span class='rbrace'>}</span>
|
1068
1066
|
<span class='kw'>end</span>
|
1069
1067
|
<span class='id identifier rubyid_files2'>files2</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_filename2'>filename2</span><span class='op'>|</span>
|
1070
1068
|
<span class='kw'>if</span> <span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_file?'>file?</span><span class='lparen'>(</span><span class='id identifier rubyid_filename2'>filename2</span><span class='rparen'>)</span> <span class='kw'>and</span> <span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_readable?'>readable?</span><span class='lparen'>(</span><span class='id identifier rubyid_filename2'>filename2</span><span class='rparen'>)</span>
|
@@ -1092,9 +1090,9 @@ be added.</p>
|
|
1092
1090
|
</div>
|
1093
1091
|
|
1094
1092
|
<div id="footer">
|
1095
|
-
Generated on
|
1093
|
+
Generated on Wed Jan 25 12:33:31 2017 by
|
1096
1094
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1097
|
-
0.8.7.6 (ruby-2.
|
1095
|
+
0.8.7.6 (ruby-2.1.8).
|
1098
1096
|
</div>
|
1099
1097
|
|
1100
1098
|
</body>
|
@@ -443,9 +443,9 @@ too.</p>
|
|
443
443
|
</div>
|
444
444
|
|
445
445
|
<div id="footer">
|
446
|
-
Generated on
|
446
|
+
Generated on Wed Jan 25 12:33:30 2017 by
|
447
447
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
448
|
-
0.8.7.6 (ruby-2.
|
448
|
+
0.8.7.6 (ruby-2.1.8).
|
449
449
|
</div>
|
450
450
|
|
451
451
|
</body>
|
@@ -270,9 +270,9 @@ the request was for javascript.</p>
|
|
270
270
|
</div>
|
271
271
|
|
272
272
|
<div id="footer">
|
273
|
-
Generated on
|
273
|
+
Generated on Wed Jan 25 12:33:31 2017 by
|
274
274
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
275
|
-
0.8.7.6 (ruby-2.
|
275
|
+
0.8.7.6 (ruby-2.1.8).
|
276
276
|
</div>
|
277
277
|
|
278
278
|
</body>
|
@@ -1381,9 +1381,9 @@ invalidate the cache.</p>
|
|
1381
1381
|
</div>
|
1382
1382
|
|
1383
1383
|
<div id="footer">
|
1384
|
-
Generated on
|
1384
|
+
Generated on Wed Jan 25 12:33:31 2017 by
|
1385
1385
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1386
|
-
0.8.7.6 (ruby-2.
|
1386
|
+
0.8.7.6 (ruby-2.1.8).
|
1387
1387
|
</div>
|
1388
1388
|
|
1389
1389
|
</body>
|
@@ -114,9 +114,9 @@
|
|
114
114
|
</div>
|
115
115
|
|
116
116
|
<div id="footer">
|
117
|
-
Generated on
|
117
|
+
Generated on Wed Jan 25 12:33:31 2017 by
|
118
118
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
119
|
-
0.8.7.6 (ruby-2.
|
119
|
+
0.8.7.6 (ruby-2.1.8).
|
120
120
|
</div>
|
121
121
|
|
122
122
|
</body>
|
@@ -311,7 +311,7 @@ on source filename arguments.</p>
|
|
311
311
|
<span class='id identifier rubyid_args_index'>args_index</span> <span class='op'>+=</span> <span class='int'>1</span>
|
312
312
|
<span class='kw'>end</span>
|
313
313
|
<span class='id identifier rubyid_args_index'>args_index</span> <span class='op'>+=</span> <span class='int'>1</span>
|
314
|
-
<span class='kw'>else</span>
|
314
|
+
<span class='kw'>else</span>
|
315
315
|
<span class='id identifier rubyid_arg'>arg</span> <span class='op'>=</span> <span class='id identifier rubyid_args'>args</span><span class='lbracket'>[</span><span class='id identifier rubyid_args_index'>args_index</span><span class='rbracket'>]</span>
|
316
316
|
<span class='id identifier rubyid_arg'>arg</span> <span class='op'>=</span> <span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_expand_path'>expand_path</span><span class='lparen'>(</span><span class='id identifier rubyid_arg'>arg</span><span class='comma'>,</span> <span class='id identifier rubyid_base'>base</span><span class='rparen'>)</span> <span class='kw'>if</span> <span class='id identifier rubyid_base'>base</span>
|
317
317
|
<span class='kw'>if</span> <span class='id identifier rubyid_arg'>arg</span> <span class='op'>=~</span> <span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>\*</span><span class='regexp_end'>/</span></span>
|
@@ -324,9 +324,9 @@ on source filename arguments.</p>
|
|
324
324
|
<span class='kw'>end</span>
|
325
325
|
<span class='comment'># extract filenames
|
326
326
|
</span> <span class='id identifier rubyid_mode'>mode</span> <span class='op'>=</span> <span class='symbol'>:start</span>
|
327
|
-
<span class='id identifier rubyid_args'>args</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier
|
328
|
-
<span class='id identifier rubyid_mode'>mode</span> <span class='op'>=</span> <span class='symbol'>:out</span> <span class='kw'>and</span> <span class='kw'>next</span> <span class='kw'>if</span> <span class='id identifier
|
329
|
-
<span class='id identifier rubyid_files'>files</span> <span class='op'><<</span> <span class='id identifier
|
327
|
+
<span class='id identifier rubyid_args'>args</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_argument'>argument</span><span class='op'>|</span>
|
328
|
+
<span class='id identifier rubyid_mode'>mode</span> <span class='op'>=</span> <span class='symbol'>:out</span> <span class='kw'>and</span> <span class='kw'>next</span> <span class='kw'>if</span> <span class='id identifier rubyid_argument'>argument</span> <span class='op'>==</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>--outputPathFormat</span><span class='tstring_end'>'</span></span>
|
329
|
+
<span class='id identifier rubyid_files'>files</span> <span class='op'><<</span> <span class='id identifier rubyid_argument'>argument</span> <span class='kw'>if</span> <span class='id identifier rubyid_mode'>mode</span> <span class='op'>==</span> <span class='symbol'>:collect</span>
|
330
330
|
<span class='id identifier rubyid_mode'>mode</span> <span class='op'>=</span> <span class='symbol'>:collect</span> <span class='kw'>if</span> <span class='id identifier rubyid_mode'>mode</span> <span class='op'>==</span> <span class='symbol'>:out</span>
|
331
331
|
<span class='kw'>end</span>
|
332
332
|
<span class='comment'># detect source changes
|
@@ -343,9 +343,9 @@ on source filename arguments.</p>
|
|
343
343
|
<span class='id identifier rubyid_mtimes'>mtimes</span><span class='period'>.</span><span class='id identifier rubyid_clear'>clear</span>
|
344
344
|
<span class='comment'># compile as needed
|
345
345
|
</span> <span class='kw'>if</span> <span class='op'>!</span><span class='id identifier rubyid_compiled'>compiled</span>
|
346
|
-
<span class='id identifier
|
346
|
+
<span class='id identifier rubyid__'>_</span><span class='comma'>,</span> <span class='id identifier rubyid_err'>err</span> <span class='op'>=</span> <span class='const'>Closure</span><span class='period'>.</span><span class='id identifier rubyid_run_java'>run_java</span> <span class='const'>Closure</span><span class='period'>.</span><span class='id identifier rubyid_config'>config</span><span class='period'>.</span><span class='id identifier rubyid_soy_js_jar'>soy_js_jar</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>com.google.template.soy.SoyToJsSrcCompiler</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='id identifier rubyid_args'>args</span>
|
347
347
|
<span class='kw'>unless</span> <span class='id identifier rubyid_err'>err</span><span class='period'>.</span><span class='id identifier rubyid_empty?'>empty?</span>
|
348
|
-
<span class='id identifier rubyid_raise'>raise</span> <span class='const'>Error</span><span class='comma'>,</span> <span class='id identifier rubyid_err'>err</span>
|
348
|
+
<span class='id identifier rubyid_raise'>raise</span> <span class='const'>Error</span><span class='comma'>,</span> <span class='id identifier rubyid_err'>err</span>
|
349
349
|
<span class='kw'>end</span>
|
350
350
|
<span class='kw'>end</span>
|
351
351
|
<span class='comment'># success, keep the mtimes for next time
|
@@ -361,9 +361,9 @@ on source filename arguments.</p>
|
|
361
361
|
</div>
|
362
362
|
|
363
363
|
<div id="footer">
|
364
|
-
Generated on
|
364
|
+
Generated on Wed Jan 25 12:33:31 2017 by
|
365
365
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
366
|
-
0.8.7.6 (ruby-2.
|
366
|
+
0.8.7.6 (ruby-2.1.8).
|
367
367
|
</div>
|
368
368
|
|
369
369
|
</body>
|
data/docs/closure/Closure.html
CHANGED
@@ -170,7 +170,7 @@ quickly.</p>
|
|
170
170
|
<dt id="VERSION-constant" class="">VERSION =
|
171
171
|
|
172
172
|
</dt>
|
173
|
-
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>1.5.
|
173
|
+
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>1.5.4</span><span class='tstring_end'>"</span></span></pre></dd>
|
174
174
|
|
175
175
|
</dl>
|
176
176
|
|
@@ -192,7 +192,7 @@ quickly.</p>
|
|
192
192
|
<li class="public ">
|
193
193
|
<span class="summary_signature">
|
194
194
|
|
195
|
-
<a href="#add_source-class_method" title="add_source (class method)">+ <strong>add_source</strong>(directory, path
|
195
|
+
<a href="#add_source-class_method" title="add_source (class method)">+ <strong>add_source</strong>(directory, path) </a>
|
196
196
|
|
197
197
|
|
198
198
|
|
@@ -258,6 +258,30 @@ quickly.</p>
|
|
258
258
|
<p>Set these before the rack server is called for the first time.</p>
|
259
259
|
</div></span>
|
260
260
|
|
261
|
+
</li>
|
262
|
+
|
263
|
+
|
264
|
+
<li class="public ">
|
265
|
+
<span class="summary_signature">
|
266
|
+
|
267
|
+
<a href="#exclude-class_method" title="exclude (class method)">+ <strong>exclude</strong>(directory) </a>
|
268
|
+
|
269
|
+
|
270
|
+
|
271
|
+
</span>
|
272
|
+
|
273
|
+
|
274
|
+
|
275
|
+
|
276
|
+
|
277
|
+
|
278
|
+
|
279
|
+
|
280
|
+
|
281
|
+
<span class="summary_desc"><div class='inline'>
|
282
|
+
<p>Easy config.</p>
|
283
|
+
</div></span>
|
284
|
+
|
261
285
|
</li>
|
262
286
|
|
263
287
|
|
@@ -323,9 +347,9 @@ and used for <span class='object_link'><a href="" title="Closure (class)">Script
|
|
323
347
|
<h3 class="signature first" id="add_source-class_method">
|
324
348
|
|
325
349
|
|
326
|
-
<span class="overload">+ <strong>add_source</strong>(directory, path
|
350
|
+
<span class="overload">+ <strong>add_source</strong>(directory, path) </span>
|
327
351
|
|
328
|
-
<span class="overload">+ <strong>add_source</strong>(built_in, path
|
352
|
+
<span class="overload">+ <strong>add_source</strong>(built_in, path) </span>
|
329
353
|
|
330
354
|
|
331
355
|
|
@@ -362,8 +386,6 @@ the <span class='object_link'><a href="#BUILT_INS-constant" title="Closure::BUIL
|
|
362
386
|
<span class='type'>(<tt>String</tt>)</span>
|
363
387
|
|
364
388
|
|
365
|
-
<em class="default">(defaults to: <tt>nil</tt>)</em>
|
366
|
-
|
367
389
|
|
368
390
|
—
|
369
391
|
<div class='inline'>
|
@@ -434,9 +456,9 @@ the <span class='object_link'><a href="#BUILT_INS-constant" title="Closure::BUIL
|
|
434
456
|
<td>
|
435
457
|
<pre class="code"><span class="info file"># File 'lib/closure.rb', line 58</span>
|
436
458
|
|
437
|
-
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_add_source'>add_source</span><span class='lparen'>(</span><span class='id identifier rubyid_directory'>directory</span><span class='comma'>,</span> <span class='id identifier rubyid_path'>path</span><span class='
|
459
|
+
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_add_source'>add_source</span><span class='lparen'>(</span><span class='id identifier rubyid_directory'>directory</span><span class='comma'>,</span> <span class='id identifier rubyid_path'>path</span><span class='rparen'>)</span>
|
438
460
|
<span class='kw'>if</span> <span class='id identifier rubyid_directory'>directory</span><span class='period'>.</span><span class='id identifier rubyid_kind_of?'>kind_of?</span> <span class='const'>Symbol</span>
|
439
|
-
<span class='id identifier rubyid_dir'>dir</span> <span class='op'>=</span> <span class='const'>BUILT_INS</span><span class='lbracket'>[</span><span class='id identifier rubyid_directory'>directory</span><span class='rbracket'>]</span>
|
461
|
+
<span class='id identifier rubyid_dir'>dir</span> <span class='op'>=</span> <span class='const'>BUILT_INS</span><span class='lbracket'>[</span><span class='id identifier rubyid_directory'>directory</span><span class='rbracket'>]</span>
|
440
462
|
<span class='id identifier rubyid_raise'>raise</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Unknown built-in: </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_directory'>directory</span><span class='embexpr_end'>}</span><span class='tstring_end'>"</span></span> <span class='kw'>unless</span> <span class='id identifier rubyid_dir'>dir</span>
|
441
463
|
<span class='id identifier rubyid_directory'>directory</span> <span class='op'>=</span> <span class='id identifier rubyid_dir'>dir</span>
|
442
464
|
<span class='kw'>end</span>
|
@@ -518,7 +540,7 @@ experimental configurations.</p>
|
|
518
540
|
|
519
541
|
<p>Set these before the rack server is called for the first time.</p>
|
520
542
|
|
521
|
-
<h3 id="label-Attributes
|
543
|
+
<h3 id="label-Attributes%3A">Attributes:</h3>
|
522
544
|
<ul><li>
|
523
545
|
<p>(String) <strong>java</strong> – default: “java” – Your Java executable.
|
524
546
|
Not used under JRuby.</p>
|
@@ -557,21 +579,21 @@ instead of the packaged one.</p>
|
|
557
579
|
<pre class="lines">
|
558
580
|
|
559
581
|
|
560
|
-
114
|
561
|
-
115
|
562
|
-
116
|
563
|
-
117
|
564
|
-
118
|
565
|
-
119
|
566
|
-
120
|
567
|
-
121
|
568
|
-
122
|
569
582
|
123
|
570
583
|
124
|
571
|
-
125
|
584
|
+
125
|
585
|
+
126
|
586
|
+
127
|
587
|
+
128
|
588
|
+
129
|
589
|
+
130
|
590
|
+
131
|
591
|
+
132
|
592
|
+
133
|
593
|
+
134</pre>
|
572
594
|
</td>
|
573
595
|
<td>
|
574
|
-
<pre class="code"><span class="info file"># File 'lib/closure.rb', line
|
596
|
+
<pre class="code"><span class="info file"># File 'lib/closure.rb', line 123</span>
|
575
597
|
|
576
598
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_config'>config</span>
|
577
599
|
<span class='kw'>return</span> <span class='cvar'>@@config</span> <span class='kw'>if</span> <span class='kw'>defined?</span> <span class='cvar'>@@config</span>
|
@@ -588,6 +610,51 @@ instead of the packaged one.</p>
|
|
588
610
|
</td>
|
589
611
|
</tr>
|
590
612
|
</table>
|
613
|
+
</div>
|
614
|
+
|
615
|
+
<div class="method_details ">
|
616
|
+
<h3 class="signature " id="exclude-class_method">
|
617
|
+
|
618
|
+
+ <strong>exclude</strong>(directory)
|
619
|
+
|
620
|
+
|
621
|
+
|
622
|
+
|
623
|
+
|
624
|
+
</h3><div class="docstring">
|
625
|
+
<div class="discussion">
|
626
|
+
|
627
|
+
<p>Easy config. Exclude a subdirectories of sources. This is typically used to
|
628
|
+
exclude the build folder for whitespace builds (which contain
|
629
|
+
“goog.provide”).</p>
|
630
|
+
|
631
|
+
|
632
|
+
</div>
|
633
|
+
</div>
|
634
|
+
<div class="tags">
|
635
|
+
|
636
|
+
|
637
|
+
</div><table class="source_code">
|
638
|
+
<tr>
|
639
|
+
<td>
|
640
|
+
<pre class="lines">
|
641
|
+
|
642
|
+
|
643
|
+
72
|
644
|
+
73
|
645
|
+
74
|
646
|
+
75</pre>
|
647
|
+
</td>
|
648
|
+
<td>
|
649
|
+
<pre class="code"><span class="info file"># File 'lib/closure.rb', line 72</span>
|
650
|
+
|
651
|
+
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_exclude'>exclude</span><span class='lparen'>(</span><span class='id identifier rubyid_directory'>directory</span><span class='rparen'>)</span>
|
652
|
+
<span class='comment'># no check if exists, build may create later
|
653
|
+
</span> <span class='id identifier rubyid_sources'>sources</span><span class='period'>.</span><span class='id identifier rubyid_add'>add</span> <span class='id identifier rubyid_directory'>directory</span><span class='comma'>,</span> <span class='kw'>nil</span>
|
654
|
+
<span class='kw'>end</span></pre>
|
655
|
+
</td>
|
656
|
+
</tr>
|
657
|
+
</table>
|
591
658
|
</div>
|
592
659
|
|
593
660
|
<div class="method_details ">
|
@@ -631,12 +698,12 @@ pairs configured with Closure.add_source().</p>
|
|
631
698
|
<pre class="lines">
|
632
699
|
|
633
700
|
|
634
|
-
|
635
|
-
|
636
|
-
|
701
|
+
82
|
702
|
+
83
|
703
|
+
84</pre>
|
637
704
|
</td>
|
638
705
|
<td>
|
639
|
-
<pre class="code"><span class="info file"># File 'lib/closure.rb', line
|
706
|
+
<pre class="code"><span class="info file"># File 'lib/closure.rb', line 82</span>
|
640
707
|
|
641
708
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_sources'>sources</span>
|
642
709
|
<span class='cvar'>@@sources</span> <span class='op'>||=</span> <span class='const'>Sources</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span>
|
@@ -680,21 +747,21 @@ pairs configured with Closure.add_source().</p>
|
|
680
747
|
<pre class="lines">
|
681
748
|
|
682
749
|
|
683
|
-
130
|
684
|
-
131
|
685
|
-
132
|
686
|
-
133
|
687
|
-
134
|
688
|
-
135
|
689
|
-
136
|
690
|
-
137
|
691
|
-
138
|
692
750
|
139
|
693
751
|
140
|
694
|
-
141
|
752
|
+
141
|
753
|
+
142
|
754
|
+
143
|
755
|
+
144
|
756
|
+
145
|
757
|
+
146
|
758
|
+
147
|
759
|
+
148
|
760
|
+
149
|
761
|
+
150</pre>
|
695
762
|
</td>
|
696
763
|
<td>
|
697
|
-
<pre class="code"><span class="info file"># File 'lib/closure.rb', line
|
764
|
+
<pre class="code"><span class="info file"># File 'lib/closure.rb', line 139</span>
|
698
765
|
|
699
766
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_welcome'>welcome</span>
|
700
767
|
<span class='id identifier rubyid_raise'>raise</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>Use rackup, config.ru already exists.</span><span class='tstring_end'>'</span></span> <span class='kw'>if</span> <span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_exist?'>exist?</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>config.ru</span><span class='tstring_end'>'</span></span>
|
@@ -718,9 +785,9 @@ pairs configured with Closure.add_source().</p>
|
|
718
785
|
</div>
|
719
786
|
|
720
787
|
<div id="footer">
|
721
|
-
Generated on
|
788
|
+
Generated on Wed Jan 25 12:33:30 2017 by
|
722
789
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
723
|
-
0.8.7.6 (ruby-2.
|
790
|
+
0.8.7.6 (ruby-2.1.8).
|
724
791
|
</div>
|
725
792
|
|
726
793
|
</body>
|
data/docs/closure/_index.html
CHANGED
@@ -284,9 +284,9 @@
|
|
284
284
|
</div>
|
285
285
|
|
286
286
|
<div id="footer">
|
287
|
-
Generated on
|
287
|
+
Generated on Wed Jan 25 12:33:30 2017 by
|
288
288
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
289
|
-
0.8.7.6 (ruby-2.
|
289
|
+
0.8.7.6 (ruby-2.1.8).
|
290
290
|
</div>
|
291
291
|
|
292
292
|
</body>
|
@@ -64,9 +64,9 @@
|
|
64
64
|
<div id="content"><div id='filecontents'> Apache License<br/> Version 2.0, January 2004<br/> http://www.apache.org/licenses/<br/><br/> TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION<br/><br/> 1. Definitions.<br/><br/> "License" shall mean the terms and conditions for use, reproduction,<br/> and distribution as defined by Sections 1 through 9 of this document.<br/><br/> "Licensor" shall mean the copyright owner or entity authorized by<br/> the copyright owner that is granting the License.<br/><br/> "Legal Entity" shall mean the union of the acting entity and all<br/> other entities that control, are controlled by, or are under common<br/> control with that entity. For the purposes of this definition,<br/> "control" means (i) the power, direct or indirect, to cause the<br/> direction or management of such entity, whether by contract or<br/> otherwise, or (ii) ownership of fifty percent (50%) or more of the<br/> outstanding shares, or (iii) beneficial ownership of such entity.<br/><br/> "You" (or "Your") shall mean an individual or Legal Entity<br/> exercising permissions granted by this License.<br/><br/> "Source" form shall mean the preferred form for making modifications,<br/> including but not limited to software source code, documentation<br/> source, and configuration files.<br/><br/> "Object" form shall mean any form resulting from mechanical<br/> transformation or translation of a Source form, including but<br/> not limited to compiled object code, generated documentation,<br/> and conversions to other media types.<br/><br/> "Work" shall mean the work of authorship, whether in Source or<br/> Object form, made available under the License, as indicated by a<br/> copyright notice that is included in or attached to the work<br/> (an example is provided in the Appendix below).<br/><br/> "Derivative Works" shall mean any work, whether in Source or Object<br/> form, that is based on (or derived from) the Work and for which the<br/> editorial revisions, annotations, elaborations, or other modifications<br/> represent, as a whole, an original work of authorship. For the purposes<br/> of this License, Derivative Works shall not include works that remain<br/> separable from, or merely link (or bind by name) to the interfaces of,<br/> the Work and Derivative Works thereof.<br/><br/> "Contribution" shall mean any work of authorship, including<br/> the original version of the Work and any modifications or additions<br/> to that Work or Derivative Works thereof, that is intentionally<br/> submitted to Licensor for inclusion in the Work by the copyright owner<br/> or by an individual or Legal Entity authorized to submit on behalf of<br/> the copyright owner. For the purposes of this definition, "submitted"<br/> means any form of electronic, verbal, or written communication sent<br/> to the Licensor or its representatives, including but not limited to<br/> communication on electronic mailing lists, source code control systems,<br/> and issue tracking systems that are managed by, or on behalf of, the<br/> Licensor for the purpose of discussing and improving the Work, but<br/> excluding communication that is conspicuously marked or otherwise<br/> designated in writing by the copyright owner as "Not a Contribution."<br/><br/> "Contributor" shall mean Licensor and any individual or Legal Entity<br/> on behalf of whom a Contribution has been received by Licensor and<br/> subsequently incorporated within the Work.<br/><br/> 2. Grant of Copyright License. Subject to the terms and conditions of<br/> this License, each Contributor hereby grants to You a perpetual,<br/> worldwide, non-exclusive, no-charge, royalty-free, irrevocable<br/> copyright license to reproduce, prepare Derivative Works of,<br/> publicly display, publicly perform, sublicense, and distribute the<br/> Work and such Derivative Works in Source or Object form.<br/><br/> 3. Grant of Patent License. Subject to the terms and conditions of<br/> this License, each Contributor hereby grants to You a perpetual,<br/> worldwide, non-exclusive, no-charge, royalty-free, irrevocable<br/> (except as stated in this section) patent license to make, have made,<br/> use, offer to sell, sell, import, and otherwise transfer the Work,<br/> where such license applies only to those patent claims licensable<br/> by such Contributor that are necessarily infringed by their<br/> Contribution(s) alone or by combination of their Contribution(s)<br/> with the Work to which such Contribution(s) was submitted. If You<br/> institute patent litigation against any entity (including a<br/> cross-claim or counterclaim in a lawsuit) alleging that the Work<br/> or a Contribution incorporated within the Work constitutes direct<br/> or contributory patent infringement, then any patent licenses<br/> granted to You under this License for that Work shall terminate<br/> as of the date such litigation is filed.<br/><br/> 4. Redistribution. You may reproduce and distribute copies of the<br/> Work or Derivative Works thereof in any medium, with or without<br/> modifications, and in Source or Object form, provided that You<br/> meet the following conditions:<br/><br/> (a) You must give any other recipients of the Work or<br/> Derivative Works a copy of this License; and<br/><br/> (b) You must cause any modified files to carry prominent notices<br/> stating that You changed the files; and<br/><br/> (c) You must retain, in the Source form of any Derivative Works<br/> that You distribute, all copyright, patent, trademark, and<br/> attribution notices from the Source form of the Work,<br/> excluding those notices that do not pertain to any part of<br/> the Derivative Works; and<br/><br/> (d) If the Work includes a "NOTICE" text file as part of its<br/> distribution, then any Derivative Works that You distribute must<br/> include a readable copy of the attribution notices contained<br/> within such NOTICE file, excluding those notices that do not<br/> pertain to any part of the Derivative Works, in at least one<br/> of the following places: within a NOTICE text file distributed<br/> as part of the Derivative Works; within the Source form or<br/> documentation, if provided along with the Derivative Works; or,<br/> within a display generated by the Derivative Works, if and<br/> wherever such third-party notices normally appear. The contents<br/> of the NOTICE file are for informational purposes only and<br/> do not modify the License. You may add Your own attribution<br/> notices within Derivative Works that You distribute, alongside<br/> or as an addendum to the NOTICE text from the Work, provided<br/> that such additional attribution notices cannot be construed<br/> as modifying the License.<br/><br/> You may add Your own copyright statement to Your modifications and<br/> may provide additional or different license terms and conditions<br/> for use, reproduction, or distribution of Your modifications, or<br/> for any such Derivative Works as a whole, provided Your use,<br/> reproduction, and distribution of the Work otherwise complies with<br/> the conditions stated in this License.<br/><br/> 5. Submission of Contributions. Unless You explicitly state otherwise,<br/> any Contribution intentionally submitted for inclusion in the Work<br/> by You to the Licensor shall be under the terms and conditions of<br/> this License, without any additional terms or conditions.<br/> Notwithstanding the above, nothing herein shall supersede or modify<br/> the terms of any separate license agreement you may have executed<br/> with Licensor regarding such Contributions.<br/><br/> 6. Trademarks. This License does not grant permission to use the trade<br/> names, trademarks, service marks, or product names of the Licensor,<br/> except as required for reasonable and customary use in describing the<br/> origin of the Work and reproducing the content of the NOTICE file.<br/><br/> 7. Disclaimer of Warranty. Unless required by applicable law or<br/> agreed to in writing, Licensor provides the Work (and each<br/> Contributor provides its Contributions) on an "AS IS" BASIS,<br/> WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or<br/> implied, including, without limitation, any warranties or conditions<br/> of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A<br/> PARTICULAR PURPOSE. You are solely responsible for determining the<br/> appropriateness of using or redistributing the Work and assume any<br/> risks associated with Your exercise of permissions under this License.<br/><br/> 8. Limitation of Liability. In no event and under no legal theory,<br/> whether in tort (including negligence), contract, or otherwise,<br/> unless required by applicable law (such as deliberate and grossly<br/> negligent acts) or agreed to in writing, shall any Contributor be<br/> liable to You for damages, including any direct, indirect, special,<br/> incidental, or consequential damages of any character arising as a<br/> result of this License or out of the use or inability to use the<br/> Work (including but not limited to damages for loss of goodwill,<br/> work stoppage, computer failure or malfunction, or any and all<br/> other commercial damages or losses), even if such Contributor<br/> has been advised of the possibility of such damages.<br/><br/> 9. Accepting Warranty or Additional Liability. While redistributing<br/> the Work or Derivative Works thereof, You may choose to offer,<br/> and charge a fee for, acceptance of support, warranty, indemnity,<br/> or other liability obligations and/or rights consistent with this<br/> License. However, in accepting such obligations, You may act only<br/> on Your own behalf and on Your sole responsibility, not on behalf<br/> of any other Contributor, and only if You agree to indemnify,<br/> defend, and hold each Contributor harmless for any liability<br/> incurred by, or claims asserted against, such Contributor by reason<br/> of your accepting any such warranty or additional liability.<br/><br/> END OF TERMS AND CONDITIONS<br/><br/> APPENDIX: How to apply the Apache License to your work.<br/><br/> To apply the Apache License to your work, attach the following<br/> boilerplate notice, with the fields enclosed by brackets "[]"<br/> replaced with your own identifying information. (Don't include<br/> the brackets!) The text should be enclosed in the appropriate<br/> comment syntax for the file format. We also recommend that a<br/> file or class name and description of purpose be included on the<br/> same "printed page" as the copyright notice for easier<br/> identification within third-party archives.<br/><br/> Copyright [yyyy] [name of copyright owner]<br/><br/> Licensed under the Apache License, Version 2.0 (the "License");<br/> you may not use this file except in compliance with the License.<br/> You may obtain a copy of the License at<br/><br/> http://www.apache.org/licenses/LICENSE-2.0<br/><br/> Unless required by applicable law or agreed to in writing, software<br/> distributed under the License is distributed on an "AS IS" BASIS,<br/> WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.<br/> See the License for the specific language governing permissions and<br/> limitations under the License.</div></div>
|
65
65
|
|
66
66
|
<div id="footer">
|
67
|
-
Generated on
|
67
|
+
Generated on Wed Jan 25 12:33:30 2017 by
|
68
68
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
69
|
-
0.8.7.6 (ruby-2.
|
69
|
+
0.8.7.6 (ruby-2.1.8).
|
70
70
|
</div>
|
71
71
|
|
72
72
|
</body>
|