lib/net/pop.rb in net-pop-0.1.0 vs lib/net/pop.rb in net-pop-0.1.1
- old
+ new
@@ -192,14 +192,13 @@
#
# The POPMail#unique_id() method returns the unique-id of the message as a
# String. Normally the unique-id is a hash of the message.
#
class POP3 < Protocol
+ # version of this library
+ VERSION = "0.1.1"
- # svn revision of this library
- Revision = %q$Revision$.split[1]
-
#
# Class Parameters
#
# returns the port for POP3
@@ -968,10 +967,10 @@
else
critical {
getok('UIDL')
table = {}
@socket.each_list_item do |line|
- num, uid = line.split
+ num, uid = line.split(' ')
table[num.to_i] = uid
end
return table
}
end