summaryrefslogtreecommitdiff
path: root/lib/net
diff options
context:
space:
mode:
authorshugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-03-30 13:59:26 +0000
committershugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-03-30 13:59:26 +0000
commitc32024a3b5d8696347256a8024a6fe88a28e1450 (patch)
treea29290044ac24a6c216f3143c9ecd39f13971d88 /lib/net
parent65579c6b315efc508e41be5f42a334f2f747a557 (diff)
* lib/net/imap.rb: rename ContinueRequest to ContinuationRequest.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1293 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/net')
-rw-r--r--lib/net/imap.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/net/imap.rb b/lib/net/imap.rb
index e1c1897d16..c35a1eae99 100644
--- a/lib/net/imap.rb
+++ b/lib/net/imap.rb
@@ -291,7 +291,7 @@ module Net
end
authenticator = @@authenticators[auth_type].new(*args)
send_command("AUTHENTICATE", auth_type) do |resp|
- if resp.instance_of?(ContinueRequest)
+ if resp.instance_of?(ContinuationRequest)
data = authenticator.process(resp.data.text.unpack("m")[0])
send_data([data].pack("m").chomp)
end
@@ -778,7 +778,7 @@ module Net
end
end
- ContinueRequest = Struct.new(:data, :raw_data)
+ ContinuationRequest = Struct.new(:data, :raw_data)
UntaggedResponse = Struct.new(:name, :data, :raw_data)
TaggedResponse = Struct.new(:tag, :name, :data, :raw_data)
ResponseText = Struct.new(:code, :text)
@@ -924,7 +924,7 @@ module Net
def continue_req
match(T_PLUS)
match(T_SPACE)
- return ContinueRequest.new(resp_text, @str)
+ return ContinuationRequest.new(resp_text, @str)
end
def response_untagged