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 +4 -4
- data/README.md +8 -0
- data/lib/humdrum/humdrum_emails.rb +1 -0
- data/lib/humdrum/version.rb +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: d8de34eb78c3f8628b4680ed349f162912adae8e
|
|
4
|
+
data.tar.gz: 52551b84da2170a50ec9d49b8490b2119a5fe333
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
|
data/lib/humdrum/version.rb
CHANGED