imap-backup 14.0.0 → 14.1.0
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/restore.rb +1 -0
- data/lib/imap/backup/downloader.rb +10 -4
- data/lib/imap/backup/logger.rb +1 -0
- data/lib/imap/backup/migrator.rb +2 -0
- data/lib/imap/backup/setup/account.rb +1 -0
- data/lib/imap/backup/setup/email.rb +1 -0
- data/lib/imap/backup/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0cf96ff7b006e9e09f0ec63c75f594879a43be7065a90a35909f128077ff1a06
|
4
|
+
data.tar.gz: deb1c54af3238a9f8fea9f8cdb084acfde187590dc621f5280a2798dd48426cc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f170fcdfbad3ebe441d3860eec5123cd2e165749e9fb64824e9e5db1948ba2ff01fb4d8d52da6ce3ad1d607d2235b0bc58f670b95b78a57595b34b039471a689
|
7
|
+
data.tar.gz: ad9180ddaf1ed6698627fc42bfb415cbf12abf5e6a9459483ec2c69c5bc6ef14c8465c95c5fd98934bb1d5bdbaf8c0a9c52bec27e0d6a7c34ff2fae7158b4aa7
|
@@ -96,18 +96,24 @@ module Imap::Backup
|
|
96
96
|
debug("uid: #{uid} (#{index}/#{uids.count}) - #{body.size} bytes")
|
97
97
|
serializer.append uid, body, flags
|
98
98
|
end
|
99
|
+
rescue StandardError => e
|
100
|
+
error(e)
|
99
101
|
end
|
100
102
|
|
101
103
|
def uids
|
102
104
|
@uids ||= folder.uids - serializer.uids
|
103
105
|
end
|
104
106
|
|
105
|
-
def info(message)
|
106
|
-
Logger.logger.info("[#{folder.name}] #{message}")
|
107
|
-
end
|
108
|
-
|
109
107
|
def debug(message)
|
110
108
|
Logger.logger.debug("[#{folder.name}] #{message}")
|
111
109
|
end
|
110
|
+
|
111
|
+
def error(message)
|
112
|
+
Logger.logger.error("[#{folder.name}] #{message}")
|
113
|
+
end
|
114
|
+
|
115
|
+
def info(message)
|
116
|
+
Logger.logger.info("[#{folder.name}] #{message}")
|
117
|
+
end
|
112
118
|
end
|
113
119
|
end
|
data/lib/imap/backup/logger.rb
CHANGED
data/lib/imap/backup/migrator.rb
CHANGED
data/lib/imap/backup/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: imap-backup
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 14.
|
4
|
+
version: 14.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joe Yates
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-10-
|
11
|
+
date: 2023-10-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: highline
|