actionmailbox-imap 0.2.4 → 0.2.5

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1a4546fa118314e4970cebeb9908ad184ea96b4ddd0f2fe016bd95f4874a3ae7
4
- data.tar.gz: 782481e8fb2e40a4d18553351344bb3315c929bda28b15881328c55bba065dbf
3
+ metadata.gz: 191b263c6069ec95a92a4cf79e6566c6d03045d73548056429dbe235a93c5b6f
4
+ data.tar.gz: c26295bf2736625f1a8406030b176117d09299b9eac3b100cb7325f96e62fd8d
5
5
  SHA512:
6
- metadata.gz: 3331cd3bd988e62ac31e9e2fe20d3ce4a08cf06f23686a905e1879fb7479361d3a8e94a6255814dcede40fe775ffed352237cf3805fa43c3134f234d409ff508
7
- data.tar.gz: 8e40e6bf28107fabe298a7b32397e54282f57a4e35ed42fa28d7de8d7a8f4ee6f7c300256c9507277bc5a722a5c5768200bae38b342655fadc30077a6625191f
6
+ metadata.gz: 0a46bfbf154c36710c9db771bbd6b4663320d0c79ff3def6a25184b10480978265686e54e87a36f88f1a360367cbc6511e42333ba908e3614441d0aca8e60de4
7
+ data.tar.gz: 6c485f9c416cbb10261d6c98bdf742d4c2a0022fcfc7346d1e0090ffb5ef20e660271dfaed9d619799daa187897282e56d6a4bc9c18fc612f91c5e8cbe1621bb
data/README.md CHANGED
@@ -51,9 +51,9 @@ $ rails g imap:install
51
51
 
52
52
  Prepare your IMAP server and account by ensuring/creating the mailboxes for `ingress_mailbox`, ex: "INBOX".
53
53
 
54
- Update the `config/imap.yml` that was generated to include server and credentials information, `mailbox`. Currently SSL is required.
54
+ Update the `config/actionmailbox_imap.yml` that was generated to include server and credentials information, `mailbox`. Currently SSL is required.
55
55
 
