email-authentication 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 +4 -4
- data/Gemfile.lock +3 -1
- data/lib/email-authentication/base.rb +2 -2
- data/test/coverage/index.html +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 28a232f49873f9b54bb0308eb38debb929543dd1
|
|
4
|
+
data.tar.gz: 5fa231cd17dd2900fa8486b5968c32bcc7196408
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 29dc1f03f8dbacce6d2bb2a181bc6406465a7679aa5ba406782a0e7d8aec06944f7debafe0e58c8f59574954932993f3a7f6fd51828fd448757234bbf1b0670d
|
|
7
|
+
data.tar.gz: 97cbc2576ef6299063e7d8623cf5a7df42c20c40e0c233bcfe032b87697526395ad273e633d5ead62682f599e94b3f3752e9636c1ab22a2b0a6ae8160a94e975
|
data/Gemfile.lock
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
email-authentication (0.2.
|
|
4
|
+
email-authentication (0.2.5)
|
|
5
5
|
dnsruby
|
|
6
|
+
thor
|
|
6
7
|
|
|
7
8
|
GEM
|
|
8
9
|
remote: https://rubygems.org/
|
|
@@ -16,6 +17,7 @@ GEM
|
|
|
16
17
|
multi_json (~> 1.0)
|
|
17
18
|
simplecov-html (~> 0.7.1)
|
|
18
19
|
simplecov-html (0.7.1)
|
|
20
|
+
thor (0.18.1)
|
|
19
21
|
|
|
20
22
|
PLATFORMS
|
|
21
23
|
ruby
|
|
@@ -82,7 +82,7 @@ module EmailAuthentication
|
|
|
82
82
|
|
|
83
83
|
def check_smtp
|
|
84
84
|
flag=false
|
|
85
|
-
msg='smtp ok'
|
|
85
|
+
msg='smtp not ok'
|
|
86
86
|
domain=self.from.split('@')
|
|
87
87
|
@fromdomain = domain[1]
|
|
88
88
|
if @mx.include?('google') or @mx.include?('live.com')
|
|
@@ -112,7 +112,7 @@ module EmailAuthentication
|
|
|
112
112
|
@flag=false
|
|
113
113
|
msg= "smtp exception #{e.message}"
|
|
114
114
|
end
|
|
115
|
-
end
|
|
115
|
+
end if @mx!=nil
|
|
116
116
|
|
|
117
117
|
[flag,msg]
|
|
118
118
|
end
|
data/test/coverage/index.html
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
<img src="./assets/0.7.1/loading.gif" alt="loading"/>
|
|
15
15
|
</div>
|
|
16
16
|
<div id="wrapper" style="display:none;">
|
|
17
|
-
<div class="timestamp">Generated <abbr class="timeago" title="2013-10-
|
|
17
|
+
<div class="timestamp">Generated <abbr class="timeago" title="2013-10-28T21:25:00+08:00">2013-10-28T21:25:00+08:00</abbr></div>
|
|
18
18
|
<ul class="group_tabs"></ul>
|
|
19
19
|
|
|
20
20
|
<div id="content">
|