diskcached 1.1.1 → 1.1.2
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.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/lib/diskcached.rb +2 -2
- 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: 221f8d17a20f344c356f034bb235f01447e18305
|
4
|
+
data.tar.gz: ae92042d046ed8b0a8b0630ca93f0441c38c1592
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3bca2c0e272be7fb482b1e3c2f8e08176c42edbe79d902d751842aab1bfbe4a0f1c38f8024a465434b71f375bff31d3dd05b56ef4dade159df55ae4e242129de
|
7
|
+
data.tar.gz: 8eaba5f648b7b057023fca83982a8969de173559180aa410a8c078aaafcbdd8a6f11f0687348dd20c605b7f19e534efa41540307a6dd9ed5741ee5615c931967
|
data/README.md
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
> Simple disk cache for things like Sinatra which is implemented much like Memcached in hopes that in some cases they're interchangeable.
|
4
4
|
|
5
|
-
### [Documentation](http://
|
5
|
+
### [Documentation](http://jmervine.github.com/diskcached/doc/Diskcached.html) | [Coverage](http://jmervine.github.com/diskcached/coverage/index.html#_AllFiles) | [Benchmarks](https://github.com/jmervine/diskcached/wiki/Benchmark-Output)
|
6
6
|
|
7
7
|
## Introduction
|
8
8
|
|
@@ -71,7 +71,7 @@ Diskcached wasn't designed to be a faster solution, just a simpler
|
|
71
71
|
one when compaired to Memcached. However, from these benchmarks,
|
72
72
|
it holds up will and even should provide slightly faster reads.
|
73
73
|
|
74
|
-
##### [Moved to 'Benchmark Output'](https://github.com/
|
74
|
+
##### [Moved to 'Benchmark Output'](https://github.com/jmervine/diskcached/wiki/Benchmark-Output)
|
75
75
|
|
76
76
|
## Sinatra Application 'httperf' results.
|
77
77
|
|
data/lib/diskcached.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# @author Joshua P. Mervine <joshua@mervine.net>
|
2
2
|
class Diskcached
|
3
3
|
# version for gem
|
4
|
-
VERSION = '1.1.
|
4
|
+
VERSION = '1.1.2'
|
5
5
|
|
6
6
|
# disk location for cache store
|
7
7
|
attr_reader :store
|
@@ -174,7 +174,7 @@ class Diskcached
|
|
174
174
|
|
175
175
|
# creates #store directory if it doesn't exist
|
176
176
|
def ensure_store_directory
|
177
|
-
|
177
|
+
FileUtils.mkpath( store ) unless File.directory?( store )
|
178
178
|
end
|
179
179
|
|
180
180
|
class NotFound < Exception
|