56
- Run the [ActionMailbox::IMAP Client](https://github.com/kimmelsg/actionmailbox-imap/blob/master/CLIENT.md) like so `URL=... INGRESS_PASSWORD=... ./actionmailbox-imap` from within rails root to begin processing emails.
56
+ Run the [ActionMailbox::IMAP Client](https://github.com/kimmelsg/actionmailbox-imap/blob/master/CLIENT.md) like so `URL=... INGRESS_PASSWORD=... RUBY=ruby BUNDLE=bundle ./actionmailbox-imap` from within rails root to begin processing emails.
57
57
 
58
58
  `NOTE: Running the client will begin immediately begin processing unread emails in the configured mailbox. The server (URL) needs to be running. You may also want to start from a empty, or plan on watching the process to ensure no performance issues occur.`
59
59
 
@@ -0,0 +1,56 @@
1
+ # Server
2
+ # The imap server to connect to.
3
+ server: ""
4
+
5
+ # Currently TLS is required
6
+ port: 993
7
+ tls: true
8
+
9
+ # Username
10
+ # Comment out in order to use URL environment variable.
11
+ username: ""
12
+
13
+ # Password
14
+ # Comment out in order to use URL environment variable.
15
+ password: ""
16
+
17
+ # Mailbox
18
+ # The mailbox to select unread messages from
19
+ mailbox: ""
20
+
21
+ #
22
+ # Workers
23
+ #
24
+ # This is the number of threads used to process
25
+ # all unread messages from the IMAP server.
26
+ #
27
+ # DO NOT use more workers than you have threads available.
28
+ workers: 4
29
+
30
+ # Wait (in ms)
31
+ #
32
+ # Once a server sends the ANY back from waiting
33
+ # for activity, you can wait some time before grabbing
34
+ # messages. This way the client should grab more than
35
+ # just the first message to to trigger activity.
36
+ wait: 800
37
+
38
+ # Ingress URL
39
+ # URL to rails actionmailbox relay inbound_emails
40
+ # Comment out in order to use URL environment variable.
41
+ url: ''
42
+
43
+ # Ingress Password
44
+ # Ingress password set in your rails credentials.
45
+ # Comment out in order to use INGRESS_PASSWORD environment variable.
46
+ ingress_password: ''
47
+
48
+ # Ruby
49
+ # Path to ruby command.
50
+ # Comment out in order to use RUBY environment variable.
51
+ ruby: ruby
52
+
53
+ # Bundle
54
+ # Path to bundle command.
55
+ # Comment out in order to use BUNDLE environment variable.
56
+ bundle: bundle
@@ -1,14 +1,14 @@
1
- server: "outlook.office365.com"
1
+ # Server
2
+ # The imap server to connect to.
3
+ server: ""
2
4
 
3
5
  # Currently TLS is required
4
6
  port: 993
5
7
  tls: true
6
8
 
7
- username: "walter2@kimmel.com"
8
- password: "Kimmel trench capon2"
9
-
9
+ # Mailbox
10
10
  # The mailbox to select unread messages from
11
- mailbox: "RETRY"
11
+ mailbox: ""
12
12
 
13
13
  #
14
14
  # Workers
@@ -1,5 +1,5 @@
1
1
  module Actionmailbox
2
2
  module Imap
3
- VERSION = "0.2.4"
3
+ VERSION = "0.2.5"
4
4
  end
5
5
  end
@@ -1,14 +1,22 @@
1
- server: "some.server.com"
1
+ # Server
2
+ # The imap server to connect to.
3
+ server: ""
2
4
 
3
5
  # Currently TLS is required
4
6
  port: 993
5
7
  tls: true
6
8
 
7
- username: "user@domain.com"
8
- password: "password"
9
+ # Username
10
+ # Comment out in order to use URL environment variable.
11
+ username: ""
9
12
 
13
+ # Password
14
+ # Comment out in order to use URL environment variable.
15
+ password: ""
16
+
17
+ # Mailbox
10
18
  # The mailbox to select unread messages from
11
- mailbox: "INBOX"
19
+ mailbox: ""
12
20
 
13
21
  #
14
22
  # Workers
@@ -26,3 +34,23 @@ workers: 4
26
34
  # messages. This way the client should grab more than
27
35
  # just the first message to to trigger activity.
28
36
  wait: 800
37
+
38
+ # Ingress URL
39
+ # URL to rails actionmailbox relay inbound_emails
40
+ # Comment out in order to use URL environment variable.
41
+ url: ''
42
+
43
+ # Ingress Password
44
+ # Ingress password set in your rails credentials.
45
+ # Comment out in order to use INGRESS_PASSWORD environment variable.
46
+ ingress_password: ''
47
+
48
+ # Ruby
49
+ # Path to ruby command.
50
+ # Comment out in order to use RUBY environment variable.
51
+ ruby: ruby
52
+
53
+ # Bundle
54
+ # Path to bundle command.
55
+ # Comment out in order to use BUNDLE environment variable.
56
+ bundle: bundle
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: actionmailbox-imap
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ethan Knowlton
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-08-27 00:00:00.000000000 Z
11
+ date: 2019-08-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -77,14 +77,15 @@ files:
77
77
  - MIT-LICENSE
78
78
  - README.md
79
79
  - Rakefile
80
- - config/actionmailbox_imap.yaml
80
+ - config/actionmailbox_imap_all.yaml
81
+ - config/actionmailbox_imap_minimum.yml
81
82
  - lib/actionmailbox/imap.rb
82
83
  - lib/actionmailbox/imap/railtie.rb
83
84
  - lib/actionmailbox/imap/version.rb
84
85
  - lib/generators/imap/install_generator.rb
85
86
  - lib/generators/imap/templates/config.yaml
86
87
  - lib/tasks/actionmailbox/ingress.rake
87
- homepage: https://github.com/kimmelsg
88
+ homepage: https://github.com/kimmelsg/actionmailbox-imap
88
89
  licenses:
89
90
  - MIT
90
91
  metadata: