utopia 2.5.5 → 2.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (117) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +1 -2
  3. data/Gemfile +1 -0
  4. data/Rakefile +2 -0
  5. data/docs/code/Utopia.html +439 -433
  6. data/docs/code/Utopia/Command.html +201 -195
  7. data/docs/code/Utopia/Command/Environment.html +244 -244
  8. data/docs/code/Utopia/Command/Server.html +202 -202
  9. data/docs/code/Utopia/Command/Server/Create.html +192 -192
  10. data/docs/code/Utopia/Command/Server/Update.html +235 -235
  11. data/docs/code/Utopia/Command/Site.html +269 -263
  12. data/docs/code/Utopia/Command/Site/Create.html +192 -192
  13. data/docs/code/Utopia/Command/Site/Update.html +246 -246
  14. data/docs/code/Utopia/Command/Top.html +244 -244
  15. data/docs/code/Utopia/Content.html +636 -630
  16. data/docs/code/Utopia/Content/Document.html +1411 -1407
  17. data/docs/code/Utopia/Content/Document/State.html +1048 -1048
  18. data/docs/code/Utopia/Content/Link.html +1023 -1023
  19. data/docs/code/Utopia/Content/Links.html +629 -623
  20. data/docs/code/Utopia/Content/MarkupParser.html +702 -702
  21. data/docs/code/Utopia/Content/MarkupParser/ParsedTag.html +375 -375
  22. data/docs/code/Utopia/Content/MarkupParser/UnbalancedTagError.html +523 -523
  23. data/docs/code/Utopia/Content/Namespace.html +416 -416
  24. data/docs/code/Utopia/Content/Node.html +952 -952
  25. data/docs/code/Utopia/Content/Node/Context.html +790 -790
  26. data/docs/code/Utopia/Content/Response.html +686 -686
  27. data/docs/code/Utopia/Content/SymbolicHash.html +365 -365
  28. data/docs/code/Utopia/Content/Tags.html +134 -134
  29. data/docs/code/Utopia/Content/UnbalancedTagError.html +270 -270
  30. data/docs/code/Utopia/ContentLength.html +298 -294
  31. data/docs/code/Utopia/Controller.html +657 -651
  32. data/docs/code/Utopia/Controller/Actions.html +260 -260
  33. data/docs/code/Utopia/Controller/Actions/Action.html +785 -779
  34. data/docs/code/Utopia/Controller/Actions/ClassMethods.html +360 -360
  35. data/docs/code/Utopia/Controller/Base.html +989 -989
  36. data/docs/code/Utopia/Controller/Respond.html +264 -254
  37. data/docs/code/Utopia/Controller/Respond/ClassMethods.html +207 -207
  38. data/docs/code/Utopia/Controller/Respond/Converter.html +219 -219
  39. data/docs/code/Utopia/Controller/Respond/Converter/Callback.html +425 -425
  40. data/docs/code/Utopia/Controller/Respond/Converter/ToJSON.html +323 -317
  41. data/docs/code/Utopia/Controller/Respond/Passthrough.html +266 -260
  42. data/docs/code/Utopia/Controller/Respond/Responder.html +449 -443
  43. data/docs/code/Utopia/Controller/Rewrite.html +260 -260
  44. data/docs/code/Utopia/Controller/Rewrite/ClassMethods.html +216 -216
  45. data/docs/code/Utopia/Controller/Rewrite/ExtractPrefixRule.html +303 -303
  46. data/docs/code/Utopia/Controller/Rewrite/Rewriter.html +402 -402
  47. data/docs/code/Utopia/Controller/Rewrite/Rule.html +193 -193
  48. data/docs/code/Utopia/Controller/Variables.html +428 -428
  49. data/docs/code/Utopia/Controllers.html +216 -216
  50. data/docs/code/Utopia/Exceptions.html +125 -125
  51. data/docs/code/Utopia/Exceptions/Handler.html +405 -405
  52. data/docs/code/Utopia/Exceptions/Mailer.html +400 -394
  53. data/docs/code/Utopia/Extensions.html +116 -116
  54. data/docs/code/Utopia/Extensions/ArraySplit.html +164 -164
  55. data/docs/code/Utopia/Extensions/DateTimeComparison.html +173 -173
  56. data/docs/code/Utopia/Extensions/TimeDateComparison.html +173 -173
  57. data/docs/code/Utopia/HTTP.html +193 -187
  58. data/docs/code/Utopia/HTTP/Status.html +355 -355
  59. data/docs/code/Utopia/Locale.html +522 -522
  60. data/docs/code/Utopia/Localization.html +886 -880
  61. data/docs/code/Utopia/Localization/Wrapper.html +403 -403
  62. data/docs/code/Utopia/Logger.html +185 -185
  63. data/docs/code/Utopia/Logger/CompactFormatter.html +290 -290
  64. data/docs/code/Utopia/Path.html +2562 -2556
  65. data/docs/code/Utopia/Path/Matcher.html +395 -395
  66. data/docs/code/Utopia/Path/Matcher/MatchData.html +418 -418
  67. data/docs/code/Utopia/Redirection.html +148 -142
  68. data/docs/code/Utopia/Redirection/ClientRedirect.html +594 -594
  69. data/docs/code/Utopia/Redirection/DirectoryIndex.html +265 -265
  70. data/docs/code/Utopia/Redirection/Errors.html +391 -385
  71. data/docs/code/Utopia/Redirection/Moved.html +265 -265
  72. data/docs/code/Utopia/Redirection/RequestFailure.html +201 -201
  73. data/docs/code/Utopia/Redirection/Rewrite.html +265 -265
  74. data/docs/code/Utopia/Session.html +723 -717
  75. data/docs/code/Utopia/Session/LazyHash.html +709 -709
  76. data/docs/code/Utopia/Setup.html +783 -777
  77. data/docs/code/Utopia/Static.html +516 -510
  78. data/docs/code/Utopia/Static/LocalFile.html +875 -869
  79. data/docs/code/Utopia/Static/MimeTypeLoader.html +427 -427
  80. data/docs/code/Utopia/Static/MimeTypeLoader/ExpansionError.html +123 -123
  81. data/docs/code/_index.html +757 -757
  82. data/docs/code/class_list.html +51 -51
  83. data/docs/code/css/full_list.css +58 -58
  84. data/docs/code/css/style.css +496 -499
  85. data/docs/code/file.README.html +72 -70
  86. data/docs/code/file_list.html +56 -56
  87. data/docs/code/frames.html +17 -17
  88. data/docs/code/index.html +72 -70
  89. data/docs/code/js/app.js +292 -248
  90. data/docs/code/js/full_list.js +216 -216
  91. data/docs/code/js/jquery.js +3 -3
  92. data/docs/code/method_list.html +3443 -3443
  93. data/docs/code/top-level-namespace.html +109 -109
  94. data/docs/index.html +2 -2
  95. data/docs/wiki.html +2 -2
  96. data/docs/wiki/edit.html +1 -1
  97. data/docs/wiki/javascript.html +153 -0
  98. data/docs/wiki/javascript/index.html +153 -0
  99. data/documentation/.yarnrc +1 -0
  100. data/documentation/Gemfile +1 -0
  101. data/documentation/config/environment.rb +1 -0
  102. data/documentation/pages/wiki/content.md +1 -1
  103. data/documentation/pages/wiki/javascript/content.md +75 -0
  104. data/documentation/pages/wiki/links.yaml +3 -1
  105. data/lib/utopia/command/site.rb +4 -4
  106. data/lib/utopia/version.rb +1 -1
  107. data/setup/site/.yarnrc +1 -0
  108. data/setup/site/tasks/yarn.rake +32 -0
  109. data/spec/utopia/command_spec.rb +2 -2
  110. metadata +8 -9
  111. data/docs/wiki/bower-integration.html +0 -74
  112. data/docs/wiki/bower-integration/index.html +0 -74
  113. data/documentation/.bowerrc +0 -4
  114. data/documentation/pages/wiki/bower-integration/content.md +0 -25
  115. data/setup/.bowerrc +0 -3
  116. data/setup/site/.bowerrc +0 -4
  117. data/setup/site/tasks/bower.rake +0 -45
