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,499 +1,505 @@
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::Session
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::Session";
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 (S)</a> &raquo;
40
- <span class='title'><span class='object_link'><a href="../Utopia.html" title="Utopia (module)">Utopia</a></span></span>
41
- &raquo;
42
- <span class="title">Session</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::Session
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::Session</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/session.rb<span class="defines">,<br />
98
- lib/utopia/session/lazy_hash.rb</span>
99
- </dd>
100
- </dl>
101
-
102
- </div>
103
-
104
- <h2>Overview</h2><div class="docstring">
105
- <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::Session
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::Session";
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 (S)</a> &raquo;
40
+ <span class='title'><span class='object_link'><a href="../Utopia.html" title="Utopia (module)">Utopia</a></span></span>
41
+ &raquo;
42
+ <span class="title">Session</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::Session
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::Session</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/session.rb<span class="defines">,<br />
98
+ lib/utopia/session/lazy_hash.rb</span>
99
+ </dd>
100
+ </dl>
101
+
102
+ </div>
103
+
104
+ <h2>Overview</h2><div class="docstring">
105
+ <div class="discussion">
106
106
  <p>A middleware which provides a secure client-side session storage using a private symmetric encrpytion key.</p>
107
-
108
-
109
- </div>
110
- </div>
111
- <div class="tags">
112
-
113
-
114
- </div><h2>Defined Under Namespace</h2>
115
- <p class="children">
116
-
117
-
118
-
119
-
120
- <strong class="classes">Classes:</strong> <span class='object_link'><a href="Session/LazyHash.html" title="Utopia::Session::LazyHash (class)">LazyHash</a></span>
121
-
122
-
123
- </p>
124
-
125
- <h2>Constant Summary</h2>
126
- <dl class="constants">
127
-
128
- <dt id="SECRET_KEY-constant" class="">SECRET_KEY =
129
-
130
- </dt>
131
- <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>UTOPIA_SESSION_SECRET</span><span class='tstring_end'>&#39;</span></span><span class='period'>.</span><span class='id identifier rubyid_freeze'>freeze</span></pre></dd>
132
-
133
- <dt id="RACK_SESSION-constant" class="">RACK_SESSION =
134
-
135
- </dt>
136
- <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>rack.session</span><span class='tstring_end'>&quot;</span></span><span class='period'>.</span><span class='id identifier rubyid_freeze'>freeze</span></pre></dd>
137
-
138
- <dt id="CIPHER_ALGORITHM-constant" class="">CIPHER_ALGORITHM =
139
-
140
- </dt>
141
- <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>aes-256-cbc</span><span class='tstring_end'>&quot;</span></span></pre></dd>
142
-
143
- <dt id="DEFAULT_EXPIRES_AFTER-constant" class="">DEFAULT_EXPIRES_AFTER =
144
- <div class="docstring">
145
- <div class="discussion">
107
+
108
+
109
+ </div>
110
+ </div>
111
+ <div class="tags">
112
+
113
+
114
+ </div><h2>Defined Under Namespace</h2>
115
+ <p class="children">
116
+
117
+
118
+
119
+
120
+ <strong class="classes">Classes:</strong> <span class='object_link'><a href="Session/LazyHash.html" title="Utopia::Session::LazyHash (class)">LazyHash</a></span>
121
+
122
+
123
+ </p>
124
+
125
+
126
+ <h2>
127
+ Constant Summary
128
+ <small><a href="#" class="constants_summary_toggle">collapse</a></small>
129
+ </h2>
130
+
131
+ <dl class="constants">
132
+
133
+ <dt id="SECRET_KEY-constant" class="">SECRET_KEY =
134
+
135
+ </dt>
136
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>UTOPIA_SESSION_SECRET</span><span class='tstring_end'>&#39;</span></span><span class='period'>.</span><span class='id identifier rubyid_freeze'>freeze</span></pre></dd>
137
+
138
+ <dt id="RACK_SESSION-constant" class="">RACK_SESSION =
139
+
140
+ </dt>
141
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>rack.session</span><span class='tstring_end'>&quot;</span></span><span class='period'>.</span><span class='id identifier rubyid_freeze'>freeze</span></pre></dd>
142
+
143
+ <dt id="CIPHER_ALGORITHM-constant" class="">CIPHER_ALGORITHM =
144
+
145
+ </dt>
146
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>aes-256-cbc</span><span class='tstring_end'>&quot;</span></span></pre></dd>
147
+
148
+ <dt id="DEFAULT_EXPIRES_AFTER-constant" class="">DEFAULT_EXPIRES_AFTER =
149
+ <div class="docstring">
150
+ <div class="discussion">
146
151
  <p>The session will expire if no requests were made within 24 hours:</p>
