Sha256: c0509d49f46e82bea8cad82feff1896d4bcad48dbfac4ed4f162f8f1fa8d9ff2

Contents?: true

Size: 511 Bytes

Versions: 27

Compression:

Stored size: 511 Bytes

Contents

require 'pstore'

module Innate
  class Cache
    # Keeps every cache in a separate file like this:
    # /tmp/innate-cache-marshal/delta-manveru-session.marshal
    #
    # The Marshal cache is not safe for use between multiple processes, it is
    # also slow compared to other caches, so generally the use of it is
    # discouraged.
    class Marshal
      include Cache::API
      include Cache::FileBased

      STORE = ::PStore
      DIR = 'innate-cache-marshal'
      EXT = '.marshal'
    end
  end
end

Version data entries

27 entries across 27 versions & 3 rubygems

Version Path
innate-2010.03 lib/innate/cache/marshal.rb
innate-2010.01 lib/innate/cache/marshal.rb
innate-2009.10 lib/innate/cache/marshal.rb
innate-2009.07 lib/innate/cache/marshal.rb
innate-2009.06 lib/innate/cache/marshal.rb
innate-2009.06.12 lib/innate/cache/marshal.rb
innate-2009.05 lib/innate/cache/marshal.rb