Sha256: 2f404f69b0d91678af58095a91f5a407ecf43eb8273a97d7bd34acc6b46222ce
Contents?: true
Size: 476 Bytes
Versions: 3
Compression:
Stored size: 476 Bytes
Contents
# ---------------------------------------------------------------------------- # Frozen-string-literal: true # Copyright: 2012 - 2016 - MIT License # Encoding: utf-8 # ---------------------------------------------------------------------------- Jekyll::Assets::Hook.register :env, :init do cache_dir = asset_config.fetch("cache", ".asset-cache" ) if cache_dir self.cache = Sprockets::Cache::FileStore.new( jekyll.in_source_dir(cache_dir) ) end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
jekyll-assets-2.2.2 | lib/jekyll/assets/hooks/cache.rb |
jekyll-assets-2.2.1 | lib/jekyll/assets/hooks/cache.rb |
jekyll-assets-2.2.0 | lib/jekyll/assets/hooks/cache.rb |