larch 1.1.0dev20091006 → 1.1.0.dev.20091106
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 +1 -0
- data/README.rdoc +3 -9
- data/lib/larch/imap.rb +2 -0
- data/lib/larch/version.rb +1 -1
- metadata +2 -2
data/HISTORY
CHANGED
@@ -18,6 +18,7 @@ Version 1.1.0 (git)
|
|
18
18
|
* Added short versions of common command-line options.
|
19
19
|
* The --fast-scan option has been removed.
|
20
20
|
* Fixed encoding issues when creating mailboxes and getting mailbox lists.
|
21
|
+
* Fixed incorrect case-sensitive treatment of the 'INBOX' folder name.
|
21
22
|
|
22
23
|
Version 1.0.2 (2009-08-05)
|
23
24
|
* Fixed a bug that caused Larch to try to set the read-only \Recent flag on
|
data/README.rdoc
CHANGED
@@ -16,19 +16,13 @@ accounts.
|
|
16
16
|
|
17
17
|
== Installation
|
18
18
|
|
19
|
-
|
19
|
+
Latest stable release:
|
20
20
|
|
21
21
|
gem install larch
|
22
22
|
|
23
|
-
|
24
|
-
Gemcutter (if you haven't already):
|
23
|
+
Latest development version:
|
25
24
|
|
26
|
-
gem install gemcutter
|
27
|
-
gem tumble
|
28
|
-
|
29
|
-
Then install the latest Larch prerelease gem:
|
30
|
-
|
31
|
-
gem install larch --prerelease
|
25
|
+
gem install larch -s http://gemcutter.org --prerelease
|
32
26
|
|
33
27
|
== Usage
|
34
28
|
|
data/lib/larch/imap.rb
CHANGED
@@ -123,6 +123,7 @@ class IMAP
|
|
123
123
|
retries = 0
|
124
124
|
|
125
125
|
name = name.gsub(delim, self.delim)
|
126
|
+
name = 'INBOX' if name.downcase == 'inbox'
|
126
127
|
|
127
128
|
begin
|
128
129
|
@mailboxes.fetch(name) do
|
@@ -327,6 +328,7 @@ class IMAP
|
|
327
328
|
# Update cached mailboxes.
|
328
329
|
all.each do |mb|
|
329
330
|
name = Net::IMAP.decode_utf7(mb.name)
|
331
|
+
name = 'INBOX' if name.downcase == 'inbox'
|
330
332
|
|
331
333
|
@mailboxes[name] ||= Mailbox.new(self, name, mb.delim,
|
332
334
|
subscribed.any?{|s| s.name == mb.name}, mb.attr)
|
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.1.
|
4
|
+
version: 1.1.0.dev.20091106
|
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-
|
12
|
+
date: 2009-11-06 00:00:00 -08:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|