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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -2
  3. data/lib/diskcached.rb +2 -2
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2d3ce84b679e0539fce33f13ae46242030555375
4
- data.tar.gz: 8d122fd674accaae92f1cbb3fc5ed9d9f024a34a
3
+ metadata.gz: 221f8d17a20f344c356f034bb235f01447e18305
4
+ data.tar.gz: ae92042d046ed8b0a8b0630ca93f0441c38c1592
5
5
  SHA512:
6
- metadata.gz: 3e4f49916e1134d3187f21434663ac638da6ed24bca20764bd0d553eee0af2eed666b42e84fb21be17393d9ef2d10a6093d7f81b0c422082e694c4277f6b37ab
7
- data.tar.gz: 377874d6837768046cc7a2909a73659c2dc47d9211e6de678c6345db3210d844ff6742b450b164a1cf8633b1c8a96fdf1b08b25539e92f8b084b32dffdd4cacd
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://rubyops.github.com/diskcached/doc/Diskcached.html) | [Coverage](http://rubyops.github.com/diskcached/coverage/index.html#_AllFiles) | [Benchmarks](https://github.com/rubyops/diskcached/wiki/Benchmark-Output)
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/rubyops/diskcached/wiki/Benchmark-Output)
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.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
- Dir.mkdir( store ) unless File.directory?( store )
177
+ FileUtils.mkpath( store ) unless File.directory?( store )
178
178
  end
179
179
 
180
180
  class NotFound < Exception
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: diskcached
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joshua Mervine