mack-caching 0.7.1 → 0.7.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mack-caching
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.1
4
+ version: 0.7.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - markbates
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-09-08 00:00:00 -04:00
12
+ date: 2008-09-14 00:00:00 -04:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -39,23 +39,6 @@ files:
39
39
  - lib/mack-caching.rb
40
40
  - lib/mack-caching_tasks.rb
41
41
  - README
42
- - doc/classes/Mack/Controller/ClassMethods.html
43
- - doc/classes/Mack/Errors/UncacheableError.html
44
- - doc/classes/Mack/SessionStore/Cachetastic.html
45
- - doc/classes/Mack/SessionStore.html
46
- - doc/created.rid
47
- - doc/files/lib/mack-caching/errors_rb.html
48
- - doc/files/lib/mack-caching/page_caching/controller_extensions_rb.html
49
- - doc/files/lib/mack-caching/page_caching/page_caching_rb.html
50
- - doc/files/lib/mack-caching/sessions/cachetastic_session_store_rb.html
51
- - doc/files/lib/mack-caching_rb.html
52
- - doc/files/lib/mack-caching_tasks_rb.html
53
- - doc/files/README.html
54
- - doc/fr_class_index.html
55
- - doc/fr_file_index.html
56
- - doc/fr_method_index.html
57
- - doc/index.html
58
- - doc/rdoc-style.css
59
42
  has_rdoc: true
60
43
  homepage: http://www.mackframework.com
61
44
  post_install_message:
