cachetastic 1.0.6 → 1.0.7

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.
Files changed (89) hide show
  1. data/doc/classes/ActiveRecord.html +107 -0
  2. data/doc/classes/ActiveRecord/Base.html +207 -0
  3. data/doc/classes/ActiveRecord/Base.src/M000001.html +25 -0
  4. data/doc/classes/ActiveRecord/Base.src/M000002.html +18 -0
  5. data/doc/classes/ActiveRecord/Base.src/M000003.html +18 -0
  6. data/doc/classes/ActiveRecord/Base.src/M000004.html +18 -0
  7. data/doc/classes/ActiveRecord/Base.src/M000005.html +18 -0
  8. data/doc/classes/Cachetastic.html +119 -0
  9. data/doc/classes/Cachetastic/Caches.html +114 -0
  10. data/doc/classes/Cachetastic/Caches/ActiveRecord.html +105 -0
  11. data/doc/classes/Cachetastic/Caches/Base.html +240 -0
  12. data/doc/classes/Cachetastic/Caches/Base.src/M000033.html +28 -0
  13. data/doc/classes/Cachetastic/Caches/Base.src/M000034.html +32 -0
  14. data/doc/classes/Cachetastic/Caches/Base.src/M000035.html +20 -0
  15. data/doc/classes/Cachetastic/Caches/Base.src/M000036.html +19 -0
  16. data/doc/classes/Cachetastic/Caches/Base.src/M000037.html +18 -0
  17. data/doc/classes/Cachetastic/Caches/Base.src/M000038.html +18 -0
  18. data/doc/classes/Cachetastic/Caches/Base.src/M000039.html +18 -0
  19. data/doc/classes/Cachetastic/Caches/PageCache.html +113 -0
  20. data/doc/classes/Cachetastic/Caches/RailsSessionCache.html +113 -0
  21. data/doc/classes/Cachetastic/Connection.html +186 -0
  22. data/doc/classes/Cachetastic/Connection.src/M000040.html +18 -0
  23. data/doc/classes/Cachetastic/Connection.src/M000041.html +24 -0
  24. data/doc/classes/Cachetastic/Helpers.html +115 -0
  25. data/doc/classes/Cachetastic/Helpers/ActiveRecord.html +165 -0
  26. data/doc/classes/Cachetastic/Helpers/ActiveRecord.src/M000006.html +29 -0
  27. data/doc/classes/Cachetastic/Helpers/ActiveRecord.src/M000007.html +23 -0
  28. data/doc/classes/Cachetastic/Helpers/ActiveRecord.src/M000008.html +18 -0
  29. data/doc/classes/Cachetastic/Logger.html +174 -0
  30. data/doc/classes/Cachetastic/Logger.src/M000042.html +22 -0
  31. data/doc/classes/Cachetastic/Stores.html +113 -0
  32. data/doc/classes/Cachetastic/Stores/Base.html +237 -0
  33. data/doc/classes/Cachetastic/Stores/Base.src/M000028.html +24 -0
  34. data/doc/classes/Cachetastic/Stores/Base.src/M000029.html +18 -0
  35. data/doc/classes/Cachetastic/Stores/Base.src/M000030.html +20 -0
  36. data/doc/classes/Cachetastic/Stores/Base.src/M000031.html +22 -0
  37. data/doc/classes/Cachetastic/Stores/Base.src/M000032.html +21 -0
  38. data/doc/classes/Cachetastic/Stores/LocalMemory.html +233 -0
  39. data/doc/classes/Cachetastic/Stores/LocalMemory.src/M000020.html +18 -0
  40. data/doc/classes/Cachetastic/Stores/LocalMemory.src/M000021.html +18 -0
  41. data/doc/classes/Cachetastic/Stores/LocalMemory.src/M000022.html +18 -0
  42. data/doc/classes/Cachetastic/Stores/LocalMemory.src/M000023.html +26 -0
  43. data/doc/classes/Cachetastic/Stores/LocalMemory.src/M000024.html +18 -0
  44. data/doc/classes/Cachetastic/Stores/LocalMemory.src/M000025.html +25 -0
  45. data/doc/classes/Cachetastic/Stores/LocalMemory/StoreObject.html +177 -0
  46. data/doc/classes/Cachetastic/Stores/LocalMemory/StoreObject.src/M000026.html +27 -0
  47. data/doc/classes/Cachetastic/Stores/LocalMemory/StoreObject.src/M000027.html +19 -0
  48. data/doc/classes/Cachetastic/Stores/Memcache.html +309 -0
  49. data/doc/classes/Cachetastic/Stores/Memcache.src/M000009.html +19 -0
  50. data/doc/classes/Cachetastic/Stores/Memcache.src/M000010.html +18 -0
  51. data/doc/classes/Cachetastic/Stores/Memcache.src/M000011.html +18 -0
  52. data/doc/classes/Cachetastic/Stores/Memcache.src/M000012.html +18 -0
  53. data/doc/classes/Cachetastic/Stores/Memcache.src/M000013.html +18 -0
  54. data/doc/classes/Cachetastic/Stores/Memcache.src/M000014.html +18 -0
  55. data/doc/classes/Cachetastic/Stores/Memcache.src/M000015.html +19 -0
  56. data/doc/classes/Cachetastic/Stores/Memcache.src/M000016.html +24 -0
  57. data/doc/classes/Cachetastic/Stores/Memcache.src/M000017.html +20 -0
  58. data/doc/classes/Cachetastic/Stores/Memcache.src/M000018.html +20 -0
  59. data/doc/classes/Cachetastic/Stores/Memcache.src/M000019.html +24 -0
  60. data/doc/created.rid +1 -0
  61. data/doc/files/init_rb.html +101 -0
  62. data/doc/files/lib/caches/cachetastic_caches_base_rb.html +101 -0
  63. data/doc/files/lib/caches/cachetastic_caches_page_cache_rb.html +101 -0
  64. data/doc/files/lib/caches/cachetastic_caches_rails_session_cache_rb.html +101 -0
  65. data/doc/files/lib/cachetastic_connection_rb.html +107 -0
  66. data/doc/files/lib/cachetastic_logger_rb.html +107 -0
  67. data/doc/files/lib/cachetastic_rb.html +233 -0
  68. data/doc/files/lib/helpers/cachetastic_helpers_active_record_rb.html +101 -0
  69. data/doc/files/lib/rails_extensions/cachetastic_active_record_base_rb.html +101 -0
  70. data/doc/files/lib/rails_extensions/cgi_session_cachetastic_store_rb.html +109 -0
  71. data/doc/files/lib/stores/cachetastic_stores_base_rb.html +101 -0
  72. data/doc/files/lib/stores/cachetastic_stores_local_memory_rb.html +101 -0
  73. data/doc/files/lib/stores/cachetastic_stores_memcache_rb.html +101 -0
  74. data/doc/fr_class_index.html +43 -0
  75. data/doc/fr_file_index.html +39 -0
  76. data/doc/fr_method_index.html +68 -0
  77. data/doc/index.html +24 -0
  78. data/doc/rdoc-style.css +208 -0
  79. data/init.rb +3 -1
  80. data/lib/caches/cachetastic_caches_base.rb +3 -0
  81. data/lib/caches/cachetastic_caches_page_cache.rb +2 -1
  82. data/lib/caches/cachetastic_caches_rails_session_cache.rb +2 -1
  83. data/lib/cachetastic.rb +5 -0
  84. data/lib/cachetastic_connection.rb +4 -3
  85. data/lib/cachetastic_logger.rb +1 -0
  86. data/lib/stores/cachetastic_stores_base.rb +0 -17
  87. data/lib/stores/cachetastic_stores_memcache.rb +1 -90
  88. data/lib/tasks/rubyforge_config.yml +1 -1
  89. metadata +91 -3