147
-
148
-
149
- </div>
150
- </div>
151
- <div class="tags">
152
-
153
-
154
- </div>
155
- </dt>
156
- <dd><pre class="code"><span class='int'>3600</span><span class='op'>*</span><span class='int'>24</span></pre></dd>
157
-
158
- <dt id="DEFAULT_UPDATE_TIMEOUT-constant" class="">DEFAULT_UPDATE_TIMEOUT =
159
- <div class="docstring">
160
- <div class="discussion">
152
+
153
+
154
+ </div>
155
+ </div>
156
+ <div class="tags">
157
+
158
+
159
+ </div>
160
+ </dt>
161
+ <dd><pre class="code"><span class='int'>3600</span><span class='op'>*</span><span class='int'>24</span></pre></dd>
162
+
163
+ <dt id="DEFAULT_UPDATE_TIMEOUT-constant" class="">DEFAULT_UPDATE_TIMEOUT =
164
+ <div class="docstring">
165
+ <div class="discussion">
161
166
  <p>At least, the session will be updated every 1 hour:</p>
162
-
163
-
164
- </div>
165
- </div>
166
- <div class="tags">
167
-
168
-
169
- </div>
170
- </dt>
171
- <dd><pre class="code"><span class='int'>3600</span></pre></dd>
172
-
173
- </dl>
174
-
175
-
176
-
177
-
178
- <h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
179
- <ul class="summary">
180
-
181
- <li class="public ">
182
- <span class="summary_signature">
183
-
184
- <a href="#cookie_defaults-instance_method" title="#cookie_defaults (instance method)">#<strong>cookie_defaults</strong> &#x21d2; Object </a>
185
-
186
-
187
-
188
- </span>
189
-
190
-
191
-
192
-
193
- <span class="note title readonly">readonly</span>
194
-
195
-
196
-
197
-
198
-
199
-
200
-
201
-
202
-
167
+
168
+
169
+ </div>
170
+ </div>
171
+ <div class="tags">
172
+
173
+
174
+ </div>
175
+ </dt>
176
+ <dd><pre class="code"><span class='int'>3600</span></pre></dd>
177
+
178
+ </dl>
179
+
180
+
181
+
182
+
183
+
184
+ <h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
185
+ <ul class="summary">
186
+
187
+ <li class="public ">
188
+ <span class="summary_signature">
189
+
190
+ <a href="#cookie_defaults-instance_method" title="#cookie_defaults (instance method)">#<strong>cookie_defaults</strong> &#x21d2; Object </a>
191
+
192
+
193
+
194
+ </span>
195
+
196
+
197
+
198
+
199
+ <span class="note title readonly">readonly</span>
200
+
201
+
202
+
203
+
204
+
205
+
206
+
207
+
208
+
203
209
  <span class="summary_desc"><div class='inline'><p>Returns the value of attribute cookie_defaults.</p>
204
- </div></span>
205
-
206
- </li>
207
-
208
-
209
- <li class="public ">
210
- <span class="summary_signature">
211
-
212
- <a href="#cookie_name-instance_method" title="#cookie_name (instance method)">#<strong>cookie_name</strong> &#x21d2; Object </a>
213
-
214
-
215
-
216
- </span>
217
-
218
-
219
-
220
-
221
- <span class="note title readonly">readonly</span>
222
-
223
-
224
-
225
-
226
-
227
-
228
-
229
-
230
-
210
+ </div></span>
211
+
212
+ </li>
213
+
214
+
215
+ <li class="public ">
216
+ <span class="summary_signature">
217
+
218
+ <a href="#cookie_name-instance_method" title="#cookie_name (instance method)">#<strong>cookie_name</strong> &#x21d2; Object </a>
219
+
220
+
221
+
222
+ </span>
223
+
224
+
225
+
226
+
227
+ <span class="note title readonly">readonly</span>
228
+
229
+
230
+
231
+
232
+
233
+
234
+
235
+
236
+
231
237
  <span class="summary_desc"><div class='inline'><p>Returns the value of attribute cookie_name.</p>
232
- </div></span>
233
-
234
- </li>
235
-
236
-
237
- <li class="public ">
238
- <span class="summary_signature">
239
-
240
- <a href="#expires_after-instance_method" title="#expires_after (instance method)">#<strong>expires_after</strong> &#x21d2; Object </a>
241
-
242
-
243
-
244
- </span>
245
-
246
-
247
-
248
-
249
- <span class="note title readonly">readonly</span>
250
-
251
-
252
-
253
-
254
-
255
-
256
-
257
-
258
-
238
+ </div></span>
239
+
240
+ </li>
241
+
242
+
243
+ <li class="public ">
244
+ <span class="summary_signature">
245
+
246
+ <a href="#expires_after-instance_method" title="#expires_after (instance method)">#<strong>expires_after</strong> &#x21d2; Object </a>
247
+
248
+
249
+
250
+ </span>
251
+
252
+
253
+
254
+
255
+ <span class="note title readonly">readonly</span>
256
+
257
+
258
+
259
+
260
+
261
+
262
+
263
+
264
+
259
265
  <span class="summary_desc"><div class='inline'><p>Returns the value of attribute expires_after.</p>
