Providly
Providly is a simple ruby gem that checks if email domain name is a provider.
Installation
Add this line to your application's Gemfile:
gem 'providly'
Or install it yourself as:
$ gem install providly
Usage
Providly.email_uses_provider? 'email@gmail.com' # => true
Providly.email_uses_provider? 'email@elcurator.net' # => false
Provider domains list
Provider list is a simple text file with known providers: lib/providly/provider_domains.txt
Sources of this list are:
- https://gist.github.com/tbrianjones/5992856
- https://gitlab.com/synappio/free-email-domains
- https://github.com/ivolo/disposable-email-domains
If you want to add providers, please make an Issue or a Pull Request.
Contributing
Bug reports and pull requests are welcome on GitHub.
- Fork it ( https://github.com/elcurator/providly/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.
License
The gem is available as open source under the terms of the MIT License.