@@ -0,0 +1,28 @@
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>
7
+ <head>
8
+ <title>get (Cachetastic::Caches::Base)</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
+ <link rel="stylesheet" href="../../../.././rdoc-style.css" type="text/css" media="screen" />
11
+ </head>
12
+ <body class="standalone-code">
13
+ <pre><span class="ruby-comment cmt"># File lib/caches/cachetastic_caches_base.rb, line 9</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get</span>(<span class="ruby-identifier">key</span>)
15
+ <span class="ruby-identifier">res</span> = <span class="ruby-keyword kw">nil</span>
16
+ <span class="ruby-identifier">do_with_logging</span>(<span class="ruby-identifier">:get</span>, <span class="ruby-identifier">key</span>) <span class="ruby-keyword kw">do</span>
17
+ <span class="ruby-identifier">res</span> = <span class="ruby-identifier">store</span>.<span class="ruby-identifier">get</span>(<span class="ruby-identifier">key</span>.<span class="ruby-identifier">to_s</span>)
18
+ <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">res</span>.<span class="ruby-identifier">nil?</span>
19
+ <span class="ruby-identifier">res</span> = <span class="ruby-keyword kw">yield</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">block_given?</span>
20
+ <span class="ruby-keyword kw">else</span>
21
+ <span class="ruby-identifier">res</span> = <span class="ruby-identifier">unmarshall</span>(<span class="ruby-identifier">res</span>)
22
+ <span class="ruby-keyword kw">end</span>
23
+ <span class="ruby-identifier">res</span>
24
+ <span class="ruby-keyword kw">end</span>
25
+ <span class="ruby-identifier">res</span>
26
+ <span class="ruby-keyword kw">end</span></pre>
27
+ </body>
28
+ </html>
@@ -0,0 +1,32 @@
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>
7
+ <head>
8
+ <title>set (Cachetastic::Caches::Base)</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
+ <link rel="stylesheet" href="../../../.././rdoc-style.css" type="text/css" media="screen" />
11
+ </head>
12
+ <body class="standalone-code">
13
+ <pre><span class="ruby-comment cmt"># File lib/caches/cachetastic_caches_base.rb, line 23</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">set</span>(<span class="ruby-identifier">key</span>, <span class="ruby-identifier">value</span>, <span class="ruby-identifier">expiry</span> = (<span class="ruby-identifier">store</span>.<span class="ruby-identifier">all_options</span>[<span class="ruby-value str">&quot;default_expiry&quot;</span>] <span class="ruby-operator">||</span> <span class="ruby-value">0</span>))
15
+ <span class="ruby-identifier">do_with_logging</span>(<span class="ruby-identifier">:set</span>, <span class="ruby-identifier">key</span>) <span class="ruby-keyword kw">do</span>
16
+ <span class="ruby-identifier">exp_swing</span> = <span class="ruby-identifier">store</span>.<span class="ruby-identifier">all_options</span>[<span class="ruby-value str">&quot;expiry_swing&quot;</span>]
17
+ <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">exp_swing</span>
18
+ <span class="ruby-identifier">swing</span> = <span class="ruby-identifier">rand</span>(<span class="ruby-identifier">exp_swing</span>.<span class="ruby-identifier">to_i</span>)
19
+ <span class="ruby-keyword kw">case</span> <span class="ruby-identifier">rand</span>(<span class="ruby-value">2</span>)
20
+ <span class="ruby-keyword kw">when</span> <span class="ruby-value">0</span>
21
+ <span class="ruby-identifier">expiry</span> = (<span class="ruby-identifier">expiry</span>.<span class="ruby-identifier">to_i</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">swing</span>)
22
+ <span class="ruby-keyword kw">when</span> <span class="ruby-value">1</span>
23
+ <span class="ruby-identifier">expiry</span> = (<span class="ruby-identifier">expiry</span>.<span class="ruby-identifier">to_i</span> <span class="ruby-operator">-</span> <span class="ruby-identifier">swing</span>)
24
+ <span class="ruby-keyword kw">end</span>
25
+ <span class="ruby-keyword kw">end</span>
26
+ <span class="ruby-identifier">store</span>.<span class="ruby-identifier">set</span>(<span class="ruby-identifier">key</span>.<span class="ruby-identifier">to_s</span>, <span class="ruby-identifier">marshall</span>(<span class="ruby-identifier">value</span>), <span class="ruby-identifier">expiry</span>.<span class="ruby-identifier">to_i</span>)
27
+ <span class="ruby-identifier">logger</span>.<span class="ruby-identifier">info</span>(<span class="ruby-value str">''</span>, <span class="ruby-value str">''</span>, <span class="ruby-identifier">:expiry</span>, <span class="ruby-identifier">cache_name</span>, <span class="ruby-identifier">key</span>, <span class="ruby-identifier">expiry</span>.<span class="ruby-identifier">to_i</span>)
28
+ <span class="ruby-identifier">value</span>
29
+ <span class="ruby-keyword kw">end</span>
30
+ <span class="ruby-keyword kw">end</span></pre>
31
+ </body>
32
+ </html>
@@ -0,0 +1,20 @@
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>
7
+ <head>
8
+ <title>delete (Cachetastic::Caches::Base)</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
+ <link rel="stylesheet" href="../../../.././rdoc-style.css" type="text/css" media="screen" />
11
+ </head>
12
+ <body class="standalone-code">
13
+ <pre><span class="ruby-comment cmt"># File lib/caches/cachetastic_caches_base.rb, line 43</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">delete</span>(<span class="ruby-identifier">key</span>, <span class="ruby-identifier">delay</span> = <span class="ruby-value">0</span>)
15
+ <span class="ruby-identifier">do_with_logging</span>(<span class="ruby-identifier">:delete</span>, <span class="ruby-identifier">key</span>) <span class="ruby-keyword kw">do</span>
16
+ <span class="ruby-identifier">store</span>.<span class="ruby-identifier">delete</span>(<span class="ruby-identifier">key</span>.<span class="ruby-identifier">to_s</span>, <span class="ruby-identifier">delay</span>)
17
+ <span class="ruby-keyword kw">end</span>
18
+ <span class="ruby-keyword kw">end</span></pre>
19
+ </body>
20
+ </html>
@@ -0,0 +1,19 @@
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>
7
+ <head>
8
+ <title>expire_all (Cachetastic::Caches::Base)</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
+ <link rel="stylesheet" href="../../../.././rdoc-style.css" type="text/css" media="screen" />
11
+ </head>
12
+ <body class="standalone-code">
13
+ <pre><span class="ruby-comment cmt"># File lib/caches/cachetastic_caches_base.rb, line 49</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">expire_all</span>
15
+ <span class="ruby-identifier">store</span>.<span class="ruby-identifier">expire_all</span>
16
+ <span class="ruby-identifier">logger</span>.<span class="ruby-identifier">info</span>(<span class="ruby-value str">''</span>, <span class="ruby-value str">''</span>, <span class="ruby-identifier">:expired</span>, <span class="ruby-identifier">cache_name</span>)
17
+ <span class="ruby-keyword kw">end</span></pre>
18
+ </body>
19
+ </html>
@@ -0,0 +1,18 @@
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>
7
+ <head>
8
+ <title>cache_name (Cachetastic::Caches::Base)</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
+ <link rel="stylesheet" href="../../../.././rdoc-style.css" type="text/css" media="screen" />
11
+ </head>
12
+ <body class="standalone-code">
13
+ <pre><span class="ruby-comment cmt"># File lib/caches/cachetastic_caches_base.rb, line 54</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">cache_name</span>
15
+ <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">name</span>.<span class="ruby-identifier">methodize</span>
16
+ <span class="ruby-keyword kw">end</span></pre>
17
+ </body>
18
+ </html>
@@ -0,0 +1,18 @@
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>
7
+ <head>
8
+ <title>store (Cachetastic::Caches::Base)</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
+ <link rel="stylesheet" href="../../../.././rdoc-style.css" type="text/css" media="screen" />
11
+ </head>
12
+ <body class="standalone-code">
13
+ <pre><span class="ruby-comment cmt"># File lib/caches/cachetastic_caches_base.rb, line 58</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">store</span>
15
+ <span class="ruby-identifier">cache_conn_instance</span>.<span class="ruby-identifier">get</span>(<span class="ruby-identifier">cache_name</span>)
16
+ <span class="ruby-keyword kw">end</span></pre>
17
+ </body>
18
+ </html>
@@ -0,0 +1,18 @@
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>
7
+ <head>
8
+ <title>logger (Cachetastic::Caches::Base)</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
+ <link rel="stylesheet" href="../../../.././rdoc-style.css" type="text/css" media="screen" />
11
+ </head>
12
+ <body class="standalone-code">
13
+ <pre><span class="ruby-comment cmt"># File lib/caches/cachetastic_caches_base.rb, line 62</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">logger</span>
15
+ <span class="ruby-identifier">store</span>.<span class="ruby-identifier">logger</span>
16
+ <span class="ruby-keyword kw">end</span></pre>
17
+ </body>
18
+ </html>
@@ -0,0 +1,113 @@
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: Cachetastic::Caches::PageCache</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">Cachetastic::Caches::PageCache</td>
54
+ </tr>
55
+ <tr class="top-aligned-row">
56
+ <td><strong>In:</strong></td>
57
+ <td>
58
+ <a href="../../../files/lib/caches/cachetastic_caches_page_cache_rb.html">
59
+ lib/caches/cachetastic_caches_page_cache.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
+ <a href="Base.html">
69
+ Cachetastic::Caches::Base
70
+ </a>
71
+ </td>
72
+ </tr>
73
+ </table>
74
+ </div>
75
+ <!-- banner header -->
76
+
77
+ <div id="bodyContent">
78
+
79
+
80
+
81
+ <div id="contextContent">
82
+
83
+
84
+
85
+ </div>
86
+
87
+
88
+ </div>
89
+
90
+
91
+ <!-- if includes -->
92
+
93
+ <div id="section">
94
+
95
+
96
+
97
+
98
+
99
+
100
+
101
+
102
+ <!-- if method_list -->
103
+
104
+
105
+ </div>
106
+
107
+
108
+ <div id="validator-badges">
109
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
110
+ </div>
111
+
112
+ </body>
113
+ </html>
@@ -0,0 +1,113 @@
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: Cachetastic::Caches::RailsSessionCache</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">Cachetastic::Caches::RailsSessionCache</td>
54
+ </tr>
55
+ <tr class="top-aligned-row">
56
+ <td><strong>In:</strong></td>
57
+ <td>
58
+ <a href="../../../files/lib/caches/cachetastic_caches_rails_session_cache_rb.html">
59
+ lib/caches/cachetastic_caches_rails_session_cache.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
+ <a href="Base.html">
69
+ Cachetastic::Caches::Base
70
+ </a>
71
+ </td>
72
+ </tr>
73
+ </table>
74
+ </div>
75
+ <!-- banner header -->
76
+
77
+ <div id="bodyContent">
78
+
79
+
80
+
81
+ <div id="contextContent">
82
+
83
+
84
+
85
+ </div>
86
+
87
+
88
+ </div>
89
+
90
+
91
+ <!-- if includes -->
92
+
93
+ <div id="section">
94
+
95
+
96
+
97
+
98
+
99
+
100
+
101
+
102
+ <!-- if method_list -->
103
+
104
+
105
+ </div>
106
+
107
+
108
+ <div id="validator-badges">
109
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
110
+ </div>
111
+
112
+ </body>
113
+ </html>
@@ -0,0 +1,186 @@
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: Cachetastic::Connection</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">Cachetastic::Connection</td>
54
+ </tr>
55
+ <tr class="top-aligned-row">
56
+ <td><strong>In:</strong></td>
57
+ <td>
58
+ <a href="../../files/lib/cachetastic_connection_rb.html">
59
+ lib/cachetastic_connection.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
+ Object
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
+ This class caches store objects for each cache in the system.
84
+ </p>
85
+
86
+ </div>
87
+
88
+
89
+ </div>
90
+
91
+ <div id="method-list">
92
+ <h3 class="section-bar">Methods</h3>
93
+
94
+ <div class="name-list">
95
+ <a href="#M000041">get</a>&nbsp;&nbsp;
96
+ <a href="#M000040">new</a>&nbsp;&nbsp;
97
+ </div>
98
+ </div>
99
+
100
+ </div>
101
+
102
+
103
+ <!-- if includes -->
104
+ <div id="includes">
105
+ <h3 class="section-bar">Included Modules</h3>
106
+
107
+ <div id="includes-list">
108
+ <span class="include-name">Singleton</span>
109
+ </div>
110
+ </div>
111
+
112
+ <div id="section">
113
+
114
+
115
+
116
+
117
+
118
+ <div id="attribute-list">
119
+ <h3 class="section-bar">Attributes</h3>
120
+
121
+ <div class="name-list">
122
+ <table>
123
+ <tr class="top-aligned-row context-row">
124
+ <td class="context-item-name">connections</td>
125
+ <td class="context-item-value">&nbsp;[RW]&nbsp;</td>
126
+ <td class="context-item-desc"></td>
127
+ </tr>
128
+ </table>
129
+ </div>
130
+ </div>
131
+
132
+
133
+
134
+ <!-- if method_list -->
135
+ <div id="methods">
136
+ <h3 class="section-bar">Public Class methods</h3>
137
+
138
+ <div id="method-M000040" class="method-detail">
139
+ <a name="M000040"></a>
140
+
141
+ <div class="method-heading">
142
+ <a href="Connection.src/M000040.html" target="Code" class="method-signature"
143
+ onclick="popupCode('Connection.src/M000040.html');return false;">
144
+ <span class="method-name">new</span><span class="method-args">()</span>
145
+ </a>
146
+ </div>
147
+
148
+ <div class="method-description">
149
+ </div>
150
+ </div>
151
+
152
+ <h3 class="section-bar">Public Instance methods</h3>
153
+
154
+ <div id="method-M000041" class="method-detail">
155
+ <a name="M000041"></a>
156
+
157
+ <div class="method-heading">
158
+ <a href="Connection.src/M000041.html" target="Code" class="method-signature"
159
+ onclick="popupCode('Connection.src/M000041.html');return false;">
160
+ <span class="method-name">get</span><span class="method-args">(name)</span>
161
+ </a>
162
+ </div>
163
+
164
+ <div class="method-description">
165
+ <p>
166
+ Takes the name of the cache and returns back the store object associated
167
+ with the cache. If the store object doesn&#8216;t exist of the the store is
168
+ no longer valid a <a href="Connection.html#M000040">new</a> one is created
169
+ and returned.
170
+ </p>
171
+ </div>
172
+ </div>
173
+
174
+
175
+ </div>
176
+
177
+
178
+ </div>
179
+
180
+
181
+ <div id="validator-badges">
182
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
183
+ </div>
184
+
185
+ </body>
186
+ </html>