imap-backup 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -1
- data/README.md +3 -1
- data/lib/imap/backup/configuration/asker.rb +1 -1
- data/lib/imap/backup/serializer/mbox.rb +5 -5
- data/lib/imap/backup/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 67b29d9a3aa003996be5342c878f6f8b1913af72
|
4
|
+
data.tar.gz: c02b3d254d4dd9a31e7413d544f1addd7d4c819f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0256eb8c8912aff11b0024a0ab469c108d38de832b25b86773be037c4b1197180aa26c292f637545abbfb9d27703d1b4125feff59c84f8ff1083d3843ec446f4
|
7
|
+
data.tar.gz: 3ef69ac66055551d01299647db1d90057f79d976f05a7821d34cacf945dff6e144ccba411d1ceafb081d4262ca2859e9454aebe8d1fbb9d1d688aefa26ce6f04
|
data/.travis.yml
CHANGED
data/README.md
CHANGED
@@ -104,9 +104,11 @@ Specifically, if you are using a self-signed certificate and get SSL errors, e.g
|
|
104
104
|
}
|
105
105
|
```
|
106
106
|
|
107
|
-
##
|
107
|
+
## GMail
|
108
108
|
|
109
109
|
* Enable IMAP access to your account via the GMail interface (Settings/Forwarding and POP/IMAP),
|
110
|
+
* Under 'Sign-in & security', 'Signing in to Google', 'App passwords', generate a password
|
111
|
+
for imap-backup,
|
110
112
|
* In imap-backup setup, set the server to imap.gmail.com
|
111
113
|
|
112
114
|
# Security
|
@@ -65,7 +65,7 @@ module Imap::Backup
|
|
65
65
|
def create_containing_directory
|
66
66
|
mbox_relative_path = File.dirname(mbox_relative_pathname)
|
67
67
|
return if mbox_relative_path == '.'
|
68
|
-
Utils.make_folder(
|
68
|
+
Utils.make_folder(path, mbox_relative_path, Serializer::DIRECTORY_PERMISSIONS)
|
69
69
|
end
|
70
70
|
|
71
71
|
def exist?
|
@@ -81,16 +81,16 @@ module Imap::Backup
|
|
81
81
|
end
|
82
82
|
|
83
83
|
def mbox_relative_pathname
|
84
|
-
|
84
|
+
folder + '.mbox'
|
85
85
|
end
|
86
86
|
|
87
87
|
def mbox_pathname
|
88
|
-
File.join(
|
88
|
+
File.join(path, mbox_relative_pathname)
|
89
89
|
end
|
90
90
|
|
91
91
|
def imap_pathname
|
92
|
-
filename =
|
93
|
-
File.join(
|
92
|
+
filename = folder + '.imap'
|
93
|
+
File.join(path, filename)
|
94
94
|
end
|
95
95
|
|
96
96
|
def lock
|
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: 1.
|
4
|
+
version: 1.2.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:
|
11
|
+
date: 2017-08-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -168,7 +168,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
168
168
|
version: '0'
|
169
169
|
requirements: []
|
170
170
|
rubyforge_project:
|
171
|
-
rubygems_version: 2.
|
171
|
+
rubygems_version: 2.6.11
|
172
172
|
signing_key:
|
173
173
|
specification_version: 4
|
174
174
|
summary: Backup GMail (or other IMAP) accounts to disk
|