260
- </div></span>
261
-
262
- </li>
263
-
264
-
265
- <li class="public ">
266
- <span class="summary_signature">
267
-
268
- <a href="#key-instance_method" title="#key (instance method)">#<strong>key</strong> &#x21d2; Object </a>
269
-
270
-
271
-
272
- </span>
273
-
274
-
275
-
276
-
277
- <span class="note title readonly">readonly</span>
278
-
279
-
280
-
281
-
282
-
283
-
284
-
285
-
286
-
266
+ </div></span>
267
+
268
+ </li>
269
+
270
+
271
+ <li class="public ">
272
+ <span class="summary_signature">
273
+
274
+ <a href="#key-instance_method" title="#key (instance method)">#<strong>key</strong> &#x21d2; Object </a>
275
+
276
+
277
+
278
+ </span>
279
+
280
+
281
+
282
+
283
+ <span class="note title readonly">readonly</span>
284
+
285
+
286
+
287
+
288
+
289
+
290
+
291
+
292
+
287
293
  <span class="summary_desc"><div class='inline'><p>Returns the value of attribute key.</p>
288
- </div></span>
289
-
290
- </li>
291
-
292
-
293
- <li class="public ">
294
- <span class="summary_signature">
295
-
296
- <a href="#update_timeout-instance_method" title="#update_timeout (instance method)">#<strong>update_timeout</strong> &#x21d2; Object </a>
297
-
298
-
299
-
300
- </span>
301
-
302
-
303
-
304
-
305
- <span class="note title readonly">readonly</span>
306
-
307
-
308
-
309
-
310
-
311
-
312
-
313
-
314
-
294
+ </div></span>
295
+
296
+ </li>
297
+
298
+
299
+ <li class="public ">
300
+ <span class="summary_signature">
301
+
302
+ <a href="#update_timeout-instance_method" title="#update_timeout (instance method)">#<strong>update_timeout</strong> &#x21d2; Object </a>
303
+
304
+
305
+
306
+ </span>
307
+
308
+
309
+
310
+
311
+ <span class="note title readonly">readonly</span>
312
+
313
+
314
+
315
+
316
+
317
+
318
+
319
+
320
+
315
321
  <span class="summary_desc"><div class='inline'><p>Returns the value of attribute update_timeout.</p>
316
- </div></span>
317
-
318
- </li>
319
-
320
-
321
- </ul>
322
-
323
-
324
-
325
-
326
-
327
- <h2>
328
- Instance Method Summary
329
- <small><a href="#" class="summary_toggle">collapse</a></small>
330
- </h2>
331
-
332
- <ul class="summary">
333
-
334
- <li class="public ">
335
- <span class="summary_signature">
336
-
337
- <a href="#call-instance_method" title="#call (instance method)">#<strong>call</strong>(env) &#x21d2; Object </a>
338
-
339
-
340
-
341
- </span>
342
-
343
-
344
-
345
-
346
-
347
-
348
-
349
-
350
-
322
+ </div></span>
323
+
324
+ </li>
325
+
326
+
327
+ </ul>
328
+
329
+
330
+
331
+
332
+
333
+ <h2>
334
+ Instance Method Summary
335
+ <small><a href="#" class="summary_toggle">collapse</a></small>
336
+ </h2>
337
+
338
+ <ul class="summary">
339
+
340
+ <li class="public ">
341
+ <span class="summary_signature">
342
+
343
+ <a href="#call-instance_method" title="#call (instance method)">#<strong>call</strong>(env) &#x21d2; Object </a>
344
+
345
+
346
+
347
+ </span>
348
+
349
+
350
+
351
+
352
+
353
+
354
+
355
+
356
+
351
357
  <span class="summary_desc"><div class='inline'>
352
- </div></span>
353
-
354
- </li>
355
-
356
-
357
- <li class="public ">
358
- <span class="summary_signature">
359
-
360
- <a href="#freeze-instance_method" title="#freeze (instance method)">#<strong>freeze</strong> &#x21d2; Object </a>
361
-
362
-
363
-
364
- </span>
365
-
366
-
367
-
368
-
369
-
370
-
371
-
372
-
373
-
358
+ </div></span>
359
+
360
+ </li>
361
+
362
+
363
+ <li class="public ">
364
+ <span class="summary_signature">
365
+
366
+ <a href="#freeze-instance_method" title="#freeze (instance method)">#<strong>freeze</strong> &#x21d2; Object </a>
367
+
368
+
369
+
370
+ </span>
371
+
372
+
373
+
374
+
375
+
376
+
377
+
378
+
379
+
374
380
  <span class="summary_desc"><div class='inline'>
