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
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a3e2f94b238c6a516b64340aa159c5ff0ab2d2a3
|
4
|
+
data.tar.gz: 716fe28d84b524ef4b67ddcc430539d1515451ce
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5ab02a529cba8659fc15a52b6ca916d92ce1ae0c4b496c3291af5b7612f97ccab5d8ccdd06c4d1dad90000844299f7d846bf4eb650e837f356e147d7b2c64585
|
7
|
+
data.tar.gz: d67ecd7223500f6e9bc68ba81ab04092f9fe902d73f5c6520b5d6a1371e0368f6bd5d88fa2b3bb0c000d973123168887b2474671d5b39973e52b7180f29885aa
|
@@ -259,7 +259,7 @@ way we don't pay the Java startup costs on every compile job.</p>
|
|
259
259
|
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_classpath'>classpath</span><span class='op'>=</span><span class='lbracket'>[</span><span class='rbracket'>]</span><span class='rparen'>)</span>
|
260
260
|
<span class='ivar'>@semaphore</span> <span class='op'>=</span> <span class='const'>Mutex</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span>
|
261
261
|
<span class='ivar'>@classpath</span> <span class='op'>=</span> <span class='id identifier rubyid_classpath'>classpath</span>
|
262
|
-
<span class='
|
262
|
+
<span class='cvar'>@@pipe</span> <span class='op'>||=</span> <span class='kw'>nil</span>
|
263
263
|
<span class='kw'>end</span></pre>
|
264
264
|
</td>
|
265
265
|
</tr>
|
@@ -322,8 +322,8 @@ conditions when the Java process is killed.</p>
|
|
322
322
|
<span class='kw'>rescue</span> <span class='const'>Errno</span><span class='op'>::</span><span class='const'>EPIPE</span>
|
323
323
|
<span class='comment'># Shut down broken pipe; another will be started.
|
324
324
|
</span> <span class='gvar'>$stderr</span><span class='period'>.</span><span class='id identifier rubyid_print'>print</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='embexpr_beg'>#{</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_class'>class</span><span class='embexpr_end'>}</span><span class='tstring_content'>: restarting Java.\n</span><span class='tstring_end'>"</span></span>
|
325
|
-
<span class='
|
326
|
-
<span class='
|
325
|
+
<span class='cvar'>@@pipe</span><span class='period'>.</span><span class='id identifier rubyid_close'>close</span>
|
326
|
+
<span class='cvar'>@@pipe</span> <span class='op'>=</span> <span class='kw'>nil</span>
|
327
327
|
<span class='kw'>end</span>
|
328
328
|
<span class='comment'># This "second chance" will not rescue the error.
|
329
329
|
</span> <span class='id identifier rubyid_execute'>execute</span> <span class='id identifier rubyid_command'>command</span>
|
@@ -338,9 +338,9 @@ conditions when the Java process is killed.</p>
|
|
338
338
|
</div>
|
339
339
|
|
340
340
|
<div id="footer">
|
341
|
-
Generated on
|
341
|
+
Generated on Wed Jan 25 12:33:31 2017 by
|
342
342
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
343
|
-
0.8.7.6 (ruby-2.
|
343
|
+
0.8.7.6 (ruby-2.1.8).
|
344
344
|
</div>
|
345
345
|
|
346
346
|
</body>
|
@@ -469,13 +469,13 @@
|
|
469
469
|
<pre class="lines">
|
470
470
|
|
471
471
|
|
472
|
-
|
473
|
-
|
474
|
-
|
475
|
-
|
472
|
+
132
|
473
|
+
133
|
474
|
+
134
|
475
|
+
135</pre>
|
476
476
|
</td>
|
477
477
|
<td>
|
478
|
-
<pre class="code"><span class="info file"># File 'lib/closure/compiler.rb', line
|
478
|
+
<pre class="code"><span class="info file"># File 'lib/closure/compiler.rb', line 132</span>
|
479
479
|
|
480
480
|
<span class='kw'>def</span> <span class='op'><<</span><span class='lparen'>(</span><span class='id identifier rubyid_javascript'>javascript</span><span class='rparen'>)</span>
|
481
481
|
<span class='ivar'>@javascript</span> <span class='op'><<</span> <span class='id identifier rubyid_javascript'>javascript</span>
|
@@ -524,17 +524,17 @@
|
|
524
524
|
<pre class="lines">
|
525
525
|
|
526
526
|
|
527
|
-
|
528
|
-
|
529
|
-
|
530
|
-
|
531
|
-
|
532
|
-
|
533
|
-
|
534
|
-
|
527
|
+
140
|
528
|
+
141
|
529
|
+
142
|
530
|
+
143
|
531
|
+
144
|
532
|
+
145
|
533
|
+
146
|
534
|
+
147</pre>
|
535
535
|
</td>
|
536
536
|
<td>
|
537
|
-
<pre class="code"><span class="info file"># File 'lib/closure/compiler.rb', line
|
537
|
+
<pre class="code"><span class="info file"># File 'lib/closure/compiler.rb', line 140</span>
|
538
538
|
|
539
539
|
<span class='kw'>def</span> <span class='id identifier rubyid_javascript'>javascript</span>
|
540
540
|
<span class='kw'>if</span> <span class='ivar'>@js_output_file</span>
|
@@ -598,6 +598,16 @@ the javascript console.</p>
|
|
598
598
|
<pre class="lines">
|
599
599
|
|
600
600
|
|
601
|
+
110
|
602
|
+
111
|
603
|
+
112
|
604
|
+
113
|
605
|
+
114
|
606
|
+
115
|
607
|
+
116
|
608
|
+
117
|
609
|
+
118
|
610
|
+
119
|
601
611
|
120
|
602
612
|
121
|
603
613
|
122
|
@@ -606,20 +616,10 @@ the javascript console.</p>
|
|
606
616
|
125
|
607
617
|
126
|
608
618
|
127
|
609
|
-
128
|
610
|
-
129
|
611
|
-
130
|
612
|
-
131
|
613
|
-
132
|
614
|
-
133
|
615
|
-
134
|
616
|
-
135
|
617
|
-
136
|
618
|
-
137
|
619
|
-
138</pre>
|
619
|
+
128</pre>
|
620
620
|
</td>
|
621
621
|
<td>
|
622
|
-
<pre class="code"><span class="info file"># File 'lib/closure/compiler.rb', line
|
622
|
+
<pre class="code"><span class="info file"># File 'lib/closure/compiler.rb', line 110</span>
|
623
623
|
|
624
624
|
<span class='kw'>def</span> <span class='id identifier rubyid_to_response'>to_response</span>
|
625
625
|
<span class='kw'>if</span> <span class='op'>!</span><span class='id identifier rubyid_log'>log</span> <span class='kw'>and</span> <span class='ivar'>@javascript</span><span class='period'>.</span><span class='id identifier rubyid_empty?'>empty?</span> <span class='kw'>and</span> <span class='ivar'>@js_output_file</span>
|
@@ -650,9 +650,9 @@ the javascript console.</p>
|
|
650
650
|
</div>
|
651
651
|
|
652
652
|
<div id="footer">
|
653
|
-
Generated on
|
653
|
+
Generated on Wed Jan 25 12:33:31 2017 by
|
654
654
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
655
|
-
0.8.7.6 (ruby-2.
|
655
|
+
0.8.7.6 (ruby-2.1.8).
|
656
656
|
</div>
|
657
657
|
|
658
658
|
</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>
|
@@ -386,9 +386,9 @@ namespaces like <span class='object_link'><a href="Goog.html#compile-instance_me
|
|
386
386
|
</div>
|
387
387
|
|
388
388
|
<div id="footer">
|
389
|
-
Generated on
|
389
|
+
Generated on Wed Jan 25 12:33:31 2017 by
|
390
390
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
391
|
-
0.8.7.6 (ruby-2.
|
391
|
+
0.8.7.6 (ruby-2.1.8).
|
392
392
|
</div>
|
393
393
|
|
394
394
|
</body>
|
@@ -634,9 +634,9 @@ early.</p>
|
|
634
634
|
</div>
|
635
635
|
|
636
636
|
<div id="footer">
|
637
|
-
Generated on
|
637
|
+
Generated on Wed Jan 25 12:33:31 2017 by
|
638
638
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
639
|
-
0.8.7.6 (ruby-2.
|
639
|
+
0.8.7.6 (ruby-2.1.8).
|
640
640
|
</div>
|
641
641
|
|
642
642
|
</body>
|