cachetastic 1.4.1 → 1.4.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.
data/lib/cachetastic.rb
CHANGED
|
@@ -6,6 +6,14 @@ require 'yaml'
|
|
|
6
6
|
require 'zlib'
|
|
7
7
|
require 'pp'
|
|
8
8
|
require 'drb'
|
|
9
|
+
begin
|
|
10
|
+
require 'memcache'
|
|
11
|
+
rescue Exception => e
|
|
12
|
+
# if you don't have memcache installed, don't
|
|
13
|
+
# blow up, print a message, and you can't use
|
|
14
|
+
# the memcache adapter.
|
|
15
|
+
puts e.message
|
|
16
|
+
end
|
|
9
17
|
|
|
10
18
|
module Cachetastic #:nodoc:#
|
|
11
19
|
module Caches #:nodoc:#
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cachetastic
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.4.
|
|
4
|
+
version: 1.4.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- markbates
|
|
@@ -10,7 +10,7 @@ autorequire:
|
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
12
|
|
|
13
|
-
date: 2008-03-
|
|
13
|
+
date: 2008-03-26 00:00:00 -04:00
|
|
14
14
|
default_executable:
|
|
15
15
|
dependencies: []
|
|
16
16
|
|