Sha256: b96be78a3a1e9294f7e1770873a34f7fc03448a6c4965d34dc0eccf0d03b046f
Contents?: true
Size: 892 Bytes
Versions: 6
Compression:
Stored size: 892 Bytes
Contents
# Frozen-string-literal: true # Copyright: 2012 - 2017 - MIT License # Encoding: utf-8 require "sprockets/manifest" module Jekyll module Assets class Manifest < Sprockets::Manifest attr_reader :data # -- # Works around some weird behavior in Sprockets 3.x that seemd to make # it so that when you use an absolute path, it was automatically a filter # and so you could never find an asset that was dynamically added. # -- def self.simple_logical_path?(file) super || File.file?(file) end # -- # Allows you to add a manifest key for us to keep. # @note the format should be `key: { hashKey: hashVal }` or `key: []` # @note complex keys aren't supported. # @return [Array<String>] # -- def self.keep_keys @keep_keys ||= %w( assets ) end end end end
Version data entries
6 entries across 6 versions & 1 rubygems