larch 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
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.1 (2009-05-10)
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
@@ -54,7 +54,13 @@ class Mailbox
54
54
  end
55
55
 
56
56
  debug "appending message: #{message.id}"
57
- @imap.conn.append(@name, message.rfc822, message.flags, message.internaldate) unless @imap.options[:dry_run]
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
@@ -1,6 +1,6 @@
1
1
  module Larch
2
2
  APP_NAME = 'Larch'
3
- APP_VERSION = '1.0.1'
3
+ APP_VERSION = '1.0.2'
4
4
  APP_AUTHOR = 'Ryan Grove'
5
5
  APP_EMAIL = 'ryan@wonko.com'
6
6
  APP_URL = 'http://github.com/rgrove/larch/'
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.1
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-10 00:00:00 -07:00
12
+ date: 2009-08-05 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency