imap-backup 15.0.3.rc1 → 15.1.3
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.
- checksums.yaml +4 -4
- data/docs/performance.md +5 -7
- data/lib/imap/backup/cli/single.rb +2 -2
- data/lib/imap/backup/version.rb +2 -2
- metadata +3 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9a391a879278c1f286d5756ebfc3e77c39acda7e5ec9441776e30fb720251cee
|
4
|
+
data.tar.gz: bcd9c851be504e9c775a241a21e1ecc708baf4f05ff7fe42160e7468c10ca3f3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 289206eb94864c60e82b35db46e9f5d7531f73692bd10c02d407e800c77aa00597a149cfc7d05f749abe8d8189745a4b9b5a184fd8df472ea13d646fe8065105
|
7
|
+
data.tar.gz: b38e2740e7862fc92175a684dfd93a3b176ed3b8e56ae2ee6438490577ab54002238ecdf4d6f1449d0c557ca5996eea1b81f6aabbb6aaaa47ad455796b431903
|
data/docs/performance.md
CHANGED
@@ -1,14 +1,12 @@
|
|
1
|
-
#
|
1
|
+
# Performance
|
2
2
|
|
3
|
-
The two performance-related settings are "Download strategy",
|
4
|
-
which is a global setting,
|
5
|
-
and "Multi-fetch size", which is an Account-level setting.
|
3
|
+
The two performance-related settings are "Download strategy", which is a global setting, and "Multi-fetch size", which is an Account-level setting.
|
6
4
|
|
7
5
|
As with all performance tweaks, there are trade-offs.
|
8
6
|
|
9
7
|
# Overview
|
10
8
|
|
11
|
-
The defaults, which suit most machines and
|
9
|
+
The defaults, which suit most machines and play nice with servers are:
|
12
10
|
|
13
11
|
* Download strategy: "delay writing metadata",
|
14
12
|
* Multi-fetch size: 1.
|
@@ -18,7 +16,7 @@ a small virtual server or Raspberry Pi
|
|
18
16
|
to run your backups, you can change "Download strategy".
|
19
17
|
|
20
18
|
If your email provider supports it,
|
21
|
-
and you don't have tight
|
19
|
+
and you don't have tight memory limits,
|
22
20
|
increase "Multi-fetch size" for faster backups.
|
23
21
|
|
24
22
|
# Delay download writes
|
@@ -45,7 +43,7 @@ By default, during backup, each message is downloaded one-by-one.
|
|
45
43
|
Using this setting, you can download chunks of emails at a time,
|
46
44
|
potentially speeding up the process.
|
47
45
|
|
48
|
-
Using multi-fetch
|
46
|
+
Using multi-fetch mean that the backup process *will* use
|
49
47
|
more memory - equivalent to the size of the groups of messages
|
50
48
|
that are downloaded.
|
51
49
|
|
@@ -88,7 +88,7 @@ module Imap::Backup
|
|
88
88
|
"password-environment-variable",
|
89
89
|
type: :string,
|
90
90
|
desc: "an environment variable that is set to your password",
|
91
|
-
aliases: ["-
|
91
|
+
aliases: ["-w"]
|
92
92
|
)
|
93
93
|
method_option(
|
94
94
|
"password-file",
|
@@ -137,7 +137,7 @@ module Imap::Backup
|
|
137
137
|
"mirror",
|
138
138
|
type: :boolean,
|
139
139
|
desc: "if this option is given, " \
|
140
|
-
"emails that are
|
140
|
+
"existing backed-up emails that are no longer on the server " \
|
141
141
|
"will be removed from the local backup.",
|
142
142
|
aliases: ["-m"]
|
143
143
|
)
|
data/lib/imap/backup/version.rb
CHANGED
@@ -4,11 +4,11 @@ module Imap::Backup
|
|
4
4
|
# @private
|
5
5
|
MAJOR = 15
|
6
6
|
# @private
|
7
|
-
MINOR =
|
7
|
+
MINOR = 1
|
8
8
|
# @private
|
9
9
|
REVISION = 3
|
10
10
|
# @private
|
11
|
-
PRE =
|
11
|
+
PRE = nil
|
12
12
|
# The application version
|
13
13
|
VERSION = [MAJOR, MINOR, REVISION, PRE].compact.map(&:to_s).join(".")
|
14
14
|
end
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: imap-backup
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 15.
|
4
|
+
version: 15.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joe Yates
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: highline
|
@@ -219,7 +218,6 @@ licenses:
|
|
219
218
|
- MIT
|
220
219
|
metadata:
|
221
220
|
rubygems_mfa_required: 'true'
|
222
|
-
post_install_message:
|
223
221
|
rdoc_options: []
|
224
222
|
require_paths:
|
225
223
|
- lib
|
@@ -234,8 +232,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
234
232
|
- !ruby/object:Gem::Version
|
235
233
|
version: '0'
|
236
234
|
requirements: []
|
237
|
-
rubygems_version: 3.
|
238
|
-
signing_key:
|
235
|
+
rubygems_version: 3.6.7
|
239
236
|
specification_version: 4
|
240
237
|
summary: Backup GMail (or other IMAP) accounts to disk
|
241
238
|
test_files: []
|