From e24f7e62271e93ff7d0eff9827a3929da3a31da3 Mon Sep 17 00:00:00 2001 From: Douglas F Shearer Date: Thu, 11 Dec 2008 16:41:07 +0000 Subject: [PATCH 1/2] Fixed gemspec to respect new file naming. --- cache-money.gemspec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cache-money.gemspec b/cache-money.gemspec index 5715d1e..746419f 100644 --- a/cache-money.gemspec +++ b/cache-money.gemspec @@ -28,7 +28,8 @@ Gem::Specification.new do |s| "lib/cash/transactional.rb", "lib/cash/util/array.rb", "lib/cash/write_through.rb", - "lib/cash.rb" + "lib/cache_money.rb", + "lib/cache-money.rb" ] s.test_files = [ "config/environment.rb", From 1a3bfabe4dcce028cfc511d4de70140ea4e3c329 Mon Sep 17 00:00:00 2001 From: Douglas F Shearer Date: Thu, 11 Dec 2008 16:42:40 +0000 Subject: [PATCH 2/2] Fixed formatting of install instructons. --- README.markdown | 1 + 1 file changed, 1 insertion(+) diff --git a/README.markdown b/README.markdown index bb796ce..d9979a1 100755 --- a/README.markdown +++ b/README.markdown @@ -136,6 +136,7 @@ Sometimes your code will request the same cache key twice in one request. You ca #### Step 1: `config/initializers/cache_money.rb` #### Place this in `config/initializers/cache_money.rb` + require 'cache_money' config = YAML.load(IO.read(File.join(RAILS_ROOT, "config", "memcache.yml")))[RAILS_ENV]