cachetastic 2.1.4 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/LICENSE +21 -0
- data/README +57 -43
- data/doc/classes/Cachetastic/Adapters.html +180 -0
- data/doc/classes/Cachetastic/Adapters/Base.html +206 -123
- data/doc/classes/Cachetastic/Adapters/File.html +17 -130
- data/doc/classes/Cachetastic/Adapters/LocalMemory.html +7 -228
- data/doc/classes/Cachetastic/Adapters/Memcached.html +193 -0
- data/doc/classes/Cachetastic/Cache.html +425 -0
- data/doc/classes/Cachetastic/Cacheable.html +26 -30
- data/doc/classes/Cachetastic/Cacheable/ClassAndInstanceMethods.html +66 -62
- data/doc/classes/Cachetastic/Cacheable/ClassOnlyMethods.html +30 -30
- data/doc/classes/Cachetastic/Logger.html +31 -33
- data/doc/created.rid +1 -1
- data/doc/files/{lib/cachetastic/adapters/html_file_rb.html → LICENSE.html} +29 -34
- data/doc/files/README.html +91 -57
- data/doc/files/lib/cachetastic/adapters/base_rb.html +1 -39
- data/doc/files/lib/cachetastic/adapters/file_rb.html +1 -21
- data/doc/files/lib/cachetastic/adapters/local_memory_rb.html +1 -9
- data/doc/files/lib/cachetastic/{ruby_extensions/kernel_rb.html → adapters/memcached_rb.html} +4 -4
- data/doc/files/lib/cachetastic/{ruby_extensions/string_rb.html → cache_rb.html} +5 -5
- data/doc/files/lib/cachetastic/cacheable_rb.html +1 -1
- data/doc/files/lib/cachetastic/{caches/base_rb.html → extensions/string_rb.html} +5 -5
- data/doc/files/lib/cachetastic/logger_rb.html +1 -7
- data/doc/files/lib/cachetastic/{adapters/store_object_rb.html → store_object_rb.html} +3 -3
- data/doc/files/lib/cachetastic_rb.html +4 -95
- data/doc/fr_class_index.html +3 -15
- data/doc/fr_file_index.html +5 -16
- data/doc/fr_method_index.html +26 -78
- data/lib/cachetastic.rb +16 -70
- data/lib/cachetastic/adapters/base.rb +178 -76
- data/lib/cachetastic/adapters/file.rb +63 -46
- data/lib/cachetastic/adapters/local_memory.rb +36 -67
- data/lib/cachetastic/adapters/memcached.rb +114 -0
- data/lib/cachetastic/cache.rb +165 -0
- data/lib/cachetastic/cacheable.rb +19 -15
- data/lib/cachetastic/extensions/string.rb +8 -0
- data/lib/cachetastic/logger.rb +41 -41
- data/lib/cachetastic/store_object.rb +22 -0
- metadata +43 -64
- data/bin/cachetastic_drb_server +0 -115
- data/doc/classes/ActiveRecord/Base.html +0 -194
- data/doc/classes/CGI/Session/CachetasticStore.html +0 -124
- data/doc/classes/Cachetastic/Adapters/Drb.html +0 -332
- data/doc/classes/Cachetastic/Adapters/FileBase.html +0 -309
- data/doc/classes/Cachetastic/Adapters/HtmlFile.html +0 -224
- data/doc/classes/Cachetastic/Adapters/Memcache.html +0 -498
- data/doc/classes/Cachetastic/Caches/Base.html +0 -643
- data/doc/classes/Cachetastic/Caches/Base/RegisteredCaches.html +0 -179
- data/doc/classes/Cachetastic/Caches/MackSessionCache.html +0 -119
- data/doc/classes/Cachetastic/Caches/PageCache.html +0 -121
- data/doc/classes/Cachetastic/Caches/RailsSessionCache.html +0 -154
- data/doc/classes/Cachetastic/Connection.html +0 -212
- data/doc/classes/Cachetastic/Errors/UnsupportedAdapter.html +0 -146
- data/doc/classes/Object.html +0 -222
- data/doc/classes/String.html +0 -172
- data/doc/files/lib/cachetastic/adapters/drb_rb.html +0 -115
- data/doc/files/lib/cachetastic/adapters/file_base_rb.html +0 -109
- data/doc/files/lib/cachetastic/adapters/memcache_rb.html +0 -127
- data/doc/files/lib/cachetastic/caches/mack_session_cache_rb.html +0 -107
- data/doc/files/lib/cachetastic/caches/page_cache_rb.html +0 -109
- data/doc/files/lib/cachetastic/caches/rails_session_cache_rb.html +0 -107
- data/doc/files/lib/cachetastic/connection_rb.html +0 -107
- data/doc/files/lib/cachetastic/errors/unsupported_adapter_rb.html +0 -101
- data/doc/files/lib/cachetastic/rails_extensions/active_record_base_rb.html +0 -101
- data/doc/files/lib/cachetastic/rails_extensions/cgi_session_store_rb.html +0 -109
- data/doc/files/lib/cachetastic/ruby_extensions/object_rb.html +0 -101
- data/lib/cachetastic/adapters/drb.rb +0 -51
- data/lib/cachetastic/adapters/file_base.rb +0 -86
- data/lib/cachetastic/adapters/html_file.rb +0 -68
- data/lib/cachetastic/adapters/memcache.rb +0 -114
- data/lib/cachetastic/adapters/store_object.rb +0 -28
- data/lib/cachetastic/caches/base.rb +0 -238
- data/lib/cachetastic/caches/mack_session_cache.rb +0 -3
- data/lib/cachetastic/caches/page_cache.rb +0 -6
- data/lib/cachetastic/caches/rails_session_cache.rb +0 -12
- data/lib/cachetastic/connection.rb +0 -24
- data/lib/cachetastic/errors/unsupported_adapter.rb +0 -7
- data/lib/cachetastic/rails_extensions/active_record_base.rb +0 -24
- data/lib/cachetastic/rails_extensions/cgi_session_store.rb +0 -59
- data/lib/cachetastic/ruby_extensions/kernel.rb +0 -25
- data/lib/cachetastic/ruby_extensions/object.rb +0 -22
- data/lib/cachetastic/ruby_extensions/string.rb +0 -15
- data/test/active_record_test.rb +0 -89
- data/test/cacheable_test.rb +0 -88
- data/test/cachetastic_unit_test.rb +0 -74
- data/test/config.rb +0 -30
- data/test/drb_adapter_test.rb +0 -14
- data/test/file_adapter_test.rb +0 -49
- data/test/memcache_adapter_test.rb +0 -18
- data/test/test_helper.rb +0 -75
data/doc/files/README.html
CHANGED
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
</tr>
|
|
57
57
|
<tr class="top-aligned-row">
|
|
58
58
|
<td><strong>Last Update:</strong></td>
|
|
59
|
-
<td>
|
|
59
|
+
<td>Fri Jun 05 17:11:09 -0400 2009</td>
|
|
60
60
|
</tr>
|
|
61
61
|
</table>
|
|
62
62
|
</div>
|
|
@@ -69,76 +69,110 @@
|
|
|
69
69
|
<div id="contextContent">
|
|
70
70
|
|
|
71
71
|
<div id="description">
|
|
72
|
-
<h1>
|
|
72
|
+
<h1>What is Cachetastic?</h1>
|
|
73
|
+
<p>
|
|
74
|
+
Cachetastic is an incredibly easy to use and administer caching framework.
|
|
75
|
+
Just because it is easy to use, does not mean that it is light with
|
|
76
|
+
features. Cachetastic allows you to create classes that extend <tt><a
|
|
77
|
+
href="../classes/Cachetastic/Cache.html">Cachetastic::Cache</a></tt>,
|
|
78
|
+
configure them each individually, and much more.
|
|
79
|
+
</p>
|
|
80
|
+
<p>
|
|
81
|
+
Unlike other systems each cache in your system can use different backends
|
|
82
|
+
via the use of adapters that get assigned to each cache, and globally. You
|
|
83
|
+
can define different expiration times, loggers, marshal methods, and more!
|
|
84
|
+
And again, you can choose to define these settings globally, or for each
|
|
85
|
+
cache!
|
|
86
|
+
</p>
|
|
87
|
+
<p>
|
|
88
|
+
Adapters are easy to write, so if the built in adapters don‘t float
|
|
89
|
+
your boat, you can easily knock one off in short order.
|
|
90
|
+
</p>
|
|
91
|
+
<h2>Configuration:</h2>
|
|
92
|
+
<p>
|
|
93
|
+
Configuration of Cachetastic is done using the Configatron gem. I would
|
|
94
|
+
recommend reading the documentation on it first, <a
|
|
95
|
+
href="http://configatron.mackframework.com">configatron.mackframework.com</a>,
|
|
96
|
+
before continuing.
|
|
97
|
+
</p>
|
|
98
|
+
<p>
|
|
99
|
+
All configuration settings hang off of the <tt>cachetastic</tt> namespace
|
|
100
|
+
on <tt>configatron</tt>. The default settings all hang off the
|
|
101
|
+
<tt>defaults</tt> namespace on the <tt>cachetastic</tt> namespace, as shown
|
|
102
|
+
below:
|
|
103
|
+
</p>
|
|
104
|
+
<pre>
|
|
105
|
+
# This will write detailed information to the logger.
|
|
106
|
+
configatron.cachetastic.defaults.debug = false
|
|
107
|
+
|
|
108
|
+
# This is the type of file store to be used for this cache.
|
|
109
|
+
# More adapters can be developed and plugged in as desired.
|
|
110
|
+
# The default is Cachetastic::Adapters::LocalMemory
|
|
111
|
+
configatron.cachetastic.defaults.adapter = Cachetastic::Adapters::LocalMemory
|
|
112
|
+
configatron.cachetastic.defaults.adapter = Cachetastic::Adapters::File
|
|
113
|
+
configatron.cachetastic.defaults.adapter = Cachetastic::Adapters::Memcached
|
|
114
|
+
|
|
115
|
+
# This will marshall objects into and out of the store.
|
|
116
|
+
# The default is :none, except for Cachetastic::Adapters::File, which defaults to :yaml
|
|
117
|
+
configatron.cachetastic.defaults.marshall_method = :none
|
|
118
|
+
configatron.cachetastic.defaults.marshall_method = :yaml
|
|
119
|
+
configatron.cachetastic.defaults.marshall_method = :ruby
|
|
120
|
+
|
|
121
|
+
# This sets how long objects will live in the cache before they are auto expired.
|
|
122
|
+
configatron.cachetastic.defaults.default_expiry = 86400 # time in seconds (default: 24 hours)
|
|
123
|
+
|
|
124
|
+
# When setting objects into the cache the expiry_swing is +/- to the expiry time.
|
|
125
|
+
# Example: if the expiry time is 1 minute, and the swing is 15 seconds,
|
|
126
|
+
# objects will go into the cache with an expiry time sometime between 45 seconds and 75 seconds.
|
|
127
|
+
# The default is 0 seconds.
|
|
128
|
+
configatron.cachetastic.defaults.expiry_swing = 15
|
|
129
|
+
|
|
130
|
+
# Configure logging for the system.
|
|
131
|
+
# n number of logs can be configured for a cache.
|
|
132
|
+
log_1 = Logger.new(STDOUT)
|
|
133
|
+
log_1.level = Logger::DEBUG
|
|
134
|
+
log_2 = Logger.new("log/cachetastic.log")
|
|
135
|
+
log_2.level = Logger::ERROR
|
|
136
|
+
configatron.cachetastic.defaults.logger = [log_1, log_2]
|
|
137
|
+
</pre>
|
|
138
|
+
<p>
|
|
139
|
+
Overriding settings per cache is very simple. Let‘s take the
|
|
140
|
+
following two caches:
|
|
141
|
+
</p>
|
|
73
142
|
<pre>
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
# more adapters can be developed and plugged in as desired
|
|
80
|
-
configatron.cachetastic_default_options.adapter = :local_memory # local_memory | memcache | file | drb | html_file (default: local_memory)
|
|
81
|
-
|
|
82
|
-
# this will marshall objects into and out of the store.
|
|
83
|
-
configatron.cachetastic_default_options.marshall_method = :none # none | yaml | ruby (default: none)
|
|
84
|
-
|
|
85
|
-
# this sets how long objects will live in the cache before they are auto expired.
|
|
86
|
-
configatron.cachetastic_default_options.default_expiry = 86400 # time in seconds (default: 24 hours)
|
|
87
|
-
|
|
88
|
-
# when setting objects into the cache the expiry_swing is +/- to the expiry time.
|
|
89
|
-
# example: if the expiry time is 1 hour, and the swing is 15 minutes,
|
|
90
|
-
# objects will go into the cache with an expiry time sometime between 45 mins and 75 mins.
|
|
91
|
-
configatron.cachetastic_default_options.expiry_swing = 60 * 15 # time in seconds (default: 0)
|
|
92
|
-
|
|
93
|
-
# these options get passed on directly to the store.
|
|
94
|
-
# listed below are options for memcache:
|
|
95
|
-
configatron.cachetastic_default_options.store_options.c_threshold = "10_000"
|
|
96
|
-
configatron.cachetastic_default_options.store_options.compression = true
|
|
97
|
-
configatron.cachetastic_default_options.store_options.debug = false
|
|
98
|
-
configatron.cachetastic_default_options.store_options.readonly = false
|
|
99
|
-
configatron.cachetastic_default_options.store_options.urlencode = false
|
|
100
|
-
|
|
101
|
-
# set the servers to be used for memcache
|
|
102
|
-
configatron.cachetastic_default_options.servers = ["127.0.0.1:11211"] # ip:port used for memcache
|
|
103
|
-
|
|
104
|
-
# listed below are the options for file:
|
|
105
|
-
configatron.cachetastic_default_options.store_options.dir = "/cachetastic/caches"
|
|
106
|
-
|
|
107
|
-
# listed below are the options for drb:
|
|
108
|
-
configatron.cachetastic_default_options.servers = ["druby://127.0.0.1:61676"]
|
|
109
|
-
|
|
110
|
-
# configure logging for this cache
|
|
111
|
-
# n number of logs can be configured for a cache
|
|
112
|
-
log_1 = Logger.new(STDOUT)
|
|
113
|
-
log_1.level = Logger::DEBUG
|
|
114
|
-
log_2 = Logger.new("log/cachetastic.log")
|
|
115
|
-
log_2.level = Logger::ERROR
|
|
116
|
-
configatron.cachetastic_default_options.logger = [log_1, log_2]
|
|
143
|
+
class UserCache < Cachetastic::Cache
|
|
144
|
+
end
|
|
145
|
+
|
|
146
|
+
class Admin::UserCache < Cachetastic::Cache
|
|
147
|
+
end
|
|
117
148
|
</pre>
|
|
118
|
-
<h1>Cachetastic::Drb::Server</h1>
|
|
119
149
|
<p>
|
|
120
|
-
If
|
|
121
|
-
href="../classes/Cachetastic/Adapters/
|
|
122
|
-
adapter
|
|
123
|
-
|
|
124
|
-
|
|
150
|
+
If we wanted to set the <tt>UserCache</tt> to use the <tt><a
|
|
151
|
+
href="../classes/Cachetastic/Adapters/File.html">Cachetastic::Adapters::File</a></tt>
|
|
152
|
+
adapter and we wanted to set the adapter for the <tt>Admin::UserCache</tt>
|
|
153
|
+
to use <tt><a
|
|
154
|
+
href="../classes/Cachetastic/Adapters/Memcached.html">Cachetastic::Adapters::Memcached</a></tt>,
|
|
155
|
+
we would configure them like such:
|
|
125
156
|
</p>
|
|
126
157
|
<pre>
|
|
127
|
-
|
|
158
|
+
configatron.cachetastic.user_cache.adapter = Cachetastic::Adapters::File
|
|
159
|
+
configatron.cachetastic.admin.user_cache.adapter = Cachetastic::Adapters::Memcached
|
|
128
160
|
</pre>
|
|
129
161
|
<p>
|
|
130
|
-
|
|
131
|
-
|
|
162
|
+
In this scenario we have changed the adapters for each of the classes. All
|
|
163
|
+
of the other default settings will remain intact for each of those classes.
|
|
164
|
+
This makes it incredibly easy to just change the one parameter you need,
|
|
165
|
+
and not have to reset them all.
|
|
132
166
|
</p>
|
|
133
|
-
<
|
|
167
|
+
<h2>Examples:</h2>
|
|
134
168
|
<pre>
|
|
135
|
-
class MyAwesomeCache < Cachetastic::
|
|
169
|
+
class MyAwesomeCache < Cachetastic::Cache
|
|
136
170
|
end
|
|
137
171
|
|
|
138
172
|
MyAwesomeCache.set(1, [1,2,3])
|
|
139
173
|
MyAwesomeCache.get(1) # => [1,2,3]
|
|
140
174
|
|
|
141
|
-
class MyAwesomeCache < Cachetastic::
|
|
175
|
+
class MyAwesomeCache < Cachetastic::Cache
|
|
142
176
|
class << self
|
|
143
177
|
def get(key, x, y)
|
|
144
178
|
super(key) do
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
</tr>
|
|
57
57
|
<tr class="top-aligned-row">
|
|
58
58
|
<td><strong>Last Update:</strong></td>
|
|
59
|
-
<td>Fri
|
|
59
|
+
<td>Fri Jun 05 15:42:44 -0400 2009</td>
|
|
60
60
|
</tr>
|
|
61
61
|
</table>
|
|
62
62
|
</div>
|
|
@@ -68,44 +68,6 @@
|
|
|
68
68
|
|
|
69
69
|
<div id="contextContent">
|
|
70
70
|
|
|
71
|
-
<div id="description">
|
|
72
|
-
<p>
|
|
73
|
-
This class is the interface used to develop adapters for stores. Stores are
|
|
74
|
-
where the data is actually held. These could be local memory, memcached, a
|
|
75
|
-
database, the file system, etc… If you implement this API, then you
|
|
76
|
-
should be able to plug in different stores for your caches without having
|
|
77
|
-
to change any of your code.
|
|
78
|
-
</p>
|
|
79
|
-
<h3>Methods that need to be implemented:</h3>
|
|
80
|
-
<ul>
|
|
81
|
-
<li>setup - used to setup the implementation of the adapter.
|
|
82
|
-
|
|
83
|
-
</li>
|
|
84
|
-
<li>set(key, object, expiry) - sets an object into the store using the given
|
|
85
|
-
key and the expiry time.
|
|
86
|
-
|
|
87
|
-
</li>
|
|
88
|
-
<li>get(key) - returns an object from the store for a given key.
|
|
89
|
-
|
|
90
|
-
</li>
|
|
91
|
-
<li>delete(key, delay) - deletes an object from the store for a given key. If
|
|
92
|
-
the store supports it, a delay can be used.
|
|
93
|
-
|
|
94
|
-
</li>
|
|
95
|
-
<li>expire_all - expires all objects in the store for a given cache.
|
|
96
|
-
|
|
97
|
-
</li>
|
|
98
|
-
<li>stats - returns statistics for the store.
|
|
99
|
-
|
|
100
|
-
</li>
|
|
101
|
-
<li>valid? - used to test whether or not the store is still valid. If this
|
|
102
|
-
returns false a new instance of the adapter is created by <a
|
|
103
|
-
href="../../../../classes/Cachetastic/Connection.html">Cachetastic::Connection</a>
|
|
104
|
-
|
|
105
|
-
</li>
|
|
106
|
-
</ul>
|
|
107
|
-
|
|
108
|
-
</div>
|
|
109
71
|
|
|
110
72
|
|
|
111
73
|
</div>
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
</tr>
|
|
57
57
|
<tr class="top-aligned-row">
|
|
58
58
|
<td><strong>Last Update:</strong></td>
|
|
59
|
-
<td>
|
|
59
|
+
<td>Fri Jun 05 15:54:26 -0400 2009</td>
|
|
60
60
|
</tr>
|
|
61
61
|
</table>
|
|
62
62
|
</div>
|
|
@@ -68,26 +68,6 @@
|
|
|
68
68
|
|
|
69
69
|
<div id="contextContent">
|
|
70
70
|
|
|
71
|
-
<div id="description">
|
|
72
|
-
<p>
|
|
73
|
-
This adapter uses the file system as it‘s backing. The configuration
|
|
74
|
-
for this should look something like this:
|
|
75
|
-
</p>
|
|
76
|
-
<pre>
|
|
77
|
-
my_awesome_cache_options:
|
|
78
|
-
debug: false
|
|
79
|
-
adapter: file
|
|
80
|
-
marshall_method: none
|
|
81
|
-
default_expiry: <%= 24.hours %>
|
|
82
|
-
store_options:
|
|
83
|
-
dir: /usr/local/caches/
|
|
84
|
-
logging:
|
|
85
|
-
logger_1:
|
|
86
|
-
type: file
|
|
87
|
-
file: log/file_store_cache.log
|
|
88
|
-
</pre>
|
|
89
|
-
|
|
90
|
-
</div>
|
|
91
71
|
|
|
92
72
|
|
|
93
73
|
</div>
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
</tr>
|
|
57
57
|
<tr class="top-aligned-row">
|
|
58
58
|
<td><strong>Last Update:</strong></td>
|
|
59
|
-
<td>
|
|
59
|
+
<td>Fri Jun 05 15:49:34 -0400 2009</td>
|
|
60
60
|
</tr>
|
|
61
61
|
</table>
|
|
62
62
|
</div>
|
|
@@ -68,14 +68,6 @@
|
|
|
68
68
|
|
|
69
69
|
<div id="contextContent">
|
|
70
70
|
|
|
71
|
-
<div id="description">
|
|
72
|
-
<p>
|
|
73
|
-
An adapter/store that keeps objects in local memory. This is great for
|
|
74
|
-
development/testing, but probably shouldn‘t be put into production.
|
|
75
|
-
It‘s also a very good example of how to write a adapter.
|
|
76
|
-
</p>
|
|
77
|
-
|
|
78
|
-
</div>
|
|
79
71
|
|
|
80
72
|
|
|
81
73
|
</div>
|
data/doc/files/lib/cachetastic/{ruby_extensions/kernel_rb.html → adapters/memcached_rb.html}
RENAMED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
|
7
7
|
<head>
|
|
8
|
-
<title>File:
|
|
8
|
+
<title>File: memcached.rb</title>
|
|
9
9
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
|
10
10
|
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
|
11
11
|
<link rel="stylesheet" href="../../../.././rdoc-style.css" type="text/css" media="screen" />
|
|
@@ -47,16 +47,16 @@
|
|
|
47
47
|
|
|
48
48
|
|
|
49
49
|
<div id="fileHeader">
|
|
50
|
-
<h1>
|
|
50
|
+
<h1>memcached.rb</h1>
|
|
51
51
|
<table class="header-table">
|
|
52
52
|
<tr class="top-aligned-row">
|
|
53
53
|
<td><strong>Path:</strong></td>
|
|
54
|
-
<td>lib/cachetastic/
|
|
54
|
+
<td>lib/cachetastic/adapters/memcached.rb
|
|
55
55
|
</td>
|
|
56
56
|
</tr>
|
|
57
57
|
<tr class="top-aligned-row">
|
|
58
58
|
<td><strong>Last Update:</strong></td>
|
|
59
|
-
<td>Fri
|
|
59
|
+
<td>Fri Jun 05 16:01:57 -0400 2009</td>
|
|
60
60
|
</tr>
|
|
61
61
|
</table>
|
|
62
62
|
</div>
|
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
|
|
6
6
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
|
7
7
|
<head>
|
|
8
|
-
<title>File:
|
|
8
|
+
<title>File: cache.rb</title>
|
|
9
9
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
|
10
10
|
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
|
11
|
-
<link rel="stylesheet" href="
|
|
11
|
+
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
|
12
12
|
<script type="text/javascript">
|
|
13
13
|
// <![CDATA[
|
|
14
14
|
|
|
@@ -47,16 +47,16 @@
|
|
|
47
47
|
|
|
48
48
|
|
|
49
49
|
<div id="fileHeader">
|
|
50
|
-
<h1>
|
|
50
|
+
<h1>cache.rb</h1>
|
|
51
51
|
<table class="header-table">
|
|
52
52
|
<tr class="top-aligned-row">
|
|
53
53
|
<td><strong>Path:</strong></td>
|
|
54
|
-
<td>lib/cachetastic/
|
|
54
|
+
<td>lib/cachetastic/cache.rb
|
|
55
55
|
</td>
|
|
56
56
|
</tr>
|
|
57
57
|
<tr class="top-aligned-row">
|
|
58
58
|
<td><strong>Last Update:</strong></td>
|
|
59
|
-
<td>Fri
|
|
59
|
+
<td>Fri Jun 05 16:10:19 -0400 2009</td>
|
|
60
60
|
</tr>
|
|
61
61
|
</table>
|
|
62
62
|
</div>
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
|
7
7
|
<head>
|
|
8
|
-
<title>File:
|
|
8
|
+
<title>File: string.rb</title>
|
|
9
9
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
|
10
10
|
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
|
11
11
|
<link rel="stylesheet" href="../../../.././rdoc-style.css" type="text/css" media="screen" />
|
|
@@ -47,16 +47,16 @@
|
|
|
47
47
|
|
|
48
48
|
|
|
49
49
|
<div id="fileHeader">
|
|
50
|
-
<h1>
|
|
50
|
+
<h1>string.rb</h1>
|
|
51
51
|
<table class="header-table">
|
|
52
52
|
<tr class="top-aligned-row">
|
|
53
53
|
<td><strong>Path:</strong></td>
|
|
54
|
-
<td>lib/cachetastic/
|
|
54
|
+
<td>lib/cachetastic/extensions/string.rb
|
|
55
55
|
</td>
|
|
56
56
|
</tr>
|
|
57
57
|
<tr class="top-aligned-row">
|
|
58
58
|
<td><strong>Last Update:</strong></td>
|
|
59
|
-
<td>
|
|
59
|
+
<td>Wed May 20 14:38:03 -0400 2009</td>
|
|
60
60
|
</tr>
|
|
61
61
|
</table>
|
|
62
62
|
</div>
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
<h3 class="section-bar">Required files</h3>
|
|
74
74
|
|
|
75
75
|
<div class="name-list">
|
|
76
|
-
|
|
76
|
+
digest
|
|
77
77
|
</div>
|
|
78
78
|
</div>
|
|
79
79
|
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
</tr>
|
|
57
57
|
<tr class="top-aligned-row">
|
|
58
58
|
<td><strong>Last Update:</strong></td>
|
|
59
|
-
<td>
|
|
59
|
+
<td>Fri Jun 05 16:16:49 -0400 2009</td>
|
|
60
60
|
</tr>
|
|
61
61
|
</table>
|
|
62
62
|
</div>
|
|
@@ -68,12 +68,6 @@
|
|
|
68
68
|
|
|
69
69
|
<div id="contextContent">
|
|
70
70
|
|
|
71
|
-
<div id="description">
|
|
72
|
-
<p>
|
|
73
|
-
This class handles logging for the caches and their adapters.
|
|
74
|
-
</p>
|
|
75
|
-
|
|
76
|
-
</div>
|
|
77
71
|
|
|
78
72
|
|
|
79
73
|
</div>
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
<title>File: store_object.rb</title>
|
|
9
9
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
|
10
10
|
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
|
11
|
-
<link rel="stylesheet" href="
|
|
11
|
+
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
|
12
12
|
<script type="text/javascript">
|
|
13
13
|
// <![CDATA[
|
|
14
14
|
|
|
@@ -51,12 +51,12 @@
|
|
|
51
51
|
<table class="header-table">
|
|
52
52
|
<tr class="top-aligned-row">
|
|
53
53
|
<td><strong>Path:</strong></td>
|
|
54
|
-
<td>lib/cachetastic/
|
|
54
|
+
<td>lib/cachetastic/store_object.rb
|
|
55
55
|
</td>
|
|
56
56
|
</tr>
|
|
57
57
|
<tr class="top-aligned-row">
|
|
58
58
|
<td><strong>Last Update:</strong></td>
|
|
59
|
-
<td>
|
|
59
|
+
<td>Fri Jun 05 15:12:26 -0400 2009</td>
|
|
60
60
|
</tr>
|
|
61
61
|
</table>
|
|
62
62
|
</div>
|