{"id":19856956,"url":"https://github.com/johnvuko/validates_email_format_of","last_synced_at":"2025-06-17T17:32:21.233Z","repository":{"id":2107393,"uuid":"3048951","full_name":"johnvuko/validates_email_format_of","owner":"johnvuko","description":"A plugin for validate format of email and blacklist some domains.","archived":false,"fork":false,"pushed_at":"2012-12-13T06:24:16.000Z","size":120,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-10T00:42:47.635Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/johnvuko.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-12-25T19:40:44.000Z","updated_at":"2014-02-12T06:00:35.000Z","dependencies_parsed_at":"2022-09-02T05:50:39.583Z","dependency_job_id":null,"html_url":"https://github.com/johnvuko/validates_email_format_of","commit_stats":null,"previous_names":["johnvuko/validates_email_format_of"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/johnvuko/validates_email_format_of","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnvuko%2Fvalidates_email_format_of","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnvuko%2Fvalidates_email_format_of/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnvuko%2Fvalidates_email_format_of/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnvuko%2Fvalidates_email_format_of/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/johnvuko","download_url":"https://codeload.github.com/johnvuko/validates_email_format_of/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnvuko%2Fvalidates_email_format_of/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260408623,"owners_count":23004553,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-12T14:17:03.941Z","updated_at":"2025-06-17T17:32:16.224Z","avatar_url":"https://github.com/johnvuko.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"validates_email_format_of\n======================\n\nA plugin for validate format of email and blacklist or whitelist some domains.\n\nInstallation\n------------\n\nInclude the gem in your Gemfile:\n\n    gem 'validates_email_format_of', :git =\u003e 'https://github.com/jonathantribouharet/validates_email_format_of'\n\n\nUsage\n-----\n\nIn your model:\n\t\n\tclass User \u003c ActiveRecord::Base\n\t\tvalidates :email, :email =\u003e true\n\tend\n\nOr\n\n\tclass User \u003c ActiveRecord::Base\n\t\tvalidates_email_format_of :email\n\tend\n\t\nFor blacklist or whitelist some domains add in a initializer:\n\n\tEmailValidator.blacklist_domains = ['yopmail.com', 'jetable.org']\n\tEmailValidator.whitelist_domains = ['gmail.com', 'hotmail.com']\n\n\nI18n support\n------------\n\n* `errors.messages.not_an_email_adress` is used for an invalid format\n* `errors.messages.not_a_valid_email_adress` is used for an invalid domain\n\n\nWarning\n-------\n\nThe validation downcase the email.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnvuko%2Fvalidates_email_format_of","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohnvuko%2Fvalidates_email_format_of","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnvuko%2Fvalidates_email_format_of/lists"}