Sha256: ce44771ebfd396b49e58de871bacc167103e3d21aaf0755585767d3f03c2107b

Contents?: true

Size: 286 Bytes

Versions: 8

Compression:

Stored size: 286 Bytes

Contents

# Frozen-string-literal: true
# Copyright: 2012-2015 - MIT License
# Encoding: utf-8

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

8 entries across 8 versions & 1 rubygems

Version Path
jekyll-assets-2.1.3 lib/jekyll/assets/hooks/cache.rb
jekyll-assets-2.1.2 lib/jekyll/assets/hooks/cache.rb
jekyll-assets-2.1.1 lib/jekyll/assets/hooks/cache.rb
jekyll-assets-2.1.0 lib/jekyll/assets/hooks/cache.rb
jekyll-assets-2.0.3 lib/jekyll/assets/hooks/cache.rb
jekyll-assets-2.0.2 lib/jekyll/assets/hooks/cache.rb
jekyll-assets-2.0.1 lib/jekyll/assets/hooks/cache.rb
jekyll-assets-2.0.0 lib/jekyll/assets/hooks/cache.rb