imap-backup 6.2.1 → 6.3.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/setup/account.rb +4 -0
- data/lib/imap/backup/setup/backup_path.rb +1 -5
- data/lib/imap/backup/version.rb +2 -2
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1725278faef6eec96440019b9e02e50bd4d46c036bf86e3dbfe0d7ad56350350
|
4
|
+
data.tar.gz: d923d786db2db4e1b23c28efbdd3104ea709388be3aedf4d82ee7714862001cf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 295c250e9991506cccc422b00e10623ac53acdcb376a8d5f6044406890668c6dc512216af455a55bfb701e3eaaeb4bc4908942416fe7578d6814f4b017a8e465
|
7
|
+
data.tar.gz: fa50ad39547df62b535f592604fb72477d134e7206c8be9e01dedc6765edb6bc2d3ac1faad75eefb402f9c8ba9a5050e93ca6cfeb015653c68db0a0e0427329f
|
@@ -12,17 +12,13 @@ module Imap::Backup
|
|
12
12
|
|
13
13
|
def run
|
14
14
|
account.local_path = highline.ask("backup directory: ") do |q|
|
15
|
-
q.default = account.local_path
|
15
|
+
q.default = account.local_path
|
16
16
|
q.readline = true
|
17
17
|
q.validate = ->(path) { path_modification_validator(path) }
|
18
18
|
q.responses[:not_valid] = "Choose a different directory "
|
19
19
|
end
|
20
20
|
end
|
21
21
|
|
22
|
-
def default
|
23
|
-
File.join(config.path, account.username.tr("@", "_"))
|
24
|
-
end
|
25
|
-
|
26
22
|
private
|
27
23
|
|
28
24
|
def highline
|
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: 6.
|
4
|
+
version: 6.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joe Yates
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-08-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: highline
|
@@ -256,7 +256,7 @@ licenses:
|
|
256
256
|
- MIT
|
257
257
|
metadata:
|
258
258
|
rubygems_mfa_required: 'true'
|
259
|
-
post_install_message:
|
259
|
+
post_install_message:
|
260
260
|
rdoc_options: []
|
261
261
|
require_paths:
|
262
262
|
- lib
|
@@ -272,7 +272,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
272
272
|
version: '0'
|
273
273
|
requirements: []
|
274
274
|
rubygems_version: 3.1.6
|
275
|
-
signing_key:
|
275
|
+
signing_key:
|
276
276
|
specification_version: 4
|
277
277
|
summary: Backup GMail (or other IMAP) accounts to disk
|
278
278
|
test_files: []
|