375
- </div></span>
376
-
377
- </li>
378
-
379
-
380
- <li class="public ">
381
- <span class="summary_signature">
382
-
383
- <a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(app, session_name: RACK_SESSION, secret: nil, expires_after: DEFAULT_EXPIRES_AFTER, update_timeout: DEFAULT_UPDATE_TIMEOUT, **options) &#x21d2; Session </a>
384
-
385
-
386
-
387
- </span>
388
-
389
-
390
- <span class="note title constructor">constructor</span>
391
-
392
-
393
-
394
-
395
-
396
-
397
-
398
-
381
+ </div></span>
382
+
383
+ </li>
384
+
385
+
386
+ <li class="public ">
387
+ <span class="summary_signature">
388
+
389
+ <a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(app, session_name: RACK_SESSION, secret: nil, expires_after: DEFAULT_EXPIRES_AFTER, update_timeout: DEFAULT_UPDATE_TIMEOUT, secure: false, **options) &#x21d2; Session </a>
390
+
391
+
392
+
393
+ </span>
394
+
395
+
396
+ <span class="note title constructor">constructor</span>
397
+
398
+
399
+
400
+
401
+
402
+
403
+
404
+
399
405
  <span class="summary_desc"><div class='inline'><p>A new instance of Session.</p>
400
- </div></span>
401
-
402
- </li>
403
-
404
-
405
- </ul>
406
-
407
-
408
- <div id="constructor_details" class="method_details_list">
409
- <h2>Constructor Details</h2>
410
-
411
- <div class="method_details first">
412
- <h3 class="signature first" id="initialize-instance_method">
413
-
414
- #<strong>initialize</strong>(app, session_name: RACK_SESSION, secret: nil, expires_after: DEFAULT_EXPIRES_AFTER, update_timeout: DEFAULT_UPDATE_TIMEOUT, **options) &#x21d2; <tt><span class='object_link'><a href="" title="Utopia::Session (class)">Session</a></span></tt>
415
-
416
-
417
-
418
-
419
-
420
- </h3><div class="docstring">
421
- <div class="discussion">
406
+ </div></span>
407
+
408
+ </li>
409
+
410
+
411
+ </ul>
412
+
413
+
414
+ <div id="constructor_details" class="method_details_list">
415
+ <h2>Constructor Details</h2>
416
+
417
+ <div class="method_details first">
418
+ <h3 class="signature first" id="initialize-instance_method">
419
+
420
+ #<strong>initialize</strong>(app, session_name: RACK_SESSION, secret: nil, expires_after: DEFAULT_EXPIRES_AFTER, update_timeout: DEFAULT_UPDATE_TIMEOUT, secure: false, **options) &#x21d2; <tt><span class='object_link'><a href="" title="Utopia::Session (class)">Session</a></span></tt>
421
+
422
+
423
+
424
+
425
+
426
+ </h3><div class="docstring">
427
+ <div class="discussion">
422
428
  <p>Returns a new instance of Session</p>
423
-
424
-
425
- </div>
426
- </div>
427
- <div class="tags">
428
- <p class="tag_title">Parameters:</p>
429
- <ul class="param">
430
-
431
- <li>
432
-
433
- <span class='name'>session_name</span>
434
-
435
-
436
- <span class='type'>(<tt>String</tt>)</span>
437
-
438
-
439
-
440
- &mdash;
429
+
430
+
431
+ </div>
432
+ </div>
433
+ <div class="tags">
434
+ <p class="tag_title">Parameters:</p>
435
+ <ul class="param">
436
+
437
+ <li>
438
+
439
+ <span class='name'>session_name</span>
440
+
441
+
442
+ <span class='type'>(<tt>String</tt>)</span>
443
+
444
+
445
+
446
+ &mdash;
441
447
  <div class='inline'><p>The name of the session cookie.</p>
442
- </div>
443
-
444
- </li>
445
-
446
- <li>
447
-
448
- <span class='name'>secret</span>
449
-
450
-
451
- <span class='type'>(<tt>Array</tt>)</span>
452
-
453
-
454
-
455
- &mdash;
448
+ </div>
449
+
450
+ </li>
451
+
452
+ <li>
453
+
454
+ <span class='name'>secret</span>
455
+
456
+
457
+ <span class='type'>(<tt>Array</tt>)</span>
458
+
459
+
460
+
461
+ &mdash;
456
462
  <div class='inline'><p>The secret text used to generate a symetric encryption key for the coookie data.</p>
457
- </div>
458
-
459
- </li>
460
-
461
- <li>
462
-
463
- <span class='name'>expires_after</span>
464
-
465
-
466
- <span class='type'>(<tt>String</tt>)</span>
467
-
468
-
469
-
470
- &mdash;
463
+ </div>
464
+
465
+ </li>
466
+
467
+ <li>
468
+
469
+ <span class='name'>expires_after</span>
470
+
471
+
472
+ <span class='type'>(<tt>String</tt>)</span>
473
+
474
+
475
+
476
+ &mdash;
471
477
  <div class='inline'><p>The cache-control header to set for static content.</p>
