larch 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/HISTORY +4 -0
- data/README.rdoc +7 -1
- data/lib/larch/imap/mailbox.rb +7 -1
- data/lib/larch/version.rb +1 -1
- metadata +2 -2
data/HISTORY
CHANGED
@@ -1,6 +1,10 @@
|
|
1
1
|
Larch History
|
2
2
|
================================================================================
|
3
3
|
|
4
|
+
Version 1.0.2 (2009-08-05)
|
5
|
+
* Fixed a bug that caused Larch to try to set the read-only \Recent flag on
|
6
|
+
the destination server.
|
7
|
+
|
4
8
|
Version 1.0.1 (2009-05-10)
|
5
9
|
* Ruby 1.9.1 support.
|
6
10
|
* Much more robust handling of unexpected server disconnects and dropped
|
data/README.rdoc
CHANGED
@@ -8,7 +8,7 @@ Larch is particularly well-suited for copying email to, from, or between Gmail
|
|
8
8
|
accounts.
|
9
9
|
|
10
10
|
*Author*:: Ryan Grove (mailto:ryan@wonko.com)
|
11
|
-
*Version*:: 1.0.
|
11
|
+
*Version*:: 1.0.2 (2009-08-05)
|
12
12
|
*Copyright*:: Copyright (c) 2009 Ryan Grove. All rights reserved.
|
13
13
|
*License*:: GPL 2.0 (http://opensource.org/licenses/gpl-2.0.php)
|
14
14
|
*Website*:: http://github.com/rgrove/larch
|
@@ -129,6 +129,12 @@ servers:
|
|
129
129
|
* Gmail
|
130
130
|
* Microsoft Exchange 2003
|
131
131
|
|
132
|
+
The following servers do not work well with Larch:
|
133
|
+
|
134
|
+
* BlitzMail - Buggy server implementation; fails to properly quote or escape
|
135
|
+
some IMAP responses, which can cause Larch to hang waiting for a terminating
|
136
|
+
character that will never arrive.
|
137
|
+
|
132
138
|
== Known Issues
|
133
139
|
|
134
140
|
* Larch uses Ruby's Net::IMAP standard library for all IMAP operations. While
|
data/lib/larch/imap/mailbox.rb
CHANGED
@@ -54,7 +54,13 @@ class Mailbox
|
|
54
54
|
end
|
55
55
|
|
56
56
|
debug "appending message: #{message.id}"
|
57
|
-
|
57
|
+
|
58
|
+
# The \Recent flag is read-only, so we shouldn't try to set it at the
|
59
|
+
# destination.
|
60
|
+
flags = message.flags.dup
|
61
|
+
flags.delete(:Recent)
|
62
|
+
|
63
|
+
@imap.conn.append(@name, message.rfc822, flags, message.internaldate) unless @imap.options[:dry_run]
|
58
64
|
end
|
59
65
|
|
60
66
|
true
|
data/lib/larch/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: larch
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Grove
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-05
|
12
|
+
date: 2009-08-05 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|