@@ -1,151 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
- <head>
8
- <title>Module: Mack::Controller::ClassMethods</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
- <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
12
- <script type="text/javascript">
13
- // <![CDATA[
14
-
15
- function popupCode( url ) {
16
- window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
- }
18
-
19
- function toggleCode( id ) {
20
- if ( document.getElementById )
21
- elem = document.getElementById( id );
22
- else if ( document.all )
23
- elem = eval( "document.all." + id );
24
- else
25
- return false;
26
-
27
- elemStyle = elem.style;
28
-
29
- if ( elemStyle.display != "block" ) {
30
- elemStyle.display = "block"
31
- } else {
32
- elemStyle.display = "none"
33
- }
34
-
35
- return true;
36
- }
37
-
38
- // Make codeblocks hidden by default
39
- document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
-
41
- // ]]>
42
- </script>
43
-
44
- </head>
45
- <body>
46
-
47
-
48
-
49
- <div id="classHeader">
50
- <table class="header-table">
51
- <tr class="top-aligned-row">
52
- <td><strong>Module</strong></td>
53
- <td class="class-name-in-header">Mack::Controller::ClassMethods</td>
54
- </tr>
55
- <tr class="top-aligned-row">
56
- <td><strong>In:</strong></td>
57
- <td>
58
- <a href="../../../files/lib/mack-caching/page_caching/controller_extensions_rb.html">
59
- lib/mack-caching/page_caching/controller_extensions.rb
60
- </a>
61
- <br />
62
- </td>
63
- </tr>
64
-
65
- </table>
66
- </div>
67
- <!-- banner header -->
68
-
69
- <div id="bodyContent">
70
-
71
-
72
-
73
- <div id="contextContent">
74
-
75
-
76
-
77
- </div>
78
-
79
- <div id="method-list">
80
- <h3 class="section-bar">Methods</h3>
81
-
82
- <div class="name-list">
83
- <a href="#M000005">cache_pages</a>&nbsp;&nbsp;
84
- </div>
85
- </div>
86
-
87
- </div>
88
-
89
-
90
- <!-- if includes -->
91
-
92
- <div id="section">
93
-
94
-
95
-
96
-
97
-
98
-
99
-
100
-
101
- <!-- if method_list -->
102
- <div id="methods">
103
- <h3 class="section-bar">Public Instance methods</h3>
104
-
105
- <div id="method-M000005" class="method-detail">
106
- <a name="M000005"></a>
107
-
108
- <div class="method-heading">
109
- <a href="#M000005" class="method-signature">
110
- <span class="method-name">cache_pages</span><span class="method-args">(options = {})</span>
111
- </a>
112
- </div>
113
-
114
- <div class="method-description">
115
- <p>
116
- Used to define which pages you would or would not like cached.
117
- </p>
118
- <p>
119
- Examples:
120
- </p>
121
- <pre>
122
- cache_pages # =&gt; will cache all pages for a controller
123
- cache_pages :only =&gt; [:index, :show] # =&gt; will only cache the index and show pages for a controller
124
- cache_pages :except =&gt; [:delete] # =&gt; will cache all pages except for the delete page for a controller
125
- </pre>
126
- <p><a class="source-toggle" href="#"
127
- onclick="toggleCode('M000005-source');return false;">[Source]</a></p>
128
- <div class="method-source-code" id="M000005-source">
129
- <pre>
130
- <span class="ruby-comment cmt"># File lib/mack-caching/page_caching/controller_extensions.rb, line 13</span>
131
- 13: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">cache_pages</span>(<span class="ruby-identifier">options</span> = {})
132
- 14: <span class="ruby-identifier">before_filter</span> <span class="ruby-identifier">:set_page_cache_header</span>, <span class="ruby-identifier">options</span>
133
- 15: <span class="ruby-keyword kw">end</span>
134
- </pre>
135
- </div>
136
- </div>
137
- </div>
138
-
139
-
140
- </div>
141
-
142
-
143
- </div>
144
-
145
-
146
- <div id="validator-badges">
147
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
148
- </div>
149
-
150
- </body>
151
- </html>
@@ -1,117 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
- <head>
8
- <title>Class: Mack::Errors::UncacheableError</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
- <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
12
- <script type="text/javascript">
13
- // <![CDATA[
14
-
15
- function popupCode( url ) {
16
- window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
- }
18
-
19
- function toggleCode( id ) {
20
- if ( document.getElementById )
21
- elem = document.getElementById( id );
22
- else if ( document.all )
23
- elem = eval( "document.all." + id );
24
- else
25
- return false;
26
-
27
- elemStyle = elem.style;
28
-
29
- if ( elemStyle.display != "block" ) {
30
- elemStyle.display = "block"
31
- } else {
32
- elemStyle.display = "none"
33
- }
34
-
35
- return true;
36
- }
37
-
38
- // Make codeblocks hidden by default
39
- document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
-
41
- // ]]>
42
- </script>
43
-
44
- </head>
45
- <body>
46
-
47
-
48
-
49
- <div id="classHeader">
50
- <table class="header-table">
51
- <tr class="top-aligned-row">
52
- <td><strong>Class</strong></td>
53
- <td class="class-name-in-header">Mack::Errors::UncacheableError</td>
54
- </tr>
55
- <tr class="top-aligned-row">
56
- <td><strong>In:</strong></td>
57
- <td>
58
- <a href="../../../files/lib/mack-caching/errors_rb.html">
59
- lib/mack-caching/errors.rb
60
- </a>
61
- <br />
62
- </td>
63
- </tr>
64
-
65
- <tr class="top-aligned-row">
66
- <td><strong>Parent:</strong></td>
67
- <td>
68
- StandardError
69
- </td>
70
- </tr>
71
- </table>
72
- </div>
73
- <!-- banner header -->
74
-
75
- <div id="bodyContent">
76
-
77
-
78
-
79
- <div id="contextContent">
80
-
81
- <div id="description">
82
- <p>
83
- Thrown when a page is uncacheable
84
- </p>
85
-
86
- </div>
87
-
88
-
89
- </div>
90
-
91
-
92
- </div>
93
-
94
-
95
- <!-- if includes -->
96
-
97
- <div id="section">
98
-
99
-
100
-
101
-
102
-
103
-
104
-
105
-
106
- <!-- if method_list -->
107
-
108
-
109
- </div>
110
-
111
-
112
- <div id="validator-badges">
113
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
114
- </div>
115
-
116
- </body>
117
- </html>
@@ -1,218 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
- <head>
8
- <title>Class: Mack::SessionStore::Cachetastic</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
- <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
12
- <script type="text/javascript">
13
- // <![CDATA[
14
-
15
- function popupCode( url ) {
16
- window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
- }
18
-
19
- function toggleCode( id ) {
20
- if ( document.getElementById )
21
- elem = document.getElementById( id );
22
- else if ( document.all )
23
- elem = eval( "document.all." + id );
24
- else
25
- return false;
26
-
27
- elemStyle = elem.style;
28
-
29
- if ( elemStyle.display != "block" ) {
30
- elemStyle.display = "block"
31
- } else {
32
- elemStyle.display = "none"
33
- }
34
-
35
- return true;
36
- }
37
-
38
- // Make codeblocks hidden by default
39
- document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
-
41
- // ]]>
42
- </script>
43
-
44
- </head>
45
- <body>
46
-
47
-
48
-
49
- <div id="classHeader">
50
- <table class="header-table">
51
- <tr class="top-aligned-row">
52
- <td><strong>Class</strong></td>
53
- <td class="class-name-in-header">Mack::SessionStore::Cachetastic</td>
54
- </tr>
55
- <tr class="top-aligned-row">
56
- <td><strong>In:</strong></td>
57
- <td>
58
- <a href="../../../files/lib/mack-caching/sessions/cachetastic_session_store_rb.html">
59
- lib/mack-caching/sessions/cachetastic_session_store.rb
60
- </a>
61
- <br />
62
- </td>
63
- </tr>
64
-
65
- <tr class="top-aligned-row">
66
- <td><strong>Parent:</strong></td>
67
- <td>
68
- Mack::SessionStore::Base
69
- </td>
70
- </tr>
71
- </table>
72
- </div>
73
- <!-- banner header -->
74
-
75
- <div id="bodyContent">
76
-
77
-
78
-
79
- <div id="contextContent">
80
-
81
-
82
-
83
- </div>
84
-
85
- <div id="method-list">
86
- <h3 class="section-bar">Methods</h3>
87
-
88
- <div class="name-list">
89
- <a href="#M000003">expire</a>&nbsp;&nbsp;
90
- <a href="#M000004">expire_all</a>&nbsp;&nbsp;
91
- <a href="#M000001">get</a>&nbsp;&nbsp;
92
- <a href="#M000002">set</a>&nbsp;&nbsp;
93
- </div>
94
- </div>
95
-
96
- </div>
97
-
98
-
99
- <!-- if includes -->
100
-
101
- <div id="section">
102
-
103
-
104
-
105
-
106
-
107
-
108
-
109
-
110
- <!-- if method_list -->
111
- <div id="methods">
112
- <h3 class="section-bar">Public Class methods</h3>
113
-
114
- <div id="method-M000003" class="method-detail">
115
- <a name="M000003"></a>
116
-
117
- <div class="method-heading">
118
- <a href="#M000003" class="method-signature">
119
- <span class="method-name">expire</span><span class="method-args">(id, *args)</span>
120
- </a>
121
- </div>
122
-
123
- <div class="method-description">
124
- <p><a class="source-toggle" href="#"
125
- onclick="toggleCode('M000003-source');return false;">[Source]</a></p>
126
- <div class="method-source-code" id="M000003-source">
127
- <pre>
128
- <span class="ruby-comment cmt"># File lib/mack-caching/sessions/cachetastic_session_store.rb, line 15</span>
129
- 15: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">expire</span>(<span class="ruby-identifier">id</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
130
- 16: <span class="ruby-operator">::</span><span class="ruby-constant">Cachetastic</span><span class="ruby-operator">::</span><span class="ruby-constant">Caches</span><span class="ruby-operator">::</span><span class="ruby-constant">MackSessionCache</span>.<span class="ruby-identifier">delete</span>(<span class="ruby-identifier">id</span>)
131
- 17: <span class="ruby-keyword kw">end</span>
132
- </pre>
133
- </div>
134
- </div>
135
- </div>
136
-
137
- <div id="method-M000004" class="method-detail">
138
- <a name="M000004"></a>
139
-
140
- <div class="method-heading">
141
- <a href="#M000004" class="method-signature">
142
- <span class="method-name">expire_all</span><span class="method-args">()</span>
143
- </a>
144
- </div>
145
-
146
- <div class="method-description">
147
- <p><a class="source-toggle" href="#"
148
- onclick="toggleCode('M000004-source');return false;">[Source]</a></p>
149
- <div class="method-source-code" id="M000004-source">
150
- <pre>
151
- <span class="ruby-comment cmt"># File lib/mack-caching/sessions/cachetastic_session_store.rb, line 19</span>
152
- 19: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">expire_all</span>
153
- 20: <span class="ruby-operator">::</span><span class="ruby-constant">Cachetastic</span><span class="ruby-operator">::</span><span class="ruby-constant">Caches</span><span class="ruby-operator">::</span><span class="ruby-constant">MackSessionCache</span>.<span class="ruby-identifier">expire_all</span>
154
- 21: <span class="ruby-keyword kw">end</span>
155
- </pre>
156
- </div>
157
- </div>
158
- </div>
159
-
160
- <div id="method-M000001" class="method-detail">
161
- <a name="M000001"></a>
162
-
163
- <div class="method-heading">
164
- <a href="#M000001" class="method-signature">
165
- <span class="method-name">get</span><span class="method-args">(id, request, response, cookies)</span>
166
- </a>
167
- </div>
168
-
169
- <div class="method-description">
170
- <p><a class="source-toggle" href="#"
171
- onclick="toggleCode('M000001-source');return false;">[Source]</a></p>
172
- <div class="method-source-code" id="M000001-source">
173
- <pre>
174
- <span class="ruby-comment cmt"># File lib/mack-caching/sessions/cachetastic_session_store.rb, line 7</span>
175
- 7: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get</span>(<span class="ruby-identifier">id</span>, <span class="ruby-identifier">request</span>, <span class="ruby-identifier">response</span>, <span class="ruby-identifier">cookies</span>)
176
- 8: <span class="ruby-operator">::</span><span class="ruby-constant">Cachetastic</span><span class="ruby-operator">::</span><span class="ruby-constant">Caches</span><span class="ruby-operator">::</span><span class="ruby-constant">MackSessionCache</span>.<span class="ruby-identifier">get</span>(<span class="ruby-identifier">id</span>)
177
- 9: <span class="ruby-keyword kw">end</span>
178
- </pre>
179
- </div>
180
- </div>
181
- </div>
182
-
183
- <div id="method-M000002" class="method-detail">
184
- <a name="M000002"></a>
185
-
186
- <div class="method-heading">
187
- <a href="#M000002" class="method-signature">
188
- <span class="method-name">set</span><span class="method-args">(id, request, response, cookies)</span>
189
- </a>
190
- </div>
191
-
192
- <div class="method-description">
193
- <p><a class="source-toggle" href="#"
194
- onclick="toggleCode('M000002-source');return false;">[Source]</a></p>
195
- <div class="method-source-code" id="M000002-source">
196
- <pre>
197
- <span class="ruby-comment cmt"># File lib/mack-caching/sessions/cachetastic_session_store.rb, line 11</span>
198
- 11: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">set</span>(<span class="ruby-identifier">id</span>, <span class="ruby-identifier">request</span>, <span class="ruby-identifier">response</span>, <span class="ruby-identifier">cookies</span>)
199
- 12: <span class="ruby-operator">::</span><span class="ruby-constant">Cachetastic</span><span class="ruby-operator">::</span><span class="ruby-constant">Caches</span><span class="ruby-operator">::</span><span class="ruby-constant">MackSessionCache</span>.<span class="ruby-identifier">set</span>(<span class="ruby-identifier">id</span>, <span class="ruby-identifier">request</span>.<span class="ruby-identifier">session</span>)
200
- 13: <span class="ruby-keyword kw">end</span>
201
- </pre>
202
- </div>
203
- </div>
204
- </div>
205
-
206
-
207
- </div>
208
-
209
-
210
- </div>
211
-
212
-
213
- <div id="validator-badges">
214
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
215
- </div>
216
-
217
- </body>
218
- </html>
@@ -1,111 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
- <head>
8
- <title>Module: Mack::SessionStore</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
- <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
12
- <script type="text/javascript">
13
- // <![CDATA[
14
-
15
- function popupCode( url ) {
16
- window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
- }
18
-
19
- function toggleCode( id ) {
20
- if ( document.getElementById )
21
- elem = document.getElementById( id );
22
- else if ( document.all )
23
- elem = eval( "document.all." + id );
24
- else
25
- return false;
26
-
27
- elemStyle = elem.style;
28
-
29
- if ( elemStyle.display != "block" ) {
30
- elemStyle.display = "block"
31
- } else {
32
- elemStyle.display = "none"
33
- }
34
-
35
- return true;
36
- }
37
-
38
- // Make codeblocks hidden by default
39
- document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
-
41
- // ]]>
42
- </script>
43
-
44
- </head>
45
- <body>
46
-
47
-
48
-
49
- <div id="classHeader">
50
- <table class="header-table">
51
- <tr class="top-aligned-row">
52
- <td><strong>Module</strong></td>
53
- <td class="class-name-in-header">Mack::SessionStore</td>
54
- </tr>
55
- <tr class="top-aligned-row">
56
- <td><strong>In:</strong></td>
57
- <td>
58
- <a href="../../files/lib/mack-caching/sessions/cachetastic_session_store_rb.html">
59
- lib/mack-caching/sessions/cachetastic_session_store.rb
60
- </a>
61
- <br />
62
- </td>
63
- </tr>
64
-
65
- </table>
66
- </div>
67
- <!-- banner header -->
68
-
69
- <div id="bodyContent">
70
-
71
-
72
-
73
- <div id="contextContent">
74
-
75
-
76
-
77
- </div>
78
-
79
-
80
- </div>
81
-
82
-
83
- <!-- if includes -->
84
-
85
- <div id="section">
86
-
87
- <div id="class-list">
88
- <h3 class="section-bar">Classes and Modules</h3>
89
-
90
- Class <a href="SessionStore/Cachetastic.html" class="link">Mack::SessionStore::Cachetastic</a><br />
91
-
92
- </div>
93
-
94
-
95
-
96
-
97
-
98
-
99
-
100
- <!-- if method_list -->
101
-
102
-
103
- </div>
104
-
105
-
106
- <div id="validator-badges">
107
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
108
- </div>
109
-
110
- </body>
111
- </html>
data/doc/created.rid DELETED
@@ -1 +0,0 @@
1
- Mon, 08 Sep 2008 10:56:23 -0400