472
- </div>
473
-
474
- </li>
475
-
476
- <li>
477
-
478
- <span class='name'>options</span>
479
-
480
-
481
- <span class='type'>(<tt>Hash&lt;Symbol,Object&gt;</tt>)</span>
482
-
483
-
484
-
485
- &mdash;
478
+ </div>
479
+
480
+ </li>
481
+
482
+ <li>
483
+
484
+ <span class='name'>options</span>
485
+
486
+
487
+ <span class='type'>(<tt>Hash&lt;Symbol,Object&gt;</tt>)</span>
488
+
489
+
490
+
491
+ &mdash;
486
492
  <div class='inline'><p>Additional defaults used for generating the cookie by <code>Rack::Utils.set_cookie_header!</code>.</p>
487
- </div>
488
-
489
- </li>
490
-
491
- </ul>
492
-
493
-
494
- </div><table class="source_code">
495
- <tr>
496
- <td>
493
+ </div>
494
+
495
+ </li>
496
+
497
+ </ul>
498
+
499
+
500
+ </div><table class="source_code">
501
+ <tr>
502
+ <td>
497
503
  <pre class="lines">
498
504
 
499
505
 
@@ -522,12 +528,12 @@
522
528
  67
523
529
  68
524
530
  69
525
- 70</pre>
526
- </td>
527
- <td>
531
+ 70</pre>
532
+ </td>
533
+ <td>
528
534
  <pre class="code"><span class="info file"># File 'lib/utopia/session.rb', line 45</span>
529
535
 
530
- <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_app'>app</span><span class='comma'>,</span> <span class='label'>session_name:</span> <span class='const'><span class='object_link'><a href="#RACK_SESSION-constant" title="Utopia::Session::RACK_SESSION (constant)">RACK_SESSION</a></span></span><span class='comma'>,</span> <span class='label'>secret:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>expires_after:</span> <span class='const'><span class='object_link'><a href="#DEFAULT_EXPIRES_AFTER-constant" title="Utopia::Session::DEFAULT_EXPIRES_AFTER (constant)">DEFAULT_EXPIRES_AFTER</a></span></span><span class='comma'>,</span> <span class='label'>update_timeout:</span> <span class='const'><span class='object_link'><a href="#DEFAULT_UPDATE_TIMEOUT-constant" title="Utopia::Session::DEFAULT_UPDATE_TIMEOUT (constant)">DEFAULT_UPDATE_TIMEOUT</a></span></span><span class='comma'>,</span> <span class='op'>**</span><span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
536
+ <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_app'>app</span><span class='comma'>,</span> <span class='label'>session_name:</span> <span class='const'><span class='object_link'><a href="#RACK_SESSION-constant" title="Utopia::Session::RACK_SESSION (constant)">RACK_SESSION</a></span></span><span class='comma'>,</span> <span class='label'>secret:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>expires_after:</span> <span class='const'><span class='object_link'><a href="#DEFAULT_EXPIRES_AFTER-constant" title="Utopia::Session::DEFAULT_EXPIRES_AFTER (constant)">DEFAULT_EXPIRES_AFTER</a></span></span><span class='comma'>,</span> <span class='label'>update_timeout:</span> <span class='const'><span class='object_link'><a href="#DEFAULT_UPDATE_TIMEOUT-constant" title="Utopia::Session::DEFAULT_UPDATE_TIMEOUT (constant)">DEFAULT_UPDATE_TIMEOUT</a></span></span><span class='comma'>,</span> <span class='label'>secure:</span> <span class='kw'>false</span><span class='comma'>,</span> <span class='op'>**</span><span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
531
537
  <span class='ivar'>@app</span> <span class='op'>=</span> <span class='id identifier rubyid_app'>app</span>
532
538
 
533
539
  <span class='ivar'>@session_name</span> <span class='op'>=</span> <span class='id identifier rubyid_session_name'>session_name</span>
@@ -548,250 +554,250 @@
548
554
  <span class='label'>domain:</span> <span class='kw'>nil</span><span class='comma'>,</span>
549
555
  <span class='label'>path:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span>
550
556
  <span class='comment'># The Secure attribute is meant to keep cookie communication limited to encrypted transmission, directing browsers to use cookies only via secure/encrypted connections. However, if a web server sets a cookie with a secure attribute from a non-secure connection, the cookie can still be intercepted when it is sent to the user by man-in-the-middle attacks. Therefore, for maximum security, cookies with the Secure attribute should only be set over a secure connection.
551
- </span> <span class='label'>secure:</span> <span class='kw'>false</span><span class='comma'>,</span>
557
+ </span> <span class='label'>secure:</span> <span class='id identifier rubyid_secure'>secure</span><span class='comma'>,</span>
552
558
  <span class='comment'># The HttpOnly attribute directs browsers not to expose cookies through channels other than HTTP (and HTTPS) requests. This means that the cookie cannot be accessed via client-side scripting languages (notably JavaScript), and therefore cannot be stolen easily via cross-site scripting (a pervasive attack technique).
553
559
  </span> <span class='label'>http_only:</span> <span class='kw'>true</span><span class='comma'>,</span>