@@ -1,500 +1,506 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <title>
7
- Class: Utopia::Static::LocalFile
8
-
9
- &mdash; Documentation by YARD 0.9.12
10
-
11
- </title>
12
-
13
- <link rel="stylesheet" href="../../css/style.css" type="text/css" charset="utf-8" />
14
-
15
- <link rel="stylesheet" href="../../css/common.css" type="text/css" charset="utf-8" />
16
-
17
- <script type="text/javascript" charset="utf-8">
18
- pathId = "Utopia::Static::LocalFile";
19
- relpath = '../../';
20
- </script>
21
-
22
-
23
- <script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
24
-
25
- <script type="text/javascript" charset="utf-8" src="../../js/app.js"></script>
26
-
27
-
28
- </head>
29
- <body>
30
- <div class="nav_wrap">
31
- <iframe id="nav" src="../../class_list.html?1"></iframe>
32
- <div id="resizer"></div>
33
- </div>
34
-
35
- <div id="main" tabindex="-1">
36
- <div id="header">
37
- <div id="menu">
38
-
39
- <a href="../../_index.html">Index (L)</a> &raquo;
40
- <span class='title'><span class='object_link'><a href="../../Utopia.html" title="Utopia (module)">Utopia</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../Static.html" title="Utopia::Static (class)">Static</a></span></span>
41
- &raquo;
42
- <span class="title">LocalFile</span>
43
-
44
- </div>
45
-
46
- <div id="search">
47
-
48
- <a class="full_list_link" id="class_list_link"
49
- href="../../class_list.html">
50
-
51
- <svg width="24" height="24">
52
- <rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
53
- <rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
54
- <rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
55
- </svg>
56
- </a>
57
-
58
- </div>
59
- <div class="clear"></div>
60
- </div>
61
-
62
- <div id="content"><h1>Class: Utopia::Static::LocalFile
63
-
64
-
65
-
66
- </h1>
67
- <div class="box_info">
68
-
69
- <dl>
70
- <dt>Inherits:</dt>
71
- <dd>
72
- <span class="inheritName">Object</span>
73
-
74
- <ul class="fullTree">
75
- <li>Object</li>
76
-
77
- <li class="next">Utopia::Static::LocalFile</li>
78
-
79
- </ul>
80
- <a href="#" class="inheritanceTree">show all</a>
81
-
82
- </dd>
83
- </dl>
84
-
85
-
86
-
87
-
88
-
89
-
90
-
91
-
92
-
93
-
94
-
95
- <dl>
96
- <dt>Defined in:</dt>
97
- <dd>lib/utopia/static/local_file.rb</dd>
98
- </dl>
99
-
100
- </div>
101
-
102
- <h2>Overview</h2><div class="docstring">
103
- <div class="discussion">
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>
7
+ Class: Utopia::Static::LocalFile
8
+
9
+ &mdash; Documentation by YARD 0.9.18
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="../../css/style.css" type="text/css" charset="utf-8" />
14
+
15
+ <link rel="stylesheet" href="../../css/common.css" type="text/css" charset="utf-8" />
16
+
17
+ <script type="text/javascript" charset="utf-8">
18
+ pathId = "Utopia::Static::LocalFile";
19
+ relpath = '../../';
20
+ </script>
21
+
22
+
23
+ <script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
24
+
25
+ <script type="text/javascript" charset="utf-8" src="../../js/app.js"></script>
26
+
27
+
28
+ </head>
29
+ <body>
30
+ <div class="nav_wrap">
31
+ <iframe id="nav" src="../../class_list.html?1"></iframe>
32
+ <div id="resizer"></div>
33
+ </div>
34
+
35
+ <div id="main" tabindex="-1">
36
+ <div id="header">
37
+ <div id="menu">
38
+
39
+ <a href="../../_index.html">Index (L)</a> &raquo;
40
+ <span class='title'><span class='object_link'><a href="../../Utopia.html" title="Utopia (module)">Utopia</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../Static.html" title="Utopia::Static (class)">Static</a></span></span>
41
+ &raquo;
42
+ <span class="title">LocalFile</span>
43
+
44
+ </div>
45
+
46
+ <div id="search">
47
+
48
+ <a class="full_list_link" id="class_list_link"
49
+ href="../../class_list.html">
50
+
51
+ <svg width="24" height="24">
52
+ <rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
53
+ <rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
54
+ <rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
55
+ </svg>
56
+ </a>
57
+
58
+ </div>
59
+ <div class="clear"></div>
60
+ </div>
61
+
62
+ <div id="content"><h1>Class: Utopia::Static::LocalFile
63
+
64
+
65
+
66
+ </h1>
67
+ <div class="box_info">
68
+
69
+ <dl>
70
+ <dt>Inherits:</dt>
71
+ <dd>
72
+ <span class="inheritName">Object</span>
73
+
74
+ <ul class="fullTree">
75
+ <li>Object</li>
76
+
77
+ <li class="next">Utopia::Static::LocalFile</li>
78
+
79
+ </ul>
80
+ <a href="#" class="inheritanceTree">show all</a>
81
+
82
+ </dd>
83
+ </dl>
84
+
85
+
86
+
87
+
88
+
89
+
90
+
91
+
92
+
93
+
94
+
95
+ <dl>
96
+ <dt>Defined in:</dt>
97
+ <dd>lib/utopia/static/local_file.rb</dd>
98
+ </dl>
99
+
100
+ </div>
101
+
102
+ <h2>Overview</h2><div class="docstring">
103
+ <div class="discussion">
104
104
  <p>Represents a local file on disk which can be served directly, or passed upstream to sendfile.</p>
