summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-11-24 07:38:32 +0000
committershyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-11-24 07:38:32 +0000
commita9ce2ba8b9a896678a3a0a0269ea01c63d09422b (patch)
tree4936b3d98c0c7213ca0587ad69f944e87c728a7c
parent39d1071b90280fb5549c1d01c847998e4f69dad6 (diff)
merge revision(s) 17430:
* lib/net/pop.rb (Net::POP3#set_all_uids): speed up. a patch from <m-sumi AT techfirm.co.jp> [ruby-list:45047] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@17430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Signed-off-by: URABE, Shyouhei <shyouhei@ruby-lang.org> git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@29903 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog5
-rw-r--r--lib/net/pop.rb5
-rw-r--r--version.h2
3 files changed, 8 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 1c1fb5bdff..2079abaf39 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Thu Jun 19 20:37:00 2008 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
+
+ * lib/net/pop.rb (Net::POP3#set_all_uids): speed
+ up. a patch from <m-sumi AT techfirm.co.jp> [ruby-list:45047]
+
Tue Nov 23 20:48:10 2010 Shugo Maeda <shugo@ruby-lang.org>
* lib/net/imap.rb (initialize): sets sync_close to true.
diff --git a/lib/net/pop.rb b/lib/net/pop.rb
index 9a6a25266f..4374550ae9 100644
--- a/lib/net/pop.rb
+++ b/lib/net/pop.rb
@@ -683,9 +683,8 @@ module Net
end
def set_all_uids #:nodoc: internal use only (called from POPMail#uidl)
- command().uidl.each do |num, uid|
- @mails.find {|m| m.number == num }.uid = uid
- end
+ uidl = command().uidl
+ @mails.each {|m| m.uid = uidl[m.number] }
end
def logging(msg)
diff --git a/version.h b/version.h
index 0f184c5237..5dbad51236 100644
--- a/version.h
+++ b/version.h
@@ -2,7 +2,7 @@
#define RUBY_RELEASE_DATE "2010-11-24"
#define RUBY_VERSION_CODE 187
#define RUBY_RELEASE_CODE 20101124
-#define RUBY_PATCHLEVEL 319
+#define RUBY_PATCHLEVEL 320
#define RUBY_VERSION_MAJOR 1
#define RUBY_VERSION_MINOR 8