humdrum 0.0.5 → 0.0.6

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: 7a841867e60609430a12fa0a5a5b2e774ea495fe
4
- data.tar.gz: 411083431ff961d2734c34c20a81e01acc706358
3
+ metadata.gz: d8de34eb78c3f8628b4680ed349f162912adae8e
4
+ data.tar.gz: 52551b84da2170a50ec9d49b8490b2119a5fe333
5
5
  SHA512:
6
- metadata.gz: 7c1cf1a1c13151d3d52d829b4592b81abd1c88453c38e07d2e73ff3c424726b29e5fbc7d490688e1692e3ea94225ae31660f16563ddf46671b9d9ec2711b1025
7
- data.tar.gz: 1bcf4f043e17d267059c86aec81bb5442a91a0760a4cba9e3045692e931c88d35bfed79da2f39d44d371e0bb37c400411a6823d4d5237d78b5d454b4f65ea9bb
6
+ metadata.gz: 36c8703dd055ae11d60959fb2fe0fdbcf7d9fa2f3b179806a8f83f2400377c27048bb5ff07eaba27d2ae274d2b3ac281a9a15e60784846e02cd7bbeef58734b8
7
+ data.tar.gz: 008e625583388abb225e9a3175122dd52a84062ea6bfd2d8d25cc9080473c8d9809421b664ab90f9359ee552815d0dce7a6c863201d137302676f9421aa4fe33
data/README.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  Humdrum is a simple gem for checking whether an email address is from a common public domain (e.g. gmail.com, hotmail.com etc.).
4
4
 
5
+ New in 0.0.5: Check if an email belongs to a microsoft domain.
6
+
5
7
  ## Installation
6
8
 
7
9
  Add this line to your application's Gemfile:
@@ -27,6 +29,12 @@ Or install it yourself as:
27
29
  Humdrum.is_common? 'unique@validseriousbusiness.org'
28
30
  => FALSE
29
31
 
32
+ Humdrum.is_outlook? 'user@hotmail.com'
33
+ => TRUE
34
+
35
+ Humdrum.is_outlook? 'user@gmail.com'
36
+ => FALSE
37
+
30
38
 
31
39
  ## Contributing
32
40
 
@@ -797,6 +797,7 @@ module Humdrum
797
797
 
798
798
  def self.ms_list
799
799
  ms_list = {
800
+ "hotmail.com" => 1,
800
801
  "outlook.com" => 1,
801
802
  "hotmail.fr" => 1,
802
803
  "live.com" => 1,
@@ -1,3 +1,3 @@
1
1
  module Humdrum
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: humdrum
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nick Bender