Sha256: cc8cd159c7ea74fa840da0232510fb741c55b372247288d7a55a147f503ce918

Contents?: true

Size: 200 Bytes

Versions: 2

Compression:

Stored size: 200 Bytes

Contents

Jekyll::Assets::Hook.register :env, :init do
  if (cache_dir = asset_config.fetch("cache", ".asset-cache"))
    self.cache = Sprockets::Cache::FileStore.new(jekyll.in_source_dir(cache_dir))
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
jekyll-assets-2.0.0.pre.beta4 lib/jekyll/assets/hooks/cache.rb
jekyll-assets-2.0.0.pre.beta3 lib/jekyll/assets/hooks/cache.rb