105
-
106
-
107
- </div>
108
- </div>
109
- <div class="tags">
110
-
111
-
112
- </div>
113
- <h2>Constant Summary</h2>
114
- <dl class="constants">
115
-
116
- <dt id="CONTENT_LENGTH-constant" class="">CONTENT_LENGTH =
117
-
118
- </dt>
119
- <dd><pre class="code"><span class='const'>Rack</span><span class='op'>::</span><span class='const'>CONTENT_LENGTH</span></pre></dd>
120
-
121
- <dt id="CONTENT_RANGE-constant" class="">CONTENT_RANGE =
122
-
123
- </dt>
124
- <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>Content-Range</span><span class='tstring_end'>&#39;</span></span><span class='period'>.</span><span class='id identifier rubyid_freeze'>freeze</span></pre></dd>
125
-
126
- </dl>
127
-
128
-
129
-
130
-
131
- <h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
132
- <ul class="summary">
133
-
134
- <li class="public ">
135
- <span class="summary_signature">
136
-
137
- <a href="#etag-instance_method" title="#etag (instance method)">#<strong>etag</strong> &#x21d2; Object </a>
138
-
139
-
140
-
141
- </span>
142
-
143
-
144
-
145
-
146
- <span class="note title readonly">readonly</span>
147
-
148
-
149
-
150
-
151
-
152
-
153
-
154
-
155
-
105
+
106
+
107
+ </div>
108
+ </div>
109
+ <div class="tags">
110
+
111
+
112
+ </div>
113
+
114
+ <h2>
115
+ Constant Summary
116
+ <small><a href="#" class="constants_summary_toggle">collapse</a></small>
117
+ </h2>
118
+
119
+ <dl class="constants">
120
+
121
+ <dt id="CONTENT_LENGTH-constant" class="">CONTENT_LENGTH =
122
+
123
+ </dt>
124
+ <dd><pre class="code"><span class='const'>Rack</span><span class='op'>::</span><span class='const'>CONTENT_LENGTH</span></pre></dd>
125
+
126
+ <dt id="CONTENT_RANGE-constant" class="">CONTENT_RANGE =
127
+
128
+ </dt>
129
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>Content-Range</span><span class='tstring_end'>&#39;</span></span><span class='period'>.</span><span class='id identifier rubyid_freeze'>freeze</span></pre></dd>
130
+
131
+ </dl>
132
+
133
+
134
+
135
+
136
+
137
+ <h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
138
+ <ul class="summary">
139
+
140
+ <li class="public ">
141
+ <span class="summary_signature">
142
+
143
+ <a href="#etag-instance_method" title="#etag (instance method)">#<strong>etag</strong> &#x21d2; Object </a>
144
+
145
+
146
+
147
+ </span>
148
+
149
+
150
+
151
+
152
+ <span class="note title readonly">readonly</span>
153
+
154
+
155
+
156
+
157
+
158
+
159
+
160
+
161
+
156
162
  <span class="summary_desc"><div class='inline'><p>Returns the value of attribute etag.</p>
157
- </div></span>
158
-
159
- </li>
160
-
161
-
162
- <li class="public ">
163
- <span class="summary_signature">
164
-
165
- <a href="#path-instance_method" title="#path (instance method)">#<strong>path</strong> &#x21d2; Object </a>
166
-
167
-
168
-
169
- </span>
170
-
171
-
172
-
173
-
174
- <span class="note title readonly">readonly</span>
175
-
176
-
177
-
178
-
179
-
180
-
181
-
182
-
183
-
163
+ </div></span>
164
+
165
+ </li>
166
+
167
+
168
+ <li class="public ">
169
+ <span class="summary_signature">
170
+
171
+ <a href="#path-instance_method" title="#path (instance method)">#<strong>path</strong> &#x21d2; Object </a>
172
+
173
+
174
+
175
+ </span>
176
+
177
+
178
+
179
+
180
+ <span class="note title readonly">readonly</span>
181
+
182
+
183
+
184
+
185
+
186
+
187
+
188
+
189
+
184
190
  <span class="summary_desc"><div class='inline'><p>Returns the value of attribute path.</p>
185
- </div></span>
186
-
187
- </li>
188
-
189
-
190
- <li class="public ">
191
- <span class="summary_signature">
192
-
193
- <a href="#range-instance_method" title="#range (instance method)">#<strong>range</strong> &#x21d2; Object </a>
194
-
195
-
196
-
197
- </span>
198
-
199
-
200
-
201
-
202
- <span class="note title readonly">readonly</span>
203
-
204
-
205
-
206
-
207
-
208
-
209
-
210
-
211
-
191
+ </div></span>
192
+
193
+ </li>
194
+
195
+
196
+ <li class="public ">
197
+ <span class="summary_signature">
198
+
199
+ <a href="#range-instance_method" title="#range (instance method)">#<strong>range</strong> &#x21d2; Object </a>
200
+
201
+
202
+
203
+ </span>
204
+
205
+
206
+
207
+
208
+ <span class="note title readonly">readonly</span>
209
+
210
+
211
+
212
+
213
+
214
+
215
+
216
+
217
+
212
218
  <span class="summary_desc"><div class='inline'><p>Returns the value of attribute range.</p>
213
- </div></span>
214
-
215
- </li>
216
-
217
-
218
- <li class="public ">
219
- <span class="summary_signature">
220
-
221
- <a href="#root-instance_method" title="#root (instance method)">#<strong>root</strong> &#x21d2; Object </a>
222
-
223
-
224
-
225
- </span>
226
-
227
-
228
-
229
-
230
- <span class="note title readonly">readonly</span>
231
-
232
-
233
-
234
-
235
-
236
-
237
-
238
-
239
-
219
+ </div></span>
220
+
221
+ </li>
222
+
223
+
224
+ <li class="public ">
225
+ <span class="summary_signature">
226
+
227
+ <a href="#root-instance_method" title="#root (instance method)">#<strong>root</strong> &#x21d2; Object </a>
228
+
229
+
230
+
231
+ </span>
232
+
233
+
234
+
235
+
236
+ <span class="note title readonly">readonly</span>
237
+
238
+
239
+
240
+
241
+
242
+
243
+
244
+
245
+
240
246
  <span class="summary_desc"><div class='inline'><p>Returns the value of attribute root.</p>
