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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 89c4eb7af559708bd64ede7bcd612b430c757bca
4
- data.tar.gz: 943f06ef86cece248a24ebc2910cf812358235b0
3
+ metadata.gz: 7090e4d1c2bb047c090cb3c0c2ad13f871f481c0
4
+ data.tar.gz: c25e9bd5a2e8082825b10323ae7c8872a6c13bcd
5
5
  SHA512:
6
- metadata.gz: 73b9efe98c659d595f21c5568c33a268a8cab99229937fb2f389209d5edcd7b91977675ee9612230ca443be1e8b330d099c4c44726bf6e999a017f48b5098d58
7
- data.tar.gz: 73204cd5b8c430b8cbd92c6d7572d5ca2e66c9de5f4e478a8cc172dfa5d9d20ff814456540bd3196482cd6659b7dc387a724a4b0477d660d2bf63329508c982b
6
+ metadata.gz: 271a2a4d9ecc4d45bd83d2ea6ed586f370ddffe379cad6270523d9c251c70ea99c710f79b15b35816ac294c7a645e51285123558ade9acd537310296263398b5
7
+ data.tar.gz: ad545267bb51a87e1353a5c4e906a323e92a9493e31960dbe7aff4f4aa5e1d5ab568eeb9d17f1703eceeaaac1dca5bcc38de21e352669dd7c5fc6a143c639e56
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- email-authentication (0.1.5)
4
+ email-authentication (0.2.1)
5
5
  dnsruby
6
6
 
7
7
  GEM
@@ -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
@@ -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:05:21+08:00">2013-10-26T18:05:21+08:00</abbr></div>
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">
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: email-authentication
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Scott Sproule