rounders 0.4.0 → 0.4.1

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
  SHA1:
3
- metadata.gz: 45547d405ca80484bf5a309a7f0784b0c6d0d16d
4
- data.tar.gz: b1935a235c262dc8517499725dd60c56701b5a1a
3
+ metadata.gz: be6415479b6a224ed1dba6fc0bb19c31821f37a9
4
+ data.tar.gz: '092919be2e60ccbdb1a7b7f244cc146ceb353796'
5
5
  SHA512:
6
- metadata.gz: e5ddda05355cc11f219ff0cc6e62a77c8161a8034535f4c9f4277a92a6ca0eaec6e46805ea1c1d05053324958e85e6889a6fa48cfbfe86df1f2342a932fa369c
7
- data.tar.gz: '049ab0e60c9eb09a101909ec29cde953285824520b04e2a86a34f3c6fd4715226a60cd40953d54a6b0dad48886dd6326b02ce2f3767e2f8635c492e41e8732b7'
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
- config.find_options = {
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
@@ -1,3 +1,3 @@
1
1
  module Rounders
2
- VERSION = '0.4.0'.freeze
2
+ VERSION = '0.4.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rounders
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - akira.takahashi