milkshake 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/milkshake.rb +4 -1
- data/milkshake.gemspec +1 -1
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.6
|
data/lib/milkshake.rb
CHANGED
@@ -60,10 +60,13 @@ module Milkshake
|
|
60
60
|
end
|
61
61
|
|
62
62
|
def cache
|
63
|
-
self.cache_file ||= File.join(RAILS_ROOT, 'tmp', 'cache', 'milkshake.cache')
|
64
63
|
@cache ||= Cache.new(self.cache_file)
|
65
64
|
end
|
66
65
|
|
66
|
+
def cache_file
|
67
|
+
@cache_file ||= File.join(RAILS_ROOT, 'tmp', 'cache', 'milkshake.cache')
|
68
|
+
end
|
69
|
+
|
67
70
|
def persist!
|
68
71
|
cache.persist!
|
69
72
|
end
|
data/milkshake.gemspec
CHANGED