554
560
  <span class='rbrace'>}</span><span class='period'>.</span><span class='id identifier rubyid_merge'>merge</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
555
- <span class='kw'>end</span></pre>
556
- </td>
557
- </tr>
558
- </table>
559
- </div>
560
-
561
- </div>
562
-
563
- <div id="instance_attr_details" class="attr_details">
564
- <h2>Instance Attribute Details</h2>
565
-
566
-
567
- <span id=""></span>
568
- <div class="method_details first">
569
- <h3 class="signature first" id="cookie_defaults-instance_method">
570
-
571
- #<strong>cookie_defaults</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
572
-
573
-
574
-
575
-
576
-
577
- </h3><div class="docstring">
578
- <div class="discussion">
561
+ <span class='kw'>end</span></pre>
562
+ </td>
563
+ </tr>
564
+ </table>
565
+ </div>
566
+
567
+ </div>
568
+
569
+ <div id="instance_attr_details" class="attr_details">
570
+ <h2>Instance Attribute Details</h2>
571
+
572
+
573
+ <span id=""></span>
574
+ <div class="method_details first">
575
+ <h3 class="signature first" id="cookie_defaults-instance_method">
576
+
577
+ #<strong>cookie_defaults</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
578
+
579
+
580
+
581
+
582
+
583
+ </h3><div class="docstring">
584
+ <div class="discussion">
579
585
  <p>Returns the value of attribute cookie_defaults</p>
580
-
581
-
582
- </div>
583
- </div>
584
- <div class="tags">
585
-
586
-
587
- </div><table class="source_code">
588
- <tr>
589
- <td>
586
+
587
+
588
+ </div>
589
+ </div>
590
+ <div class="tags">
591
+
592
+
593
+ </div><table class="source_code">
594
+ <tr>
595
+ <td>
590
596
  <pre class="lines">
591
597
 
592
598
 
593
599
  78
594
600
  79
595
- 80</pre>
596
- </td>
597
- <td>
601
+ 80</pre>
602
+ </td>
603
+ <td>
598
604
  <pre class="code"><span class="info file"># File 'lib/utopia/session.rb', line 78</span>
599
605
 
600
606
  <span class='kw'>def</span> <span class='id identifier rubyid_cookie_defaults'>cookie_defaults</span>
601
607
  <span class='ivar'>@cookie_defaults</span>
602
- <span class='kw'>end</span></pre>
603
- </td>
604
- </tr>
605
- </table>
606
- </div>
607
-
608
-
609
- <span id=""></span>
610
- <div class="method_details ">
611
- <h3 class="signature " id="cookie_name-instance_method">
612
-
613
- #<strong>cookie_name</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
614
-
615
-
616
-
617
-
618
-
619
- </h3><div class="docstring">
620
- <div class="discussion">
608
+ <span class='kw'>end</span></pre>
609
+ </td>
610
+ </tr>
611
+ </table>
612
+ </div>
613
+
614
+
615
+ <span id=""></span>
616
+ <div class="method_details ">
617
+ <h3 class="signature " id="cookie_name-instance_method">
618
+
619
+ #<strong>cookie_name</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
620
+
621
+
622
+
623
+
624
+
625
+ </h3><div class="docstring">
626
+ <div class="discussion">
621
627
  <p>Returns the value of attribute cookie_name</p>
622
-
623
-
624
- </div>
625
- </div>
626
- <div class="tags">
627
-
628
-
629
- </div><table class="source_code">
630
- <tr>
631
- <td>
628
+
629
+
630
+ </div>
631
+ </div>
632
+ <div class="tags">
633
+
634
+
635
+ </div><table class="source_code">
636
+ <tr>
637
+ <td>
632
638
  <pre class="lines">
633
639
 
634
640
 
635
641
  72
636
642
  73
637
- 74</pre>
638
- </td>
639
- <td>
643
+ 74</pre>
644
+ </td>
645
+ <td>
640
646
  <pre class="code"><span class="info file"># File 'lib/utopia/session.rb', line 72</span>
641
647
 
642
648
  <span class='kw'>def</span> <span class='id identifier rubyid_cookie_name'>cookie_name</span>
643
649
  <span class='ivar'>@cookie_name</span>
644
- <span class='kw'>end</span></pre>
645
- </td>
646
- </tr>
647
- </table>
648
- </div>
649
-
650
-
651
- <span id=""></span>
652
- <div class="method_details ">
653
- <h3 class="signature " id="expires_after-instance_method">
654
-
655
- #<strong>expires_after</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
656
-
657
-
658
-
659
-
660
-
661
- </h3><div class="docstring">
662
- <div class="discussion">
650
+ <span class='kw'>end</span></pre>
651
+ </td>
652
+ </tr>
653
+ </table>
654
+ </div>
655
+
656
+
657
+ <span id=""></span>
658
+ <div class="method_details ">
659
+ <h3 class="signature " id="expires_after-instance_method">
660
+
661
+ #<strong>expires_after</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
662
+
663
+
664
+
665
+
666
+
667
+ </h3><div class="docstring">
668
+ <div class="discussion">
663
669
  <p>Returns the value of attribute expires_after</p>
