rack-cache 1.4.0 → 1.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/rack/cache/metastore.rb +3 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dfb363c288fc5d951b0907ad39991bc5daee24c0
|
4
|
+
data.tar.gz: 0d7e5ce084a38ffed3bb41e87da26e5fb6e83ac6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3f29d10714d8cc5e746556d71866493e76489d6ec2a6ff2a9a1f02ed4eb1a6a7764c7dd863f76493ac4e11f253d2aae1886dc7732afda511150c63562de02492
|
7
|
+
data.tar.gz: 08ca84c212fb3e3f482004ec806460f218777fc61efecd6640a6e2e384fd298461edbe1f37cfc4d1c3d0483c48e8e97e014cb82be88fcfd180cd528b69094485
|
data/README.md
CHANGED
@@ -70,7 +70,7 @@ You should now see `Rack::Cache` listed in the middleware pipeline:
|
|
70
70
|
|
71
71
|
See the following for more information:
|
72
72
|
|
73
|
-
http://snippets.aktagon.com/snippets/302
|
73
|
+
http://snippets.aktagon.com/snippets/302-how-to-setup-and-use-rack-cache-with-rails
|
74
74
|
|
75
75
|
Using with Dalli
|
76
76
|
----------------
|
data/lib/rack/cache/metastore.rb
CHANGED
@@ -148,20 +148,20 @@ module Rack::Cache
|
|
148
148
|
# pairs. An empty Array must be returned if nothing is cached for
|
149
149
|
# the specified key.
|
150
150
|
def read(key)
|
151
|
-
raise
|
151
|
+
raise NotImplementedError
|
152
152
|
end
|
153
153
|
|
154
154
|
# Store an Array of request/response pairs for the given key. Concrete
|
155
155
|
# implementations should not attempt to filter or concatenate the
|
156
156
|
# list in any way.
|
157
157
|
def write(key, negotiations)
|
158
|
-
raise
|
158
|
+
raise NotImplementedError
|
159
159
|
end
|
160
160
|
|
161
161
|
# Remove all cached entries at the key specified. No error is raised
|
162
162
|
# when the key does not exist.
|
163
163
|
def purge(key)
|
164
|
-
raise
|
164
|
+
raise NotImplementedError
|
165
165
|
end
|
166
166
|
|
167
167
|
private
|