imap-backup 4.0.0.rc4 → 4.0.0.rc5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/imap/backup/cli/local.rb +5 -1
- data/lib/imap/backup/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f6b754ca94002e528fff72fa9bfbe6316281d3325796843d312303c4956cd03f
|
4
|
+
data.tar.gz: dc7230bd742a4db2dfe24a358c6bac1508433578c1eb108130bbd5d89e41b60c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3b8cbc016eb22fe70240bad350ad2d9e009800af15db493f798aa33367e7b67ae0725ce6f8d97666c0f0ad46101fe793f2447d241199ffdc983a17d60c47a852
|
7
|
+
data.tar.gz: 0f3c5a5a4e8e257dca263c25ac004e7d697908dfaccc9a82e354b5dfa8164f61e8671feb20afc8a4afd55bc3e79337bf723c715f61ce758d3a6e7ba1f8448677
|
@@ -40,7 +40,11 @@ module Imap::Backup
|
|
40
40
|
uids = folder_serializer.uids
|
41
41
|
|
42
42
|
folder_serializer.each_message(uids).map do |uid, message|
|
43
|
-
m = {
|
43
|
+
m = {
|
44
|
+
uid: uid,
|
45
|
+
date: message.parsed.date.to_s,
|
46
|
+
subject: message.parsed.subject || ""
|
47
|
+
}
|
44
48
|
if m[:subject].length > max_subject
|
45
49
|
puts format("% 10<uid>u: %.#{max_subject - 3}<subject>s... - %<date>s", m)
|
46
50
|
else
|
data/lib/imap/backup/version.rb
CHANGED