664
-
665
-
666
- </div>
667
- </div>
668
- <div class="tags">
669
-
670
-
671
- </div><table class="source_code">
672
- <tr>
673
- <td>
670
+
671
+
672
+ </div>
673
+ </div>
674
+ <div class="tags">
675
+
676
+
677
+ </div><table class="source_code">
678
+ <tr>
679
+ <td>
674
680
  <pre class="lines">
675
681
 
676
682
 
677
683
  75
678
684
  76
679
- 77</pre>
680
- </td>
681
- <td>
685
+ 77</pre>
686
+ </td>
687
+ <td>
682
688
  <pre class="code"><span class="info file"># File 'lib/utopia/session.rb', line 75</span>
683
689
 
684
690
  <span class='kw'>def</span> <span class='id identifier rubyid_expires_after'>expires_after</span>
685
691
  <span class='ivar'>@expires_after</span>
686
- <span class='kw'>end</span></pre>
687
- </td>
688
- </tr>
689
- </table>
690
- </div>
691
-
692
-
693
- <span id=""></span>
694
- <div class="method_details ">
695
- <h3 class="signature " id="key-instance_method">
696
-
697
- #<strong>key</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
698
-
699
-
700
-
701
-
702
-
703
- </h3><div class="docstring">
704
- <div class="discussion">
692
+ <span class='kw'>end</span></pre>
693
+ </td>
694
+ </tr>
695
+ </table>
696
+ </div>
697
+
698
+
699
+ <span id=""></span>
700
+ <div class="method_details ">
701
+ <h3 class="signature " id="key-instance_method">
702
+
703
+ #<strong>key</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
704
+
705
+
706
+
707
+
708
+
709
+ </h3><div class="docstring">
710
+ <div class="discussion">
705
711
  <p>Returns the value of attribute key</p>
706
-
707
-
708
- </div>
709
- </div>
710
- <div class="tags">
711
-
712
-
713
- </div><table class="source_code">
714
- <tr>
715
- <td>
712
+
713
+
714
+ </div>
715
+ </div>
716
+ <div class="tags">
717
+
718
+
719
+ </div><table class="source_code">
720
+ <tr>
721
+ <td>
716
722
  <pre class="lines">
717
723
 
718
724
 
719
725
  73
720
726
  74
721
- 75</pre>
722
- </td>
723
- <td>
727
+ 75</pre>
728
+ </td>
729
+ <td>
724
730
  <pre class="code"><span class="info file"># File 'lib/utopia/session.rb', line 73</span>
725
731
 
726
732
  <span class='kw'>def</span> <span class='id identifier rubyid_key'>key</span>
727
733
  <span class='ivar'>@key</span>
728
- <span class='kw'>end</span></pre>
729
- </td>
730
- </tr>
731
- </table>
732
- </div>
733
-
734
-
735
- <span id=""></span>
736
- <div class="method_details ">
737
- <h3 class="signature " id="update_timeout-instance_method">
738
-
739
- #<strong>update_timeout</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
740
-
741
-
742
-
743
-
744
-
745
- </h3><div class="docstring">
746
- <div class="discussion">
734
+ <span class='kw'>end</span></pre>
735
+ </td>
736
+ </tr>
737
+ </table>
738
+ </div>
739
+
740
+
741
+ <span id=""></span>
742
+ <div class="method_details ">
743
+ <h3 class="signature " id="update_timeout-instance_method">
744
+
745
+ #<strong>update_timeout</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
746
+
747
+
748
+
749
+
750
+
751
+ </h3><div class="docstring">
752
+ <div class="discussion">
747
753
  <p>Returns the value of attribute update_timeout</p>
748
-
749
-
750
- </div>
751
- </div>
752
- <div class="tags">
753
-
754
-
755
- </div><table class="source_code">
756
- <tr>
757
- <td>
754
+
755
+
756
+ </div>
757
+ </div>
758
+ <div class="tags">
759
+
760
+
761
+ </div><table class="source_code">
762
+ <tr>
763
+ <td>
758
764
  <pre class="lines">
759
765
 
760
766
 
761
767
  76
762
768
  77
763
- 78</pre>
764
- </td>
765
- <td>
769
+ 78</pre>
770
+ </td>
771
+ <td>
766
772
  <pre class="code"><span class="info file"># File 'lib/utopia/session.rb', line 76</span>
767
773
 
768
774
  <span class='kw'>def</span> <span class='id identifier rubyid_update_timeout'>update_timeout</span>
769
775
  <span class='ivar'>@update_timeout</span>
