coruro-ruby 0.2.0 → 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/lib/coruro/version.rb +1 -1
- data/lib/coruro.rb +2 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 35410c07f4be2bbfb10670dd91911a25cb1fd2c139f399e5edb36b7f52bbc561
|
4
|
+
data.tar.gz: 1ea76eb2a6bbdcfcfaa76666f6c731a2bfb6adafe621b49daac44c56543857a7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4899953ebfed2373e7cc2429821ae7c454985a06f358a62dca485f03c1c96c080448269b5ecf0bed7d20b999af932dfccfe951b864a93ba11d41af417c454fd8
|
7
|
+
data.tar.gz: ae7dbb9fece11a9c2c6bd3eae9c7b4d8b01ec3a9470a169ecac46820156e7acf1476812e41a08a9ee90bf2454e6af524f37b977ef1a689b1cd19c37b370375a6
|
data/lib/coruro/version.rb
CHANGED
data/lib/coruro.rb
CHANGED
@@ -15,7 +15,7 @@ class Coruro
|
|
15
15
|
case adapter
|
16
16
|
when :mailcatcher
|
17
17
|
self.adapter = MailcatcherAdapter.new(timeout: timeout, config: adapter_config)
|
18
|
-
self.adapter.start
|
18
|
+
self.adapter.start unless self.adapter.up?
|
19
19
|
else
|
20
20
|
raise UnrecognizedAdapterError, adapter
|
21
21
|
end
|
@@ -28,6 +28,7 @@ class Coruro
|
|
28
28
|
until adapter.up? || count > 5
|
29
29
|
on_tick.call(count)
|
30
30
|
sleep(1)
|
31
|
+
count = count + 1
|
31
32
|
end
|
32
33
|
end
|
33
34
|
|