email_homepage 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8db8bc7d005a3d12d739050fbb9f7281ea768779
4
- data.tar.gz: ac32742beaecf79b8d56dd65903b128b370443ba
3
+ metadata.gz: 2c377e15d782328f6aef065998d32e9a1d00d389
4
+ data.tar.gz: 1fca76fafedd18d643e71273d22743dfe0f55ff8
5
5
  SHA512:
6
- metadata.gz: fdfff4f1ca8eec92dc39109b313fbc3ac1d6b8188e64249ef03a658608858f3e353eff6233158f0a230b533732e6a9800fca0fc75100439899e6cbb819000525
7
- data.tar.gz: f1dfdc0c54a07e8c1883c1ca5e00a8af2b340f2ba9a34554b7831a477c516dc0978455fc7c23b71f871572935b05e8c0c35e58508c536728a9ed9b31b5355065
6
+ metadata.gz: 2938dc38a326efbf944d8af56cabe8d45b8f08a14cccb435aacde2ed0ea2f03c5cc269e565b3d227fb8f2907a9782066ca86bdc539d5f1159f332999e6568772
7
+ data.tar.gz: caf331e003006b614916142d63447c51f21ea43c04fe6f6a495e3654228e51d7dc554edee821f2ef487a6bc57fb42c89540bfbd20cf8a7d626599d587775e480
data/.gitignore CHANGED
@@ -1,9 +1,5 @@
1
- /.bundle/
2
- /.yardoc
3
- /Gemfile.lock
4
- /_yardoc/
5
- /coverage/
6
- /doc/
7
- /pkg/
8
- /spec/reports/
9
- /tmp/
1
+ *.swp
2
+ *.gem
3
+ .bundle
4
+ Gemfile.lock
5
+ pkg/*
data/README.md CHANGED
@@ -23,7 +23,7 @@ google, qq, 163, 126, sohu, sina, aliyun, yahoo, tom, yeah, 21cn, outlook, hotma
23
23
  ```
24
24
  ####Enterprise Mailbox
25
25
  ```
26
- qq, 163, google, aliyun, sina, zoho, sohu, 189
26
+ qq, 163, google, outlook, aliyun, sina, zoho, sohu, 189
27
27
  ```
28
28
 
29
29
  ## Usage
@@ -35,4 +35,4 @@ EmailHomepage.get("my@163.com") # return "http://mail.163.com"
35
35
 
36
36
  ## Contributing
37
37
 
38
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/email_homepage.
38
+ Bug reports and pull requests are welcome on GitHub at https://github.com/gallifreyer/email-homepage.
@@ -31,7 +31,7 @@ module EmailHomepage
31
31
  elsif email_address.match /@21cn.com/
32
32
  return "http://mail.21cn.com"
33
33
  elsif (email_address.match /@hotmail.com/) || (email_address.match /@outlook.com/) || (email_address.match /@live.com/)
34
- return "outlook.office.com"
34
+ return "http://outlook.office.com"
35
35
  elsif email_address.match /@sogou.com/
36
36
  return "http://mail.sogou.com"
37
37
  elsif email_address.match /@188.com/
@@ -46,13 +46,13 @@ module EmailHomepage
46
46
  domain_name = email_address.split(/@/).last
47
47
  host_name = `host #{domain_name} | grep mail | awk 'NR==1{print $7}'`
48
48
  if host_name.match /qq.com/
49
- return "http://exmail.qq.com/"
49
+ return "http://exmail.qq.com/login"
50
50
  elsif (host_name.match /163.com/) || (host_name.match /netease.com/)
51
51
  return "http://ym.163.com/"
52
52
  elsif (host_name.match /google.com/) || (host_name.match /googlemail.com/)
53
53
  return "https://www.google.com/intl/zh-CN/mail/help/work.html"
54
54
  elsif (host_name.match /outlook.com/) || (email_address.match /@hotmail.com/) || (email_address.match /@live.com/)
55
- return "outlook.office.com"
55
+ return "http://outlook.office.com"
56
56
  elsif host_name.match /aliyun.com/
57
57
  return "https://mail.aliyun.com/"
58
58
  elsif host_name.match /sina.net/
@@ -1,3 +1,3 @@
1
1
  module EmailHomepage
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: email_homepage
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - ycwei