honkster-bin 0.6.3.4 → 0.6.3.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/bin/store.rb +0 -2
- data/lib/bin/version.rb +1 -1
- metadata +1 -1
data/lib/bin/store.rb
CHANGED
@@ -20,7 +20,6 @@ module Bin
|
|
20
20
|
doc = {:_id => key, :value => value, :expires_at => expires, :raw => raw}
|
21
21
|
collection.save(doc)
|
22
22
|
end
|
23
|
-
alias_method :write_entry, :write
|
24
23
|
|
25
24
|
def read_entry(key, options=nil)
|
26
25
|
if doc = collection.find_one(:_id => key.to_s, :expires_at => {'$gt' => Time.now.utc})
|
@@ -28,7 +27,6 @@ module Bin
|
|
28
27
|
value.is_a?(ActiveSupport::Cache::Entry) ? value : ActiveSupport::Cache::Entry.new(value, options)
|
29
28
|
end
|
30
29
|
end
|
31
|
-
alias_method :read_entry, :read
|
32
30
|
|
33
31
|
def delete(key, options=nil)
|
34
32
|
super do
|
data/lib/bin/version.rb
CHANGED