diff options
-rw-r--r-- | SPEC | 2 | ||||
-rw-r--r-- | lib/rack/lint.rb | 2 | ||||
-rw-r--r-- | lib/rack/session/abstract/id.rb | 6 |
3 files changed, 5 insertions, 5 deletions
@@ -222,7 +222,7 @@ The Body itself should not be an instance of String, as this will break in Ruby 1.9. If the Body responds to +close+, it will be called after iteration. If the body is replaced by a middleware after action, the original body -must be closed first, if it repsonds to close. +must be closed first, if it responds to close. If the Body responds to +to_path+, it must return a String identifying the location of a file whose contents are identical to that produced by calling +each+; this may be used by the diff --git a/lib/rack/lint.rb b/lib/rack/lint.rb index e6dbdf39..0c6e1a35 100644 --- a/lib/rack/lint.rb +++ b/lib/rack/lint.rb @@ -660,7 +660,7 @@ module Rack ## ## If the Body responds to +close+, it will be called after iteration. If ## the body is replaced by a middleware after action, the original body - ## must be closed first, if it repsonds to close. + ## must be closed first, if it responds to close. # XXX howto: assert("Body has not been closed") { @closed } diff --git a/lib/rack/session/abstract/id.rb b/lib/rack/session/abstract/id.rb index 3ebbe111..e9edeb7f 100644 --- a/lib/rack/session/abstract/id.rb +++ b/lib/rack/session/abstract/id.rb @@ -342,7 +342,7 @@ module Rack if not data = set_session(env, session_id, session_data, options) env["rack.errors"].puts("Warning! #{self.class.name} failed to save session. Content dropped.") elsif options[:defer] and not options[:renew] - env["rack.errors"].puts("Defering cookie for #{session_id}") if $VERBOSE + env["rack.errors"].puts("Deferring cookie for #{session_id}") if $VERBOSE else cookie = Hash.new cookie[:value] = data @@ -369,7 +369,7 @@ module Rack SessionHash end - # All thread safety and session retrival proceedures should occur here. + # All thread safety and session retrieval procedures should occur here. # Should return [session_id, session]. # If nil is provided as the session id, generation of a new valid id # should occur within. @@ -378,7 +378,7 @@ module Rack raise '#get_session not implemented.' end - # All thread safety and session storage proceedures should occur here. + # All thread safety and session storage procedures should occur here. # Must return the session id if the session was saved successfully, or # false if the session could not be saved. |