diff options
author | James Tucker <jftucker@gmail.com> | 2014-08-03 14:21:41 -0300 |
---|---|---|
committer | James Tucker <jftucker@gmail.com> | 2014-08-03 14:21:41 -0300 |
commit | 9f52bb1db4b007066c9916881001d15c0a61bf66 (patch) | |
tree | 8de03740a1339dc367eb258e3e191abf00a91228 /lib/rack/builder.rb | |
parent | d8e2e2af6da57805d2f0906ce925ea150def31a0 (diff) | |
parent | 33075a489b85d43fc0be55d3503cc236f349e2f8 (diff) | |
download | rack-9f52bb1db4b007066c9916881001d15c0a61bf66.tar.gz |
Merge branch 'master' into pr/686
* master: (62 commits) build_nested_query includes integer values Rack::ETag correctly marks etags as Weak Fix yet another body close bug in Rack::Deflater Implement full Logger interface on NullLogger Revert "support empty string multipart filename" support empty string multipart filename multipart/form-data with files with no input name Fix parent type API regression introduced in #713 correct weird case regression from #714 UrlMap: Enable case-insensitive domain matching Raise specific exception if the parameters are invalid Fix media_type_params when Content-Type parameters contains quoted-strings Rack::Multipart::UploadedFile has file extensions multipart content-type match now case insensitive Undo test that falsely exemplifies production env default_middleware_by_environment should always returns empty array for unknown keys Remove rbx from Travis' allow_failures Fix rbx settings for Travis Use latest 2.1 on Travis Enable cleanup of Tempfiles from multipart form data by default ... Conflicts: lib/rack/request.rb
Diffstat (limited to 'lib/rack/builder.rb')
-rw-r--r-- | lib/rack/builder.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rack/builder.rb b/lib/rack/builder.rb index a4f6c575..bda3be27 100644 --- a/lib/rack/builder.rb +++ b/lib/rack/builder.rb @@ -157,7 +157,7 @@ module Rack def generate_map(default_app, mapping) mapped = default_app ? {'/' => default_app} : {} - mapping.each { |r,b| mapped[r] = self.class.new(default_app, &b) } + mapping.each { |r,b| mapped[r] = self.class.new(default_app, &b).to_app } URLMap.new(mapped) end end |