rounders 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: be6415479b6a224ed1dba6fc0bb19c31821f37a9
|
4
|
+
data.tar.gz: '092919be2e60ccbdb1a7b7f244cc146ceb353796'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a010aa967fb777c36cbf6d4cdcba2fac9eb2a93d08b418c846259ab8cd79cc95f678ee2f1dd269b10ce5167e2830c0fb0ee62e3a4153b2023d78f6c967ecec0c
|
7
|
+
data.tar.gz: ef44c6888be7ac34467a61ad248e74a0f7d11d3ce938450adb2354da4edee440ce5d085652c125935dc6c071f37fdf666918a6d25720765905910b5a6f15a7b9
|
@@ -9,7 +9,8 @@ Rounders::Receivers::Mail.configure do |config|
|
|
9
9
|
password: ENV['GMAIL_PASSWORD'],
|
10
10
|
enable_ssl: true
|
11
11
|
}
|
12
|
-
|
12
|
+
|
13
|
+
config.options = {
|
13
14
|
# flag for whether to delete each receive mail after find Default: false
|
14
15
|
# delete_after_find: true
|
15
16
|
}
|
@@ -2,14 +2,6 @@ module Rounders
|
|
2
2
|
module Receivers
|
3
3
|
class Receiver
|
4
4
|
class << self
|
5
|
-
def create_client(config)
|
6
|
-
retriever = parser.lookup_retriever_method(config.protocol)
|
7
|
-
new(
|
8
|
-
client: retriever.new(config.mail_server_settings),
|
9
|
-
find_options: config.find_options
|
10
|
-
)
|
11
|
-
end
|
12
|
-
|
13
5
|
def inherited(child_class)
|
14
6
|
child_class.include Rounders::Plugins::Pluggable
|
15
7
|
child_class.extend Dry::Configurable
|
data/lib/rounders/version.rb
CHANGED