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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 922c427332a2ff4d0d1305b48df25f4c77c974cf
4
- data.tar.gz: a1262da63fdd8070f948c91d747a3654e1244e8b
3
+ metadata.gz: 28a232f49873f9b54bb0308eb38debb929543dd1
4
+ data.tar.gz: 5fa231cd17dd2900fa8486b5968c32bcc7196408
5
5
  SHA512:
6
- metadata.gz: d24993a136b1ea6b54e95945288f8ac3d53f43a8308c66147f8887bcf3dc9973aabc969f8153a82855a3a16a06d5737c6232dc385e078d9ea2e4c4fc121c47ef
7
- data.tar.gz: 029c5f2f55907cd6ff5b55d8b4effdfd30f5090fa7fbb0ebc31e7a4681dfe89e25517d7da0258688f053dba34df5f7ec8379a23b04903e942dcdf1ddb2fbc7a1
6
+ metadata.gz: 29dc1f03f8dbacce6d2bb2a181bc6406465a7679aa5ba406782a0e7d8aec06944f7debafe0e58c8f59574954932993f3a7f6fd51828fd448757234bbf1b0670d
7
+ data.tar.gz: 97cbc2576ef6299063e7d8623cf5a7df42c20c40e0c233bcfe032b87697526395ad273e633d5ead62682f599e94b3f3752e9636c1ab22a2b0a6ae8160a94e975
@@ -1,8 +1,9 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- email-authentication (0.2.3)
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
@@ -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-28T09:29:06+08:00">2013-10-28T09:29:06+08:00</abbr></div>
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">
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.4
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Scott Sproule