email-authentication 0.2.0 → 0.2.2
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 +1 -1
- data/bin/check_and_addvtiger_list.rb +1 -1
- data/lib/email-authentication/base.rb +4 -1
- 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: 7090e4d1c2bb047c090cb3c0c2ad13f871f481c0
|
|
4
|
+
data.tar.gz: c25e9bd5a2e8082825b10323ae7c8872a6c13bcd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 271a2a4d9ecc4d45bd83d2ea6ed586f370ddffe379cad6270523d9c251c70ea99c710f79b15b35816ac294c7a645e51285123558ade9acd537310296263398b5
|
|
7
|
+
data.tar.gz: ad545267bb51a87e1353a5c4e906a323e92a9493e31960dbe7aff4f4aa5e1d5ab568eeb9d17f1703eceeaaac1dca5bcc38de21e352669dd7c5fc6a143c639e56
|
data/Gemfile.lock
CHANGED
|
@@ -24,7 +24,7 @@ puts "Check check_and_addvtiger_list.rb filename <from> <url> <username> <key>"
|
|
|
24
24
|
@vtiger_cmd.addleademail(options,ln,co,email,hashv)
|
|
25
25
|
end
|
|
26
26
|
|
|
27
|
-
puts "Address is #{[address]} From address [#{from}]"
|
|
27
|
+
#puts "Address is #{[address]} From address [#{from}]"
|
|
28
28
|
setup_vtiger_internal
|
|
29
29
|
@f=EmailAuthentication::Base.new
|
|
30
30
|
File.open(filename).each do |line|
|
|
@@ -51,7 +51,7 @@ module EmailAuthentication
|
|
|
51
51
|
begin
|
|
52
52
|
ret = self.resolver.query(@domain, Types.MX)
|
|
53
53
|
if ret.answer!=nil and ret.rcode=='NOERROR'
|
|
54
|
-
@mx=ret.answer.first.exchange.to_s if ret.answer!=nil
|
|
54
|
+
@mx=ret.answer.first.exchange.to_s if ret.answer!=nil
|
|
55
55
|
@mx=@mx.downcase
|
|
56
56
|
msg= "mx record #{self.mx}"
|
|
57
57
|
puts msg
|
|
@@ -60,6 +60,9 @@ module EmailAuthentication
|
|
|
60
60
|
rescue Dnsruby::NXDomain
|
|
61
61
|
msg="non existing domain #{@domain}"
|
|
62
62
|
puts msg
|
|
63
|
+
rescue Exception => e
|
|
64
|
+
msg="exception #{e.message}"
|
|
65
|
+
puts msg
|
|
63
66
|
end
|
|
64
67
|
|
|
65
68
|
else
|
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-26T18:
|
|
17
|
+
<div class="timestamp">Generated <abbr class="timeago" title="2013-10-26T18:47:48+08:00">2013-10-26T18:47:48+08:00</abbr></div>
|
|
18
18
|
<ul class="group_tabs"></ul>
|
|
19
19
|
|
|
20
20
|
<div id="content">
|