Sha256: 6ecbdf06fd4309d38042b5bf033591b16eceb1c8a7374ab2b51822a3b4780b7c
Contents?: true
Size: 712 Bytes
Versions: 42
Compression:
Stored size: 712 Bytes
Contents
require 'sass' module Sprockets class SassProcessor # Internal: Cache wrapper for Sprockets cache adapter. class CacheStore < ::Sass::CacheStores::Base VERSION = '1' def initialize(cache, version) @cache, @version = cache, "#{VERSION}/#{version}" end def _store(key, version, sha, contents) @cache.set("#{@version}/#{version}/#{key}/#{sha}", contents, true) end def _retrieve(key, version, sha) @cache.get("#{@version}/#{version}/#{key}/#{sha}", true) end def path_to(key) key end end end # Deprecated: Use Sprockets::SassProcessor::CacheStore instead. SassCacheStore = SassProcessor::CacheStore end
Version data entries
42 entries across 39 versions & 8 rubygems