lib/middleman-webp/extension.rb in middleman-webp-0.2.6 vs lib/middleman-webp/extension.rb in middleman-webp-0.2.7

- old
+ new

@@ -10,9 +10,10 @@ option(:append_extension, false, 'keep the original filename and extension and append .webp (image.png => image.png.webp)') option(:ignore, [], 'Ignores files with matching paths') option(:verbose, false, 'Display all external command which are executed '\ 'to help debugging.') + option(:allow_skip, true, 'Skip saving .webp files which are larger than their source') def initialize(app, options_hash = {}, &block) super @app = app end