Sha256: 435d0c67ea98b4f4a0c13c875110979eed726418745c49c2243c78154eeef0ee

Contents?: true

Size: 274 Bytes

Versions: 5

Compression:

Stored size: 274 Bytes

Contents

module JekyllAssetsPatchesJekyllCleaner
  def obsolete_files
    super.delete_if do |v|
      v.start_with?(site.in_dest_dir(
        site.sprockets.prefix_path
      ))
    end
  end
end

module Jekyll
  class Cleaner
    prepend JekyllAssetsPatchesJekyllCleaner
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
jekyll-assets-2.4.0 lib/jekyll/assets/patches/jekyll/cleaner.rb
jekyll-assets-2.3.2 lib/jekyll/assets/patches/jekyll/cleaner.rb
jekyll-assets-2.3.0 lib/jekyll/assets/patches/jekyll/cleaner.rb
jekyll-assets-2.2.8 lib/jekyll/assets/patches/jekyll/cleaner.rb
jekyll-assets-2.2.7 lib/jekyll/assets/patches/jekyll/cleaner.rb