From e058716ebfba0cc7eb8cf828fd10b495667a2cc4 Mon Sep 17 00:00:00 2001 From: Dustin Ingram Date: Wed, 28 Feb 2018 17:07:04 -0600 Subject: [PATCH 1/3] Link to contributors in README --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 053771d..44bc374 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ else: return True ``` -Available as [PyPI module](https://pypi.python.org/pypi/disposable-email-domains) thanks to @di +Available as [PyPI module](https://pypi.python.org/pypi/disposable-email-domains) thanks to [@di](https://github.com/di) ``` >>> from disposable_email_domains import blacklist >>> 'bearsarefuzzy.com' in blacklist @@ -41,7 +41,7 @@ function is_disposable_email($email) { return (isset($mail_domains_ko[$domain]) || array_key_exists($domain, $mail_domains_ko)); } ``` -**Ruby on Rails** contributed by @MitsunChieh +**Ruby on Rails** contributed by [@MitsunChieh](https://github.com/MitsunChieh) In resource model, usually it is `user.rb` ```Ruby @@ -58,7 +58,7 @@ def reject_email_blacklist end end ``` -**NodeJs** contributed by @martin-fogelman +**NodeJs** contributed by [@martin-fogelman](https://github.com/martin-fogelman) ```Node 'use strict'; @@ -138,6 +138,6 @@ Changelog * 7/31/17 @deguif [joined](https://github.com/martenson/disposable-email-domains/issues/106) as a core maintainer of this project. Thanks! -* 12/6/16 - Available as [PyPI module](https://pypi.python.org/pypi/disposable-email-domains) thanks to @di +* 12/6/16 - Available as [PyPI module](https://pypi.python.org/pypi/disposable-email-domains) thanks to [@di](https://github.com/di) * 7/27/16 - Converted all domains to the second level. This means that starting from [this commit](https://github.com/martenson/disposable-email-domains/commit/61ae67aacdab0b19098de2e13069d7c35b74017a) the implementers should take care of matching the second level domain names properly i.e. `@xxx.yyy.zzz` should match `yyy.zzz` in blacklist more info in [#46](https://github.com/martenson/disposable-email-domains/issues/46) From f6a950d1c0de67dfd9b0b7279f229eddecdc2ea9 Mon Sep 17 00:00:00 2001 From: Dustin Ingram Date: Wed, 28 Feb 2018 17:12:11 -0600 Subject: [PATCH 2/3] Use pypi.org instead --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 44bc374..9c7db32 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ else: return True ``` -Available as [PyPI module](https://pypi.python.org/pypi/disposable-email-domains) thanks to [@di](https://github.com/di) +Available as [PyPI module](https://pypi.org/project/disposable-email-domains) thanks to [@di](https://github.com/di) ``` >>> from disposable_email_domains import blacklist >>> 'bearsarefuzzy.com' in blacklist @@ -138,6 +138,6 @@ Changelog * 7/31/17 @deguif [joined](https://github.com/martenson/disposable-email-domains/issues/106) as a core maintainer of this project. Thanks! -* 12/6/16 - Available as [PyPI module](https://pypi.python.org/pypi/disposable-email-domains) thanks to [@di](https://github.com/di) +* 12/6/16 - Available as [PyPI module](https://pypi.org/project/disposable-email-domains) thanks to [@di](https://github.com/di) * 7/27/16 - Converted all domains to the second level. This means that starting from [this commit](https://github.com/martenson/disposable-email-domains/commit/61ae67aacdab0b19098de2e13069d7c35b74017a) the implementers should take care of matching the second level domain names properly i.e. `@xxx.yyy.zzz` should match `yyy.zzz` in blacklist more info in [#46](https://github.com/martenson/disposable-email-domains/issues/46) From 4a68b3bacc8b9ba0e5fbb57482f15bc4aca98ee1 Mon Sep 17 00:00:00 2001 From: Dustin Ingram Date: Wed, 28 Feb 2018 17:13:46 -0600 Subject: [PATCH 3/3] Syntax highlight Python code --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9c7db32..cfe210d 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ else: ``` Available as [PyPI module](https://pypi.org/project/disposable-email-domains) thanks to [@di](https://github.com/di) -``` +```python >>> from disposable_email_domains import blacklist >>> 'bearsarefuzzy.com' in blacklist True