Sha256: 953e44b79d2ce66f529616df8e7dc969a335faad9550f4ca519fac58783e7c7b
Contents?: true
Size: 336 Bytes
Versions: 2
Compression:
Stored size: 336 Bytes
Contents
module Jekyll class Cleaner # TODO: jekyll/jekyll@upstream: This method should really have a hook ya. alias_method :_old_obsolete_files, :obsolete_files def obsolete_files _old_obsolete_files.delete_if do |path| path =~ %r!\A#{Regexp.escape(site.in_dest_dir("assets"))}(\/.*)?\Z! end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
jekyll-assets-2.0.0.pre.beta4 | lib/jekyll/assets/patches/jekyll/cleaner.rb |
jekyll-assets-2.0.0.pre.beta3 | lib/jekyll/assets/patches/jekyll/cleaner.rb |