popper 0.2.9 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -1
- data/lib/popper/action/exec_cmd.rb +1 -1
- data/lib/popper/mail_account.rb +1 -0
- data/lib/popper/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4046c6a869c83db64c170e8047830e1aa196ee95
|
4
|
+
data.tar.gz: 0487e61ee5edd2306b97bfd348e42d5f413be8a9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f65ed4b78ff0abe203ab68f9d921415b628853d5e78a5b0ccbb5ad70815c3cb7e223938942187fde1bd831ec6e78de52d83c4fc8de82c1c41067436433885a1d
|
7
|
+
data.tar.gz: a690f6169e5a4b08f65e064765bb0bc41d05789bbe821c8b34686d38a182994769b9e9d70a725adf634c9c8d679267580ad653ce53274d14faf7dd73e4b1c819
|
data/README.md
CHANGED
@@ -29,7 +29,7 @@ systmd service config: https://github.com/pyama86/popper/tree/master/init_script
|
|
29
29
|
|
30
30
|
# configure(toml)
|
31
31
|
## ~/popper/popper.conf
|
32
|
-
```
|
32
|
+
```toml
|
33
33
|
include = ["/etc/popper/*.conf"]
|
34
34
|
interval = 60 # fetch interbal default:60
|
35
35
|
|
@@ -52,6 +52,7 @@ user = "example@example.com"
|
|
52
52
|
password = "password"
|
53
53
|
port = 110(default)
|
54
54
|
ssl = false
|
55
|
+
delete_after = false
|
55
56
|
|
56
57
|
# <user_name>.default.condition
|
57
58
|
[example.default.condition]
|
data/lib/popper/mail_account.rb
CHANGED
@@ -29,6 +29,7 @@ module Popper
|
|
29
29
|
process_uidl_list(conn).each do |m|
|
30
30
|
begin
|
31
31
|
done_uidls << check_and_action(m)
|
32
|
+
m.delete if config.login.respond_to?(:delete_after) && config.login.delete_after
|
32
33
|
rescue Net::POPError => e
|
33
34
|
self.complete_list += done_uidls
|
34
35
|
Popper.log.warn "pop err write uidl"
|
data/lib/popper/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: popper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- pyama86
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-06-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|