closure 1.3.0 → 1.3.1
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.
- data/docs/closure/Closure/BeanShell.html +1 -1
- data/docs/closure/Closure/Compiler/Compilation.html +1 -1
- data/docs/closure/Closure/Compiler/Error.html +1 -1
- data/docs/closure/Closure/Compiler.html +1 -1
- data/docs/closure/Closure/FileResponse.html +1 -1
- data/docs/closure/Closure/Goog.html +1 -1
- data/docs/closure/Closure/Middleware.html +1 -1
- data/docs/closure/Closure/Script/NotFound.html +1 -1
- data/docs/closure/Closure/Script/RenderStackOverflow.html +1 -1
- data/docs/closure/Closure/Script.html +1 -1
- data/docs/closure/Closure/Server.html +1 -1
- data/docs/closure/Closure/ShowExceptions.html +1 -1
- data/docs/closure/Closure/Sources.html +10 -8
- data/docs/closure/Closure/Templates/Error.html +1 -1
- data/docs/closure/Closure/Templates.html +1 -1
- data/docs/closure/Closure.html +3 -15
- data/docs/closure/_index.html +1 -1
- data/docs/closure/file.LICENSE.html +1 -1
- data/docs/closure/file.README.html +1 -1
- data/docs/closure/index.html +1 -1
- data/docs/closure/top-level-namespace.html +1 -1
- data/lib/closure/sources.rb +1 -0
- data/lib/closure/version.rb +1 -3
- metadata +6 -20
|
@@ -326,7 +326,7 @@ conditions when the Java process is killed.
|
|
|
326
326
|
</div>
|
|
327
327
|
|
|
328
328
|
<div id="footer">
|
|
329
|
-
Generated on
|
|
329
|
+
Generated on Tue Jul 5 15:45:36 2011 by
|
|
330
330
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
331
331
|
0.7.2 (ruby-1.9.2).
|
|
332
332
|
</div>
|
|
@@ -627,7 +627,7 @@ the javascript console.
|
|
|
627
627
|
</div>
|
|
628
628
|
|
|
629
629
|
<div id="footer">
|
|
630
|
-
Generated on
|
|
630
|
+
Generated on Tue Jul 5 15:45:36 2011 by
|
|
631
631
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
632
632
|
0.7.2 (ruby-1.9.2).
|
|
633
633
|
</div>
|
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
</div>
|
|
108
108
|
|
|
109
109
|
<div id="footer">
|
|
110
|
-
Generated on
|
|
110
|
+
Generated on Tue Jul 5 15:45:36 2011 by
|
|
111
111
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
112
112
|
0.7.2 (ruby-1.9.2).
|
|
113
113
|
</div>
|
|
@@ -378,7 +378,7 @@ Rack environment. Supply if you want a response that is cacheable.
|
|
|
378
378
|
</div>
|
|
379
379
|
|
|
380
380
|
<div id="footer">
|
|
381
|
-
Generated on
|
|
381
|
+
Generated on Tue Jul 5 15:45:36 2011 by
|
|
382
382
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
383
383
|
0.7.2 (ruby-1.9.2).
|
|
384
384
|
</div>
|
|
@@ -613,7 +613,7 @@ Was the file in the system and ready to be served?
|
|
|
613
613
|
</div>
|
|
614
614
|
|
|
615
615
|
<div id="footer">
|
|
616
|
-
Generated on
|
|
616
|
+
Generated on Tue Jul 5 15:45:36 2011 by
|
|
617
617
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
618
618
|
0.7.2 (ruby-1.9.2).
|
|
619
619
|
</div>
|
|
@@ -1242,7 +1242,7 @@ http path info with forward caching query.
|
|
|
1242
1242
|
</div>
|
|
1243
1243
|
|
|
1244
1244
|
<div id="footer">
|
|
1245
|
-
Generated on
|
|
1245
|
+
Generated on Tue Jul 5 15:45:36 2011 by
|
|
1246
1246
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
1247
1247
|
0.7.2 (ruby-1.9.2).
|
|
1248
1248
|
</div>
|
|
@@ -295,7 +295,7 @@ Closure Script, even in non-source folders, by using the url extension e.g.
|
|
|
295
295
|
</div>
|
|
296
296
|
|
|
297
297
|
<div id="footer">
|
|
298
|
-
Generated on
|
|
298
|
+
Generated on Tue Jul 5 15:45:36 2011 by
|
|
299
299
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
300
300
|
0.7.2 (ruby-1.9.2).
|
|
301
301
|
</div>
|
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
</div>
|
|
108
108
|
|
|
109
109
|
<div id="footer">
|
|
110
|
-
Generated on
|
|
110
|
+
Generated on Tue Jul 5 15:45:36 2011 by
|
|
111
111
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
112
112
|
0.7.2 (ruby-1.9.2).
|
|
113
113
|
</div>
|
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
</div>
|
|
108
108
|
|
|
109
109
|
<div id="footer">
|
|
110
|
-
Generated on
|
|
110
|
+
Generated on Tue Jul 5 15:45:36 2011 by
|
|
111
111
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
112
112
|
0.7.2 (ruby-1.9.2).
|
|
113
113
|
</div>
|
|
@@ -1074,7 +1074,7 @@ Local variables for the Script.
|
|
|
1074
1074
|
</div>
|
|
1075
1075
|
|
|
1076
1076
|
<div id="footer">
|
|
1077
|
-
Generated on
|
|
1077
|
+
Generated on Tue Jul 5 15:45:36 2011 by
|
|
1078
1078
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
1079
1079
|
0.7.2 (ruby-1.9.2).
|
|
1080
1080
|
</div>
|
|
@@ -430,7 +430,7 @@ Rack environment.
|
|
|
430
430
|
</div>
|
|
431
431
|
|
|
432
432
|
<div id="footer">
|
|
433
|
-
Generated on
|
|
433
|
+
Generated on Tue Jul 5 15:45:36 2011 by
|
|
434
434
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
435
435
|
0.7.2 (ruby-1.9.2).
|
|
436
436
|
</div>
|
|
@@ -257,7 +257,7 @@ A new instance of ShowExceptions
|
|
|
257
257
|
</div>
|
|
258
258
|
|
|
259
259
|
<div id="footer">
|
|
260
|
-
Generated on
|
|
260
|
+
Generated on Tue Jul 5 15:45:36 2011 by
|
|
261
261
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
262
262
|
0.7.2 (ruby-1.9.2).
|
|
263
263
|
</div>
|
|
@@ -1093,7 +1093,8 @@ New Array of filenames.
|
|
|
1093
1093
|
189
|
|
1094
1094
|
190
|
|
1095
1095
|
191
|
|
1096
|
-
192
|
|
1096
|
+
192
|
|
1097
|
+
193</pre>
|
|
1097
1098
|
</td>
|
|
1098
1099
|
<td>
|
|
1099
1100
|
<pre class="code"><span class="info file"># File 'lib/closure/sources.rb', line 161</span>
|
|
@@ -1109,6 +1110,7 @@ New Array of filenames.
|
|
|
1109
1110
|
<span class='ivar'>@files</span><span class='period'>.</span><span class='id each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id filename'>filename</span><span class='comma'>,</span> <span class='id dep'>dep</span><span class='op'>|</span>
|
|
1110
1111
|
<span class='id dep'>dep</span><span class='lbracket'>[</span><span class='symbol'>:provide</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id provide'>provide</span><span class='op'>|</span>
|
|
1111
1112
|
<span class='kw'>if</span> <span class='ivar'>@ns</span><span class='lbracket'>[</span><span class='id provide'>provide</span><span class='rbracket'>]</span>
|
|
1113
|
+
<span class='ivar'>@ns</span> <span class='op'>=</span> <span class='kw'>nil</span>
|
|
1112
1114
|
<span class='id raise'>raise</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Namespace </span><span class='embexpr_beg'>#{</span><span class='id provide'>provide</span><span class='period'>.</span><span class='id dump'>dump</span><span class='rbrace'>}</span><span class='tstring_content'> provided more than once.</span><span class='tstring_end'>"</span></span>
|
|
1113
1115
|
<span class='kw'>end</span>
|
|
1114
1116
|
<span class='ivar'>@ns</span><span class='lbracket'>[</span><span class='id provide'>provide</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='lbrace'>{</span>
|
|
@@ -1160,13 +1162,13 @@ invalidate the cache.
|
|
|
1160
1162
|
<pre class="lines">
|
|
1161
1163
|
|
|
1162
1164
|
|
|
1163
|
-
210
|
|
1164
1165
|
211
|
|
1165
1166
|
212
|
|
1166
|
-
213
|
|
1167
|
+
213
|
|
1168
|
+
214</pre>
|
|
1167
1169
|
</td>
|
|
1168
1170
|
<td>
|
|
1169
|
-
<pre class="code"><span class="info file"># File 'lib/closure/sources.rb', line
|
|
1171
|
+
<pre class="code"><span class="info file"># File 'lib/closure/sources.rb', line 211</span>
|
|
1170
1172
|
|
|
1171
1173
|
<span class='kw'>def</span> <span class='id invalidate'>invalidate</span><span class='lparen'>(</span><span class='id env'>env</span><span class='rparen'>)</span>
|
|
1172
1174
|
<span class='id env'>env</span><span class='period'>.</span><span class='id delete'>delete</span> <span class='const'>ENV_FLAG</span>
|
|
@@ -1229,7 +1231,6 @@ Calculate the file server path for a filename
|
|
|
1229
1231
|
<pre class="lines">
|
|
1230
1232
|
|
|
1231
1233
|
|
|
1232
|
-
197
|
|
1233
1234
|
198
|
|
1234
1235
|
199
|
|
1235
1236
|
200
|
|
@@ -1238,10 +1239,11 @@ Calculate the file server path for a filename
|
|
|
1238
1239
|
203
|
|
1239
1240
|
204
|
|
1240
1241
|
205
|
|
1241
|
-
206
|
|
1242
|
+
206
|
|
1243
|
+
207</pre>
|
|
1242
1244
|
</td>
|
|
1243
1245
|
<td>
|
|
1244
|
-
<pre class="code"><span class="info file"># File 'lib/closure/sources.rb', line
|
|
1246
|
+
<pre class="code"><span class="info file"># File 'lib/closure/sources.rb', line 198</span>
|
|
1245
1247
|
|
|
1246
1248
|
<span class='kw'>def</span> <span class='id src_for'>src_for</span><span class='lparen'>(</span><span class='id filename'>filename</span><span class='comma'>,</span> <span class='id env'>env</span><span class='op'>=</span><span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
|
1247
1249
|
<span class='ivar'>@semaphore</span><span class='period'>.</span><span class='id synchronize'>synchronize</span> <span class='kw'>do</span>
|
|
@@ -1263,7 +1265,7 @@ Calculate the file server path for a filename
|
|
|
1263
1265
|
</div>
|
|
1264
1266
|
|
|
1265
1267
|
<div id="footer">
|
|
1266
|
-
Generated on
|
|
1268
|
+
Generated on Tue Jul 5 15:45:36 2011 by
|
|
1267
1269
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
1268
1270
|
0.7.2 (ruby-1.9.2).
|
|
1269
1271
|
</div>
|
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
</div>
|
|
108
108
|
|
|
109
109
|
<div id="footer">
|
|
110
|
-
Generated on
|
|
110
|
+
Generated on Tue Jul 5 15:45:36 2011 by
|
|
111
111
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
112
112
|
0.7.2 (ruby-1.9.2).
|
|
113
113
|
</div>
|
|
@@ -352,7 +352,7 @@ All source filenames will be expanded to this location.
|
|
|
352
352
|
</div>
|
|
353
353
|
|
|
354
354
|
<div id="footer">
|
|
355
|
-
Generated on
|
|
355
|
+
Generated on Tue Jul 5 15:45:36 2011 by
|
|
356
356
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
357
357
|
0.7.2 (ruby-1.9.2).
|
|
358
358
|
</div>
|
data/docs/closure/Closure.html
CHANGED
|
@@ -161,21 +161,9 @@ quickly.
|
|
|
161
161
|
<span class='rbrace'>}</span></pre></dd>
|
|
162
162
|
|
|
163
163
|
<dt id="VERSION-constant" class="">VERSION =
|
|
164
|
-
|
|
165
|
-
<div class="discussion">
|
|
166
|
-
<p>
|
|
167
|
-
The first two numerics are the Closure Script major and minor version.
|
|
168
|
-
The third numeric is the Closure Library version.
|
|
169
|
-
</p>
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
</div>
|
|
173
|
-
</div>
|
|
174
|
-
<div class="tags">
|
|
175
|
-
|
|
176
|
-
</div>
|
|
164
|
+
|
|
177
165
|
</dt>
|
|
178
|
-
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>1.3.
|
|
166
|
+
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>1.3.1</span><span class='tstring_end'>"</span></span></pre></dd>
|
|
179
167
|
|
|
180
168
|
</dl>
|
|
181
169
|
|
|
@@ -706,7 +694,7 @@ Run the welcome server. Handy for gem users.
|
|
|
706
694
|
</div>
|
|
707
695
|
|
|
708
696
|
<div id="footer">
|
|
709
|
-
Generated on
|
|
697
|
+
Generated on Tue Jul 5 15:45:35 2011 by
|
|
710
698
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
711
699
|
0.7.2 (ruby-1.9.2).
|
|
712
700
|
</div>
|
data/docs/closure/_index.html
CHANGED
|
@@ -280,7 +280,7 @@
|
|
|
280
280
|
</div>
|
|
281
281
|
|
|
282
282
|
<div id="footer">
|
|
283
|
-
Generated on
|
|
283
|
+
Generated on Tue Jul 5 15:45:35 2011 by
|
|
284
284
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
285
285
|
0.7.2 (ruby-1.9.2).
|
|
286
286
|
</div>
|
|
@@ -257,7 +257,7 @@
|
|
|
257
257
|
limitations under the License.</pre></div></div>
|
|
258
258
|
|
|
259
259
|
<div id="footer">
|
|
260
|
-
Generated on
|
|
260
|
+
Generated on Tue Jul 5 15:45:35 2011 by
|
|
261
261
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
262
262
|
0.7.2 (ruby-1.9.2).
|
|
263
263
|
</div>
|
data/docs/closure/index.html
CHANGED
data/lib/closure/sources.rb
CHANGED
data/lib/closure/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: closure
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
- 1
|
|
7
|
-
- 3
|
|
8
|
-
- 0
|
|
9
|
-
prerelease: false
|
|
4
|
+
prerelease:
|
|
5
|
+
version: 1.3.1
|
|
10
6
|
platform: ruby
|
|
11
7
|
authors:
|
|
12
8
|
- David Turnbull
|
|
@@ -14,8 +10,7 @@ autorequire:
|
|
|
14
10
|
bindir: bin
|
|
15
11
|
cert_chain: []
|
|
16
12
|
|
|
17
|
-
date: 2011-
|
|
18
|
-
default_executable:
|
|
13
|
+
date: 2011-07-05 00:00:00 Z
|
|
19
14
|
dependencies:
|
|
20
15
|
- !ruby/object:Gem::Dependency
|
|
21
16
|
name: rack
|
|
@@ -25,10 +20,6 @@ dependencies:
|
|
|
25
20
|
- - ">="
|
|
26
21
|
- !ruby/object:Gem::Version
|
|
27
22
|
version: 1.0.0
|
|
28
|
-
segments:
|
|
29
|
-
- 1
|
|
30
|
-
- 0
|
|
31
|
-
- 0
|
|
32
23
|
type: :runtime
|
|
33
24
|
prerelease: false
|
|
34
25
|
version_requirements: *id001
|
|
@@ -144,7 +135,6 @@ files:
|
|
|
144
135
|
- scripts/index.erb
|
|
145
136
|
- scripts/svn.erb
|
|
146
137
|
- scripts/welcome.erb
|
|
147
|
-
has_rdoc: true
|
|
148
138
|
homepage: https://github.com/dturnbull/closure-script
|
|
149
139
|
licenses: []
|
|
150
140
|
|
|
@@ -158,24 +148,20 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
158
148
|
requirements:
|
|
159
149
|
- - ">="
|
|
160
150
|
- !ruby/object:Gem::Version
|
|
161
|
-
|
|
151
|
+
hash: -3587499503224723584
|
|
162
152
|
segments:
|
|
163
153
|
- 0
|
|
164
|
-
|
|
154
|
+
version: "0"
|
|
165
155
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
166
156
|
none: false
|
|
167
157
|
requirements:
|
|
168
158
|
- - ">="
|
|
169
159
|
- !ruby/object:Gem::Version
|
|
170
160
|
version: 1.3.6
|
|
171
|
-
segments:
|
|
172
|
-
- 1
|
|
173
|
-
- 3
|
|
174
|
-
- 6
|
|
175
161
|
requirements: []
|
|
176
162
|
|
|
177
163
|
rubyforge_project:
|
|
178
|
-
rubygems_version: 1.
|
|
164
|
+
rubygems_version: 1.8.5
|
|
179
165
|
signing_key:
|
|
180
166
|
specification_version: 3
|
|
181
167
|
summary: Google Closure Compiler, Library, Script, and Templates.
|