Skip to content

Commit

Permalink
rename
Browse files Browse the repository at this point in the history
  • Loading branch information
hsbt committed Oct 4, 2013
1 parent 39c827e commit e15eb66
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion tdiary/cache/file.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -*- coding: utf-8; -*-

module TDiary
module CacheIO
module Cache
def restore_cache( prefix )
restore_data("#{cache_path}/#{cache_file( prefix )}") if cache_enable?( prefix )
end
Expand Down
2 changes: 1 addition & 1 deletion tdiary/cache/memcached.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require 'dalli'

module TDiary
module CacheIO
module Cache
def restore_cache(prefix)
if key = cache_key(prefix)
restore_data(key)
Expand Down
2 changes: 1 addition & 1 deletion tdiary/cache/redis.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
require 'yaml'

module TDiary
module CacheIO
module Cache
def restore_cache(prefix)
if key = cache_key(prefix)
restore_data(key)
Expand Down
2 changes: 1 addition & 1 deletion tdiary/io/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def store_referer( file, diaries )
class DefaultIO < BaseIO
include CommentIO
include RefererIO
include CacheIO
include Cache

class << self
def parse_tdiary( data )
Expand Down
2 changes: 1 addition & 1 deletion tdiary/io/rdb.rb
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def store_referer(diaries)
class RdbIO < BaseIO
include CommentIO
include RefererIO
include CacheIO
include Cache

class << self
def load_cgi_conf(conf)
Expand Down

0 comments on commit e15eb66

Please sign in to comment.