Skip to content
Browse files

Explicitly require request, response, and utils

  • Loading branch information...
1 parent ea79354 commit d6fa6afde6f0d5597b2040751a8c910132f18b12 @josh josh committed Jan 14, 2009
View
2 lib/rack/auth/openid.rb
@@ -1,6 +1,8 @@
# AUTHOR: blink <blinketje@gmail.com>; blink#ruby-lang@irc.freenode.net
gem 'ruby-openid', '~> 2' if defined? Gem
+require 'rack/request'
+require 'rack/utils'
require 'rack/auth/abstract/handler' #rack
require 'uri' #std
require 'pp' #std
View
2 lib/rack/conditionalget.rb
@@ -1,3 +1,5 @@
+require 'rack/utils'
+
module Rack
# Middleware that enables conditional GET using If-None-Match and
View
2 lib/rack/content_length.rb
@@ -1,3 +1,5 @@
+require 'rack/utils'
+
module Rack
# Sets the Content-Length header on responses with fixed-length bodies.
class ContentLength
View
1 lib/rack/deflater.rb
@@ -1,6 +1,7 @@
require "zlib"
require "stringio"
require "time" # for Time.httpdate
+require 'rack/utils'
module Rack
View
1 lib/rack/directory.rb
@@ -1,4 +1,5 @@
require 'time'
+require 'rack/utils'
require 'rack/mime'
module Rack
View
1 lib/rack/file.rb
@@ -1,4 +1,5 @@
require 'time'
+require 'rack/utils'
require 'rack/mime'
module Rack
View
2 lib/rack/lint.rb
@@ -1,3 +1,5 @@
+require 'rack/utils'
+
module Rack
# Rack::Lint validates your application and the requests and
# responses according to the Rack spec.
View
2 lib/rack/session/abstract/id.rb
@@ -2,6 +2,8 @@
# bugrep: Andreas Zehnder
require 'time'
+require 'rack/request'
+require 'rack/response'
module Rack
View
2 lib/rack/session/cookie.rb
@@ -1,4 +1,6 @@
require 'openssl'
+require 'rack/request'
+require 'rack/response'
module Rack
View
1 lib/rack/showexceptions.rb
@@ -1,6 +1,7 @@
require 'ostruct'
require 'erb'
require 'rack/request'
+require 'rack/utils'
module Rack
# Rack::ShowExceptions catches all exceptions raised from the app it

0 comments on commit d6fa6af

Please sign in to comment.
Something went wrong with that request. Please try again.