From 1f3650ccea29a65f2ae63a91206b8ab9de8a941f Mon Sep 17 00:00:00 2001 From: Thomas Reynolds Date: Tue, 25 Dec 2012 22:30:25 -0800 Subject: [PATCH] make rack::lint happy --- middleman-more/lib/middleman-more/extensions/asset_hash.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/middleman-more/lib/middleman-more/extensions/asset_hash.rb b/middleman-more/lib/middleman-more/extensions/asset_hash.rb index c8768025..afd314ce 100644 --- a/middleman-more/lib/middleman-more/extensions/asset_hash.rb +++ b/middleman-more/lib/middleman-more/extensions/asset_hash.rb @@ -41,7 +41,7 @@ module Middleman # Render through the Rack interface so middleware and mounted apps get a shot rack_client = ::Rack::Test::Session.new(@app.class) - response = rack_client.get(URI.escape(resource.destination_path), {}, { "bypass_asset_hash" => true }) + response = rack_client.get(URI.escape(resource.destination_path), {}, { "bypass_asset_hash" => "true" }) raise "#{resource.path} should be in the sitemap!" unless response.status == 200 digest = Digest::SHA1.hexdigest(response.body)[0..7]