241
- </div></span>
242
-
243
- </li>
244
-
245
-
246
- </ul>
247
-
248
-
249
-
250
-
251
-
252
- <h2>
253
- Instance Method Summary
254
- <small><a href="#" class="summary_toggle">collapse</a></small>
255
- </h2>
256
-
257
- <ul class="summary">
258
-
259
- <li class="public ">
260
- <span class="summary_signature">
261
-
262
- <a href="#bytesize-instance_method" title="#bytesize (instance method)">#<strong>bytesize</strong> &#x21d2; Object </a>
263
-
264
-
265
-
266
- (also: #size)
267
-
268
- </span>
269
-
270
-
271
-
272
-
273
-
274
-
275
-
276
-
277
-
247
+ </div></span>
248
+
249
+ </li>
250
+
251
+
252
+ </ul>
253
+
254
+
255
+
256
+
257
+
258
+ <h2>
259
+ Instance Method Summary
260
+ <small><a href="#" class="summary_toggle">collapse</a></small>
261
+ </h2>
262
+
263
+ <ul class="summary">
264
+
265
+ <li class="public ">
266
+ <span class="summary_signature">
267
+
268
+ <a href="#bytesize-instance_method" title="#bytesize (instance method)">#<strong>bytesize</strong> &#x21d2; Object </a>
269
+
270
+
271
+
272
+ (also: #size)
273
+
274
+ </span>
275
+
276
+
277
+
278
+
279
+
280
+
281
+
282
+
283
+
278
284
  <span class="summary_desc"><div class='inline'>
279
- </div></span>
280
-
281
- </li>
282
-
283
-
284
- <li class="public ">
285
- <span class="summary_signature">
286
-
287
- <a href="#each-instance_method" title="#each (instance method)">#<strong>each</strong> &#x21d2; Object </a>
288
-
289
-
290
-
291
- </span>
292
-
293
-
294
-
295
-
296
-
297
-
298
-
299
-
300
-
285
+ </div></span>
286
+
287
+ </li>
288
+
289
+
290
+ <li class="public ">
291
+ <span class="summary_signature">
292
+
293
+ <a href="#each-instance_method" title="#each (instance method)">#<strong>each</strong> &#x21d2; Object </a>
294
+
295
+
296
+
297
+ </span>
298
+
299
+
300
+
301
+
302
+
303
+
304
+
305
+
306
+
301
307
  <span class="summary_desc"><div class='inline'>
302
- </div></span>
303
-
304
- </li>
305
-
306
-
307
- <li class="public ">
308
- <span class="summary_signature">
309
-
310
- <a href="#empty%3F-instance_method" title="#empty? (instance method)">#<strong>empty?</strong> &#x21d2; Boolean </a>
311
-
312
-
313
-
314
- </span>
315
-
316
-
317
-
318
-
319
-
320
-
321
-
322
-
323
-
308
+ </div></span>
309
+
310
+ </li>
311
+
312
+
313
+ <li class="public ">
314
+ <span class="summary_signature">
315
+
316
+ <a href="#empty%3F-instance_method" title="#empty? (instance method)">#<strong>empty?</strong> &#x21d2; Boolean </a>
317
+
318
+
319
+
320
+ </span>
321
+
322
+
323
+
324
+
325
+
326
+
327
+
328
+
329
+
324
330
  <span class="summary_desc"><div class='inline'><p>This reflects whether calling each would yield anything.</p>
325
- </div></span>
326
-
327
- </li>
328
-
329
-
330
- <li class="public ">
331
- <span class="summary_signature">
332
-
333
- <a href="#full_path-instance_method" title="#full_path (instance method)">#<strong>full_path</strong> &#x21d2; Object </a>
334
-
335
-
336
-
337
- </span>
338
-
339
-
340
-
341
-
342
-
343
-
344
-
345
-
346
-
331
+ </div></span>
332
+
333
+ </li>
334
+
335
+
336
+ <li class="public ">
337
+ <span class="summary_signature">
338
+
339
+ <a href="#full_path-instance_method" title="#full_path (instance method)">#<strong>full_path</strong> &#x21d2; Object </a>
340
+
341
+
342
+
343
+ </span>
344
+
345
+
346
+
347
+
348
+
349
+
350
+
351
+
352
+
347
353
  <span class="summary_desc"><div class='inline'>
348
- </div></span>
349
-
350
- </li>
351
-
352
-
353
- <li class="public ">
354
- <span class="summary_signature">
355
-
356
- <a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(root, path) &#x21d2; LocalFile </a>
357
-
358
-
359
-
360
- </span>
361
-
362
-
363
- <span class="note title constructor">constructor</span>
364
-
365
-
366
-
367
-
368
-
369
-
370
-
371
-
354
+ </div></span>
355
+
356
+ </li>
357
+
358
+
359
+ <li class="public ">
360
+ <span class="summary_signature">
361
+
362
+ <a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(root, path) &#x21d2; LocalFile </a>
363
+
364
+
365
+
366
+ </span>
367
+
368
+
369
+ <span class="note title constructor">constructor</span>
370
+
371
+
372
+
373
+
374
+
375
+
376
+
377
+
372
378
  <span class="summary_desc"><div class='inline'><p>A new instance of LocalFile.</p>
373
- </div></span>
374
-
375
- </li>
376
-
377
-
378
- <li class="public ">
379
- <span class="summary_signature">
380
-
381
- <a href="#modified%3F-instance_method" title="#modified? (instance method)">#<strong>modified?</strong>(env) &#x21d2; Boolean </a>
382
-
383
-
384
-
385
- </span>
386
-
387
-
388
-
389
-
390
-
391
-
392
-
393
-
394
-
379
+ </div></span>
380
+
381
+ </li>
382
+
383
+
384
+ <li class="public ">
385
+ <span class="summary_signature">
386
+
387
+ <a href="#modified%3F-instance_method" title="#modified? (instance method)">#<strong>modified?</strong>(env) &#x21d2; Boolean </a>
388
+
389
+
390
+
391
+ </span>
392
+
393
+
394
+
395
+
396
+
397
+
398
+
399
+
400
+
395
401
  <span class="summary_desc"><div class='inline'>
396
- </div></span>
397
-
398
- </li>
399
-
400
-
401
- <li class="public ">
402
- <span class="summary_signature">
403
-
404
- <a href="#mtime_date-instance_method" title="#mtime_date (instance method)">#<strong>mtime_date</strong> &#x21d2; Object </a>
405
-
406
-
407
-
408
- </span>
409
-
410
-
411
-
412
-
413
-
414
-
415
-
416
-
417
-
402
+ </div></span>
403
+
404
+ </li>
405
+
406
+
407
+ <li class="public ">
408
+ <span class="summary_signature">
409
+
410
+ <a href="#mtime_date-instance_method" title="#mtime_date (instance method)">#<strong>mtime_date</strong> &#x21d2; Object </a>
411
+
412
+
413
+
414
+ </span>
415
+
416
+
417
+
418
+
419
+
420
+
421
+
422
+
423
+
418
424
  <span class="summary_desc"><div class='inline'>
419
- </div></span>
420
-
421
- </li>
422
-
423
-
424
- <li class="public ">
425
- <span class="summary_signature">
426
-
427
- <a href="#serve-instance_method" title="#serve (instance method)">#<strong>serve</strong>(env, response_headers) &#x21d2; Object </a>
428
-
429
-
430
-
431
- </span>
432
-
433
-
434
-
435
-
436
-
437
-
438
-
439
-
440
-
425
+ </div></span>
426
+
427
+ </li>
428
+
429
+
430
+ <li class="public ">
431
+ <span class="summary_signature">
432
+
433
+ <a href="#serve-instance_method" title="#serve (instance method)">#<strong>serve</strong>(env, response_headers) &#x21d2; Object </a>
434
+
435
+
436
+
437
+ </span>
438
+
439
+
440
+
441
+
442
+
443
+
444
+
445
+
446
+
441
447
  <span class="summary_desc"><div class='inline'>
442
- </div></span>
443
-
444
- </li>
445
-
446
-
447
- <li class="public ">
448
- <span class="summary_signature">
449
-
450
- <a href="#to_path-instance_method" title="#to_path (instance method)">#<strong>to_path</strong> &#x21d2; Object </a>
451
-
452
-
453
-
454
- </span>
455
-
456
-
457
-
458
-
459
-
460
-
461
-
462
-
463
-
448
+ </div></span>
449
+
450
+ </li>
451
+
452
+
453
+ <li class="public ">
454
+ <span class="summary_signature">
455
+
456
+ <a href="#to_path-instance_method" title="#to_path (instance method)">#<strong>to_path</strong> &#x21d2; Object </a>
457
+
458
+
459
+
460
+ </span>
461
+
462
+
463
+
464
+
465
+
466
+
467
+
468
+
469
+
464
470
  <span class="summary_desc"><div class='inline'><p>Fit in with Rack::Sendfile.</p>
465
- </div></span>
466
-
467
- </li>
468
-
469
-
470
- </ul>
471
-
472
-
473
- <div id="constructor_details" class="method_details_list">
474
- <h2>Constructor Details</h2>
475
-
476
- <div class="method_details first">
477
- <h3 class="signature first" id="initialize-instance_method">
478
-
479
- #<strong>initialize</strong>(root, path) &#x21d2; <tt><span class='object_link'><a href="" title="Utopia::Static::LocalFile (class)">LocalFile</a></span></tt>
480
-
481
-
482
-
483
-
484
-
485
- </h3><div class="docstring">
486
- <div class="discussion">
471
+ </div></span>
472
+
473
+ </li>
474
+
475
+
476
+ </ul>
477
+
478
+
479
+ <div id="constructor_details" class="method_details_list">
480
+ <h2>Constructor Details</h2>
481
+
482
+ <div class="method_details first">
483
+ <h3 class="signature first" id="initialize-instance_method">
484
+
485
+ #<strong>initialize</strong>(root, path) &#x21d2; <tt><span class='object_link'><a href="" title="Utopia::Static::LocalFile (class)">LocalFile</a></span></tt>
486
+
487
+
488
+
489
+
490
+
491
+ </h3><div class="docstring">
492
+ <div class="discussion">
487
493
  <p>Returns a new instance of LocalFile</p>
488
-
489
-
490
- </div>
491
- </div>
492
- <div class="tags">
493
-
494
-
495
- </div><table class="source_code">
496
- <tr>
497
- <td>
494
+
495
+
496
+ </div>
497
+ </div>
498
+ <div class="tags">
499
+
500
+
501
+ </div><table class="source_code">
502
+ <tr>
503
+ <td>
498
504
  <pre class="lines">
499
505
 
500
506
 
@@ -504,9 +510,9 @@
504
510
  32
505
511
  33
506
512
  34
507
- 35</pre>
508
- </td>
509
- <td>
513
+ 35</pre>
514
+ </td>
515
+ <td>
510
516
  <pre class="code"><span class="info file"># File 'lib/utopia/static/local_file.rb', line 29</span>
511
517
 
512
518
  <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_root'><span class='object_link'><a href="../../top-level-namespace.html" title="Top Level Namespace (root)">root</a></span></span><span class='comma'>,</span> <span class='id identifier rubyid_path'>path</span><span class='rparen'>)</span>
@@ -515,238 +521,238 @@
515
521
  <span class='ivar'>@etag</span> <span class='op'>=</span> <span class='const'>Digest</span><span class='op'>::</span><span class='const'>SHA1</span><span class='period'>.</span><span class='id identifier rubyid_hexdigest'>hexdigest</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='embexpr_beg'>#{</span><span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_size'>size</span><span class='lparen'>(</span><span class='id identifier rubyid_full_path'>full_path</span><span class='rparen'>)</span><span class='embexpr_end'>}</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_mtime_date'>mtime_date</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
516
522
 
517
523
  <span class='ivar'>@range</span> <span class='op'>=</span> <span class='kw'>nil</span>
518
- <span class='kw'>end</span></pre>
519
- </td>
520
- </tr>
521
- </table>
522
- </div>
523
-
524
- </div>
525
-
526
- <div id="instance_attr_details" class="attr_details">
527
- <h2>Instance Attribute Details</h2>
528
-
529
-
530
- <span id=""></span>
531
- <div class="method_details first">
532
- <h3 class="signature first" id="etag-instance_method">
533
-
534
- #<strong>etag</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
535
-
536
-
537
-
538
-
539
-
540
- </h3><div class="docstring">
541
- <div class="discussion">
524
+ <span class='kw'>end</span></pre>
525
+ </td>
526
+ </tr>
527
+ </table>
528
+ </div>
529
+
530
+ </div>
531
+
532
+ <div id="instance_attr_details" class="attr_details">
533
+ <h2>Instance Attribute Details</h2>
534
+
535
+
536
+ <span id=""></span>
537
+ <div class="method_details first">
538
+ <h3 class="signature first" id="etag-instance_method">
539
+
540
+ #<strong>etag</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
541
+
542
+
543
+
544
+
545
+
546
+ </h3><div class="docstring">
547
+ <div class="discussion">
542
548
  <p>Returns the value of attribute etag</p>
543
-
544
-
545
- </div>
546
- </div>
547
- <div class="tags">
548
-
549
-
550
- </div><table class="source_code">
551
- <tr>
552
- <td>
549
+
550
+
551
+ </div>
552
+ </div>
553
+ <div class="tags">
554
+
555
+
556
+ </div><table class="source_code">
557
+ <tr>
558
+ <td>
553
559
  <pre class="lines">
554
560
 
555
561
 
556
562
  39
557
563
  40
558
- 41</pre>
559
- </td>
560
- <td>
564
+ 41</pre>
565
+ </td>
566
+ <td>
561
567
  <pre class="code"><span class="info file"># File 'lib/utopia/static/local_file.rb', line 39</span>
562
568
 
563
569
  <span class='kw'>def</span> <span class='id identifier rubyid_etag'>etag</span>
564
570
  <span class='ivar'>@etag</span>
565
- <span class='kw'>end</span></pre>
566
- </td>
567
- </tr>
568
- </table>
569
- </div>
570
-
571
-
572
- <span id=""></span>
573
- <div class="method_details ">
574
- <h3 class="signature " id="path-instance_method">
575
-
576
- #<strong>path</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
577
-
578
-
579
-
580
-
581
-
582
- </h3><div class="docstring">
583
- <div class="discussion">
571
+ <span class='kw'>end</span></pre>
572
+ </td>
573
+ </tr>
574
+ </table>
575
+ </div>
576
+
577
+
578
+ <span id=""></span>
579
+ <div class="method_details ">
580
+ <h3 class="signature " id="path-instance_method">
581
+
582
+ #<strong>path</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
583
+
584
+
585
+
586
+
587
+
588
+ </h3><div class="docstring">
589
+ <div class="discussion">
584
590
  <p>Returns the value of attribute path</p>
585
-
586
-
587
- </div>
588
- </div>
589
- <div class="tags">
590
-
591
-
592
- </div><table class="source_code">
593
- <tr>
594
- <td>
591
+
592
+
593
+ </div>
594
+ </div>
595
+ <div class="tags">
596
+
597
+
598
+ </div><table class="source_code">
599
+ <tr>
600
+ <td>
595
601
  <pre class="lines">
596
602
 
597
603
 
598
604
  38
599
605
  39
600
- 40</pre>
601
- </td>
602
- <td>
606
+ 40</pre>
607
+ </td>
608
+ <td>
603
609
  <pre class="code"><span class="info file"># File 'lib/utopia/static/local_file.rb', line 38</span>
604
610
 
605
611
  <span class='kw'>def</span> <span class='id identifier rubyid_path'>path</span>
606
612
  <span class='ivar'>@path</span>
607
- <span class='kw'>end</span></pre>
608
- </td>
609
- </tr>
610
- </table>
611
- </div>
612
-
613
-
614
- <span id=""></span>
615
- <div class="method_details ">
616
- <h3 class="signature " id="range-instance_method">
617
-
618
- #<strong>range</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
619
-
620
-
621
-
622
-
623
-
624
- </h3><div class="docstring">
625
- <div class="discussion">
613
+ <span class='kw'>end</span></pre>
614
+ </td>
615
+ </tr>
616
+ </table>
617
+ </div>
618
+
619
+
620
+ <span id=""></span>
621
+ <div class="method_details ">
622
+ <h3 class="signature " id="range-instance_method">
623
+
624
+ #<strong>range</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
625
+
626
+
627
+
628
+
629
+
630
+ </h3><div class="docstring">
631
+ <div class="discussion">
626
632
  <p>Returns the value of attribute range</p>
627
-
628
-
629
- </div>
630
- </div>
631
- <div class="tags">
632
-
633
-
634
- </div><table class="source_code">
635
- <tr>
636
- <td>
633
+
634
+
635
+ </div>
636
+ </div>
637
+ <div class="tags">
638
+
639
+
640
+ </div><table class="source_code">
641
+ <tr>
642
+ <td>
637
643
  <pre class="lines">
638
644
 
639
645
 
640
646
  40
641
647
  41
642
- 42</pre>
643
- </td>
644
- <td>
648
+ 42</pre>
649
+ </td>
650
+ <td>
645
651
  <pre class="code"><span class="info file"># File 'lib/utopia/static/local_file.rb', line 40</span>
646
652
 
647
653
  <span class='kw'>def</span> <span class='id identifier rubyid_range'>range</span>
648
654
  <span class='ivar'>@range</span>
649
- <span class='kw'>end</span></pre>
650
- </td>
651
- </tr>
652
- </table>
653
- </div>
654
-
655
-
656
- <span id=""></span>
657
- <div class="method_details ">
658
- <h3 class="signature " id="root-instance_method">
659
-
660
- #<strong>root</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
661
-
662
-
663
-
664
-
665
-
666
- </h3><div class="docstring">
667
- <div class="discussion">
655
+ <span class='kw'>end</span></pre>
656
+ </td>
657
+ </tr>
658
+ </table>
659
+ </div>
660
+
661
+
662
+ <span id=""></span>
663
+ <div class="method_details ">
664
+ <h3 class="signature " id="root-instance_method">
665
+
666
+ #<strong>root</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
667
+
668
+
669
+
670
+
671
+
672
+ </h3><div class="docstring">
673
+ <div class="discussion">
668
674
  <p>Returns the value of attribute root</p>
669
-
670
-
671
- </div>
672
- </div>
673
- <div class="tags">
674
-
675
-
676
- </div><table class="source_code">
677
- <tr>
678
- <td>
675
+
676
+
677
+ </div>
678
+ </div>
679
+ <div class="tags">
680
+
681
+
682
+ </div><table class="source_code">
683
+ <tr>
684
+ <td>
679
685
  <pre class="lines">
680
686
 
681
687
 
682
688
  37
683
689
  38
684
- 39</pre>
685
- </td>
686
- <td>
690
+ 39</pre>
691
+ </td>
692
+ <td>
687
693
  <pre class="code"><span class="info file"># File 'lib/utopia/static/local_file.rb', line 37</span>
688
694
 
689
695
  <span class='kw'>def</span> <span class='id identifier rubyid_root'><span class='object_link'><a href="../../top-level-namespace.html" title="Top Level Namespace (root)">root</a></span></span>
690
696
  <span class='ivar'>@root</span>
691
- <span class='kw'>end</span></pre>
692
- </td>
693
- </tr>
694
- </table>
695
- </div>
696
-
697
- </div>
698
-
699
-
700
- <div id="instance_method_details" class="method_details_list">
701
- <h2>Instance Method Details</h2>
702
-
703
-
704
- <div class="method_details first">
705
- <h3 class="signature first" id="bytesize-instance_method">
706
-
707
- #<strong>bytesize</strong> &#x21d2; <tt>Object</tt>
708
-
709
-
710
-
711
- <span class="aliases">Also known as:
712
- <span class="names"><span id='size-instance_method'>size</span></span>
713
- </span>
714
-
715
-
716
-
717
- </h3><table class="source_code">
718
- <tr>
719
- <td>
697
+ <span class='kw'>end</span></pre>
698
+ </td>
699
+ </tr>
700
+ </table>
701
+ </div>
702
+
703
+ </div>
704
+
705
+
706
+ <div id="instance_method_details" class="method_details_list">
707
+ <h2>Instance Method Details</h2>
708
+
709
+
710
+ <div class="method_details first">
711
+ <h3 class="signature first" id="bytesize-instance_method">
712
+
713
+ #<strong>bytesize</strong> &#x21d2; <tt>Object</tt>
714
+
715
+
716
+
717
+ <span class="aliases">Also known as:
718
+ <span class="names"><span id='size-instance_method'>size</span></span>
719
+ </span>
720
+
721
+
722
+
723
+ </h3><table class="source_code">
724
+ <tr>
725
+ <td>
720
726
  <pre class="lines">
721
727
 
722
728
 
723
729
  55
724
730
  56
725
- 57</pre>
726
- </td>
727
- <td>
731
+ 57</pre>
732
+ </td>
733
+ <td>
728
734
  <pre class="code"><span class="info file"># File 'lib/utopia/static/local_file.rb', line 55</span>
729
735
 
730
736
  <span class='kw'>def</span> <span class='id identifier rubyid_bytesize'>bytesize</span>
731
737
  <span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_size'>size</span><span class='lparen'>(</span><span class='id identifier rubyid_full_path'>full_path</span><span class='rparen'>)</span>
732
- <span class='kw'>end</span></pre>
733
- </td>
734
- </tr>
735
- </table>
736
- </div>
737
-
738
- <div class="method_details ">
739
- <h3 class="signature " id="each-instance_method">
740
-
741
- #<strong>each</strong> &#x21d2; <tt>Object</tt>
742
-
743
-
744
-
745
-
746
-
747
- </h3><table class="source_code">
748
- <tr>
749
- <td>
738
+ <span class='kw'>end</span></pre>
739
+ </td>
740
+ </tr>
741
+ </table>
742
+ </div>
743
+
744
+ <div class="method_details ">
745
+ <h3 class="signature " id="each-instance_method">
746
+
747
+ #<strong>each</strong> &#x21d2; <tt>Object</tt>
748
+
749
+
750
+
751
+
752
+
753
+ </h3><table class="source_code">
754
+ <tr>
755
+ <td>
750
756
  <pre class="lines">
751
757
 
752
758
 
@@ -763,9 +769,9 @@
763
769
  76
764
770
  77
765
771
  78
766
- 79</pre>
767
- </td>
768
- <td>
772
+ 79</pre>
773
+ </td>
774
+ <td>
769
775
  <pre class="code"><span class="info file"># File 'lib/utopia/static/local_file.rb', line 66</span>
770
776
 
771
777
  <span class='kw'>def</span> <span class='id identifier rubyid_each'>each</span>
@@ -781,130 +787,130 @@
781
787
  <span class='kw'>yield</span> <span class='id identifier rubyid_part'>part</span>
782
788
  <span class='kw'>end</span>
783
789
  <span class='kw'>end</span>
784
- <span class='kw'>end</span></pre>
785
- </td>
786
- </tr>
787
- </table>
788
- </div>
789
-
790
- <div class="method_details ">
791
- <h3 class="signature " id="empty?-instance_method">
792
-
793
- #<strong>empty?</strong> &#x21d2; <tt>Boolean</tt>
794
-
795
-
796
-
797
-
798
-
799
- </h3><div class="docstring">
800
- <div class="discussion">
790
+ <span class='kw'>end</span></pre>
791
+ </td>
792
+ </tr>
793
+ </table>
794
+ </div>
795
+
796
+ <div class="method_details ">
797
+ <h3 class="signature " id="empty?-instance_method">
798
+
799
+ #<strong>empty?</strong> &#x21d2; <tt>Boolean</tt>
800
+
801
+
802
+
803
+
804
+
805
+ </h3><div class="docstring">
806
+ <div class="discussion">
801
807
  <p>This reflects whether calling each would yield anything.</p>
802
-
803
-
804
- </div>
805
- </div>
806
- <div class="tags">
807
-
808
- <p class="tag_title">Returns:</p>
809
- <ul class="return">
810
-
811
- <li>
812
-
813
-
814
- <span class='type'>(<tt>Boolean</tt>)</span>
815
-
816
-
817
-
818
- </li>
819
-
820
- </ul>
821
-
822
- </div><table class="source_code">
823
- <tr>
824
- <td>
808
+
809
+
810
+ </div>
811
+ </div>
812
+ <div class="tags">
813
+
814
+ <p class="tag_title">Returns:</p>
815
+ <ul class="return">
816
+
817
+ <li>
818
+
819
+
820
+ <span class='type'>(<tt>Boolean</tt>)</span>
821
+
822
+
823
+
824
+ </li>
825
+
826
+ </ul>
827
+
828
+ </div><table class="source_code">
829
+ <tr>
830
+ <td>
825
831
  <pre class="lines">
826
832
 
827
833
 
828
834
  60
829
835
  61
830
- 62</pre>
831
- </td>
832
- <td>
836
+ 62</pre>
837
+ </td>
838
+ <td>
833
839
  <pre class="code"><span class="info file"># File 'lib/utopia/static/local_file.rb', line 60</span>
834
840
 
835
841
  <span class='kw'>def</span> <span class='id identifier rubyid_empty?'>empty?</span>
836
842
  <span class='id identifier rubyid_bytesize'>bytesize</span> <span class='op'>==</span> <span class='int'>0</span>
837
- <span class='kw'>end</span></pre>
838
- </td>
839
- </tr>
840
- </table>
841
- </div>
842
-
843
- <div class="method_details ">
844
- <h3 class="signature " id="full_path-instance_method">
845
-
846
- #<strong>full_path</strong> &#x21d2; <tt>Object</tt>
847
-
848
-
849
-
850
-
851
-
852
- </h3><table class="source_code">
853
- <tr>
854
- <td>
843
+ <span class='kw'>end</span></pre>
844
+ </td>
845
+ </tr>
846
+ </table>
847
+ </div>
848
+
849
+ <div class="method_details ">
850
+ <h3 class="signature " id="full_path-instance_method">
851
+
852
+ #<strong>full_path</strong> &#x21d2; <tt>Object</tt>
853
+
854
+
855
+
856
+
857
+
858
+ </h3><table class="source_code">
859
+ <tr>
860
+ <td>
855
861
  <pre class="lines">
856
862
 
857
863
 
858
864
  47
859
865
  48
860
- 49</pre>
861
- </td>
862
- <td>
866
+ 49</pre>
867
+ </td>
868
+ <td>
863
869
  <pre class="code"><span class="info file"># File 'lib/utopia/static/local_file.rb', line 47</span>
864
870
 
865
871
  <span class='kw'>def</span> <span class='id identifier rubyid_full_path'>full_path</span>
866
872
  <span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_join'>join</span><span class='lparen'>(</span><span class='ivar'>@root</span><span class='comma'>,</span> <span class='ivar'>@path</span><span class='period'>.</span><span class='id identifier rubyid_components'>components</span><span class='rparen'>)</span>
867
- <span class='kw'>end</span></pre>
868
- </td>
869
- </tr>
870
- </table>
871
- </div>
872
-
873
- <div class="method_details ">
874
- <h3 class="signature " id="modified?-instance_method">
875
-
876
- #<strong>modified?</strong>(env) &#x21d2; <tt>Boolean</tt>
877
-
878
-
879
-
880
-
881
-
882
- </h3><div class="docstring">
883
- <div class="discussion">
884
-
885
-
886
-
887
- </div>
888
- </div>
889
- <div class="tags">
890
-
891
- <p class="tag_title">Returns:</p>
892
- <ul class="return">
893
-
894
- <li>
895
-
896
-
897
- <span class='type'>(<tt>Boolean</tt>)</span>
898
-
899
-
900
-
901
- </li>
902
-
903
- </ul>
904
-
905
- </div><table class="source_code">
906
- <tr>
907
- <td>
873
+ <span class='kw'>end</span></pre>
874
+ </td>
875
+ </tr>
876
+ </table>
877
+ </div>
878
+
879
+ <div class="method_details ">
880
+ <h3 class="signature " id="modified?-instance_method">
881
+
882
+ #<strong>modified?</strong>(env) &#x21d2; <tt>Boolean</tt>
883
+
884
+
885
+
886
+
887
+
888
+ </h3><div class="docstring">
889
+ <div class="discussion">
890
+
891
+
892
+
893
+ </div>
894
+ </div>
895
+ <div class="tags">
896
+
897
+ <p class="tag_title">Returns:</p>
898
+ <ul class="return">
899
+
900
+ <li>
901
+
902
+
903
+ <span class='type'>(<tt>Boolean</tt>)</span>
904
+
905
+
906
+
907
+ </li>
908
+
909
+ </ul>
910
+
911
+ </div><table class="source_code">
912
+ <tr>
913
+ <td>
908
914
  <pre class="lines">
909
915
 
910
916
 
@@ -919,9 +925,9 @@
919
925
  89
920
926
  90
921
927
  91
922
- 92</pre>
923
- </td>
924
- <td>
928
+ 92</pre>
929
+ </td>
930
+ <td>
925
931
  <pre class="code"><span class="info file"># File 'lib/utopia/static/local_file.rb', line 81</span>
926
932
 
927
933
  <span class='kw'>def</span> <span class='id identifier rubyid_modified?'>modified?</span><span class='lparen'>(</span><span class='id identifier rubyid_env'>env</span><span class='rparen'>)</span>
@@ -935,54 +941,54 @@
935
941
  <span class='kw'>end</span>
936
942
 
937
943
  <span class='kw'>return</span> <span class='kw'>true</span>
938
- <span class='kw'>end</span></pre>
939
- </td>
940
- </tr>
941
- </table>
942
- </div>
943
-
944
- <div class="method_details ">
945
- <h3 class="signature " id="mtime_date-instance_method">
946
-
947
- #<strong>mtime_date</strong> &#x21d2; <tt>Object</tt>
948
-
949
-
950
-
951
-
952
-
953
- </h3><table class="source_code">
954
- <tr>
955
- <td>
944
+ <span class='kw'>end</span></pre>
945
+ </td>
946
+ </tr>
947
+ </table>
948
+ </div>
949
+
950
+ <div class="method_details ">
951
+ <h3 class="signature " id="mtime_date-instance_method">
952
+
953
+ #<strong>mtime_date</strong> &#x21d2; <tt>Object</tt>
954
+
955
+
956
+
957
+
958
+
959
+ </h3><table class="source_code">
960
+ <tr>
961
+ <td>
956
962
  <pre class="lines">
957
963
 
958
964
 
959
965
  51
960
966
  52
961
- 53</pre>
962
- </td>
963
- <td>
967
+ 53</pre>
968
+ </td>
969
+ <td>
964
970
  <pre class="code"><span class="info file"># File 'lib/utopia/static/local_file.rb', line 51</span>
965
971
 
966
972
  <span class='kw'>def</span> <span class='id identifier rubyid_mtime_date'>mtime_date</span>
967
973
  <span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_mtime'>mtime</span><span class='lparen'>(</span><span class='id identifier rubyid_full_path'>full_path</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_httpdate'>httpdate</span>
968
- <span class='kw'>end</span></pre>
969
- </td>
970
- </tr>
971
- </table>
972
- </div>
973
-
974
- <div class="method_details ">
975
- <h3 class="signature " id="serve-instance_method">
976
-
977
- #<strong>serve</strong>(env, response_headers) &#x21d2; <tt>Object</tt>
978
-
979
-
980
-
981
-
982
-
983
- </h3><table class="source_code">
984
- <tr>
985
- <td>
974
+ <span class='kw'>end</span></pre>
975
+ </td>
976
+ </tr>
977
+ </table>
978
+ </div>
979
+
980
+ <div class="method_details ">
981
+ <h3 class="signature " id="serve-instance_method">
982
+
983
+ #<strong>serve</strong>(env, response_headers) &#x21d2; <tt>Object</tt>
984
+
985
+
986
+
987
+
988
+
989
+ </h3><table class="source_code">
990
+ <tr>
991
+ <td>
986
992
  <pre class="lines">
987
993
 
988
994
 
@@ -1009,9 +1015,9 @@
1009
1015
  117
1010
1016
  118
1011
1017
  119
1012
- 120</pre>
1013
- </td>
1014
- <td>
1018
+ 120</pre>
1019
+ </td>
1020
+ <td>
1015
1021
  <pre class="code"><span class="info file"># File 'lib/utopia/static/local_file.rb', line 97</span>
1016
1022
 
1017
1023
  <span class='kw'>def</span> <span class='id identifier rubyid_serve'>serve</span><span class='lparen'>(</span><span class='id identifier rubyid_env'>env</span><span class='comma'>,</span> <span class='id identifier rubyid_response_headers'>response_headers</span><span class='rparen'>)</span>
@@ -1037,62 +1043,62 @@
1037
1043
  <span class='kw'>end</span>
1038
1044
 
1039
1045
  <span class='kw'>return</span> <span class='id identifier rubyid_response'>response</span>
1040
- <span class='kw'>end</span></pre>
1041
- </td>
1042
- </tr>
1043
- </table>
1044
- </div>
1045
-
1046
- <div class="method_details ">
1047
- <h3 class="signature " id="to_path-instance_method">
1048
-
1049
- #<strong>to_path</strong> &#x21d2; <tt>Object</tt>
1050
-
1051
-
1052
-
1053
-
1054
-
1055
- </h3><div class="docstring">
1056
- <div class="discussion">
1046
+ <span class='kw'>end</span></pre>
1047
+ </td>
1048
+ </tr>
1049
+ </table>
1050
+ </div>
1051
+
1052
+ <div class="method_details ">
1053
+ <h3 class="signature " id="to_path-instance_method">
1054
+
1055
+ #<strong>to_path</strong> &#x21d2; <tt>Object</tt>
1056
+
1057
+
1058
+
1059
+
1060
+
1061
+ </h3><div class="docstring">
1062
+ <div class="discussion">
1057
1063
  <p>Fit in with Rack::Sendfile</p>
1058
-
1059
-
1060
- </div>
1061
- </div>
1062
- <div class="tags">
1063
-
1064
-
1065
- </div><table class="source_code">
1066
- <tr>
1067
- <td>
1064
+
1065
+
1066
+ </div>
1067
+ </div>
1068
+ <div class="tags">
1069
+
1070
+
1071
+ </div><table class="source_code">
1072
+ <tr>
1073
+ <td>
1068
1074
  <pre class="lines">
1069
1075
 
1070
1076
 
1071
1077
  43
1072
1078
  44
1073
- 45</pre>
1074
- </td>
1075
- <td>
1079
+ 45</pre>
1080
+ </td>
1081
+ <td>
1076
1082
  <pre class="code"><span class="info file"># File 'lib/utopia/static/local_file.rb', line 43</span>
1077
1083
 
1078
1084
  <span class='kw'>def</span> <span class='id identifier rubyid_to_path'>to_path</span>
1079
1085
  <span class='id identifier rubyid_full_path'>full_path</span>
1080
- <span class='kw'>end</span></pre>
1081
- </td>
1082
- </tr>
1083
- </table>
1084
- </div>
1085
-
1086
- </div>
1087
-
1088
- </div>
1089
-
1090
- <div id="footer">
1091
- Generated on Sat Mar 24 21:17:21 2018 by
1092
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1093
- 0.9.12 (ruby-2.5.0).
1094
- </div>
1095
-
1096
- </div>
1097
- </body>
1086
+ <span class='kw'>end</span></pre>
1087
+ </td>
1088
+ </tr>
1089
+ </table>
1090
+ </div>
1091
+
1092
+ </div>
1093
+
1094
+ </div>
1095
+
1096
+ <div id="footer">
1097
+ Generated on Sat Mar 9 12:01:54 2019 by
1098
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1099
+ 0.9.18 (ruby-2.6.1).
1100
+ </div>
1101
+
1102
+ </div>
1103
+ </body>
1098
1104
  </html>