770
- <span class='kw'>end</span></pre>
771
- </td>
772
- </tr>
773
- </table>
774
- </div>
775
-
776
- </div>
777
-
778
-
779
- <div id="instance_method_details" class="method_details_list">
780
- <h2>Instance Method Details</h2>
781
-
782
-
783
- <div class="method_details first">
784
- <h3 class="signature first" id="call-instance_method">
785
-
786
- #<strong>call</strong>(env) &#x21d2; <tt>Object</tt>
787
-
788
-
789
-
790
-
791
-
792
- </h3><table class="source_code">
793
- <tr>
794
- <td>
776
+ <span class='kw'>end</span></pre>
777
+ </td>
778
+ </tr>
779
+ </table>
780
+ </div>
781
+
782
+ </div>
783
+
784
+
785
+ <div id="instance_method_details" class="method_details_list">
786
+ <h2>Instance Method Details</h2>
787
+
788
+
789
+ <div class="method_details first">
790
+ <h3 class="signature first" id="call-instance_method">
791
+
792
+ #<strong>call</strong>(env) &#x21d2; <tt>Object</tt>
793
+
794
+
795
+
796
+
797
+
798
+ </h3><table class="source_code">
799
+ <tr>
800
+ <td>
795
801
  <pre class="lines">
796
802
 
797
803
 
@@ -803,9 +809,9 @@
803
809
  97
804
810
  98
805
811
  99
806
- 100</pre>
807
- </td>
808
- <td>
812
+ 100</pre>
813
+ </td>
814
+ <td>
809
815
  <pre class="code"><span class="info file"># File 'lib/utopia/session.rb', line 92</span>
810
816
 
811
817
  <span class='kw'>def</span> <span class='id identifier rubyid_call'>call</span><span class='lparen'>(</span><span class='id identifier rubyid_env'>env</span><span class='rparen'>)</span>
@@ -816,24 +822,24 @@
816
822
  <span class='id identifier rubyid_update_session'>update_session</span><span class='lparen'>(</span><span class='id identifier rubyid_env'>env</span><span class='comma'>,</span> <span class='id identifier rubyid_session_hash'>session_hash</span><span class='comma'>,</span> <span class='id identifier rubyid_headers'>headers</span><span class='rparen'>)</span>
817
823
 
818
824
  <span class='kw'>return</span> <span class='lbracket'>[</span><span class='id identifier rubyid_status'>status</span><span class='comma'>,</span> <span class='id identifier rubyid_headers'>headers</span><span class='comma'>,</span> <span class='id identifier rubyid_body'>body</span><span class='rbracket'>]</span>
819
- <span class='kw'>end</span></pre>
820
- </td>
821
- </tr>
822
- </table>
823
- </div>
824
-
825
- <div class="method_details ">
826
- <h3 class="signature " id="freeze-instance_method">
827
-
828
- #<strong>freeze</strong> &#x21d2; <tt>Object</tt>
829
-
830
-
831
-
832
-
833
-
834
- </h3><table class="source_code">
835
- <tr>
836
- <td>
825
+ <span class='kw'>end</span></pre>
826
+ </td>
827
+ </tr>
828
+ </table>
829
+ </div>
830
+
831
+ <div class="method_details ">
832
+ <h3 class="signature " id="freeze-instance_method">
833
+
834
+ #<strong>freeze</strong> &#x21d2; <tt>Object</tt>
835
+
836
+
837
+
838
+
839
+
840
+ </h3><table class="source_code">
841
+ <tr>
842
+ <td>
837
843
  <pre class="lines">
838
844
 
839
845
 
@@ -847,9 +853,9 @@
847
853
  87
848
854
  88
849
855
  89
850
- 90</pre>
851
- </td>
852
- <td>
856
+ 90</pre>
857
+ </td>
858
+ <td>
853
859
  <pre class="code"><span class="info file"># File 'lib/utopia/session.rb', line 80</span>
854
860
 
855
861
  <span class='kw'>def</span> <span class='id identifier rubyid_freeze'>freeze</span>
@@ -862,22 +868,22 @@
862
868
  <span class='ivar'>@cookie_defaults</span><span class='period'>.</span><span class='id identifier rubyid_freeze'>freeze</span>
863
869
 
864
870
  <span class='kw'>super</span>
865
- <span class='kw'>end</span></pre>
866
- </td>
867
- </tr>
868
- </table>
869
- </div>
870
-
871
- </div>
872
-
873
- </div>
874
-
875
- <div id="footer">
876
- Generated on Sat Mar 24 21:17:20 2018 by
877
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
878
- 0.9.12 (ruby-2.5.0).
879
- </div>
880
-
881
- </div>
882
- </body>
871
+ <span class='kw'>end</span></pre>
872
+ </td>
873
+ </tr>
874
+ </table>
875
+ </div>
876
+
877
+ </div>
878
+
879
+ </div>
880
+
881
+ <div id="footer">
882
+ Generated on Sat Mar 9 12:01:53 2019 by
883
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
884
+ 0.9.18 (ruby-2.6.1).
885
+ </div>
886
+
887
+ </div>
888
+ </body>
883
889
  </html>