Sinatra::Response no longer has a #join method.
It was wrong to assume it had one to begin with; according to the rack spec, the response body has #each but not necessarily any other enumerable or array methods.
|@@ -16,7 +16,7 @@ def render_static_page(&block)|
|app = build(&block)|
|status, headers, body = app.call(Rack::MockRequest.env_for "/", :method => "GET")|
|- AssetInliner.new(body.join, app.public_folder).standalone_page|
|+ AssetInliner.new(body.enum_for(:each).to_a.join, app.public_folder).standalone_page|
|# Inlines the assets so the page can be viewed as a standalone web page.|