Fix #21
Default serializer changed from YAML to Marshal (to avoid UTF-8 errors on BackTrack) Spec for UTF-8 updated
This commit is contained in:
@@ -13,7 +13,7 @@ class CacheFileStore
|
||||
# The serializer must have the 2 methods .load and .dump (Marshal and YAML have them)
|
||||
# YAML is Human Readable, contrary to Marshal which store in a binary format
|
||||
# Marshal does not need any "require"
|
||||
def initialize(storage_path, serializer = YAML)
|
||||
def initialize(storage_path, serializer = Marshal)
|
||||
@storage_path = File.expand_path(storage_path)
|
||||
@serializer = serializer
|
||||
|
||||
|
||||
Reference in New Issue
Block a user