Sha256: 97f45fc95cdd04f9ea927bc40e7f2c38a37a693baa449ef00f49b3a9dba3ef2c
Contents?: true
Size: 873 Bytes
Versions: 41
Compression:
Stored size: 873 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. class SassCacheStore < SassProcessor::CacheStore def initialize(*args) Deprecation.new.warn "SassCacheStore is deprecated please use SassProcessor::CacheStore instead" super end end end
Version data entries
41 entries across 38 versions & 9 rubygems