Rubocop auto fix

This commit is contained in:
Thomas Reynolds 2014-06-16 09:05:24 -07:00
parent c6543b7c27
commit 8989e27769
10 changed files with 48 additions and 49 deletions

View file

@ -166,7 +166,7 @@ module Middleman
# @param [String] prefix The type prefix (such as "images")
# @param [Hash] options Data to pass through.
# @return [String] The fully qualified asset url
def asset_url(app, path, prefix='', options={})
def asset_url(app, path, prefix='', _options={})
# Don't touch assets which already have a full path
if path.include?('//') or path.start_with?('data:')
path
@ -271,7 +271,7 @@ module Middleman
end
end
def rewrite_paths(body, path, exts, &block)
def rewrite_paths(body, _path, exts, &_block)
body.dup.gsub(/([=\'\"\(]\s*)([^\s\'\"\)]+(#{Regexp.union(exts)}))/) do |match|
opening_character = $1
asset_path = $2