mirror of
https://github.com/ruby/ruby.git
synced 2025-08-23 13:04:13 +02:00
merge revision(s) 27490:
* lib/net/imap.rb (fetch_internal): do not quote message data item names. Thanks, Eric Hodel. [ruby-core:23508] backported form trunk. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@28215 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
fd71d468a6
commit
69ffece86c
3 changed files with 14 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
Tue Jun 8 16:08:00 2010 Shugo Maeda <shugo@ruby-lang.org>
|
||||||
|
|
||||||
|
* lib/net/imap.rb (fetch_internal): do not quote message data item
|
||||||
|
names. Thanks, Eric Hodel. [ruby-core:23508] backported form
|
||||||
|
trunk.
|
||||||
|
|
||||||
Tue Jun 8 15:45:52 2010 Shugo Maeda <shugo@ruby-lang.org>
|
Tue Jun 8 15:45:52 2010 Shugo Maeda <shugo@ruby-lang.org>
|
||||||
|
|
||||||
* lib/net/imap (encode_utf7): encode & properly. Thanks, Kengo
|
* lib/net/imap (encode_utf7): encode & properly. Thanks, Kengo
|
||||||
|
|
|
@ -1164,9 +1164,15 @@ module Net
|
||||||
end
|
end
|
||||||
|
|
||||||
def fetch_internal(cmd, set, attr)
|
def fetch_internal(cmd, set, attr)
|
||||||
if attr.instance_of?(String)
|
case attr
|
||||||
|
when String then
|
||||||
attr = RawData.new(attr)
|
attr = RawData.new(attr)
|
||||||
|
when Array then
|
||||||
|
attr = attr.map { |arg|
|
||||||
|
arg.is_a?(String) ? RawData.new(arg) : arg
|
||||||
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
synchronize do
|
synchronize do
|
||||||
@responses.delete("FETCH")
|
@responses.delete("FETCH")
|
||||||
send_command(cmd, MessageSet.new(set), attr)
|
send_command(cmd, MessageSet.new(set), attr)
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
#define RUBY_RELEASE_DATE "2010-06-08"
|
#define RUBY_RELEASE_DATE "2010-06-08"
|
||||||
#define RUBY_VERSION_CODE 187
|
#define RUBY_VERSION_CODE 187
|
||||||
#define RUBY_RELEASE_CODE 20100608
|
#define RUBY_RELEASE_CODE 20100608
|
||||||
#define RUBY_PATCHLEVEL 279
|
#define RUBY_PATCHLEVEL 280
|
||||||
|
|
||||||
#define RUBY_VERSION_MAJOR 1
|
#define RUBY_VERSION_MAJOR 1
|
||||||
#define RUBY_VERSION_MINOR 8
|
#define RUBY_VERSION_MINOR 8
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue