• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

substancelab / activemodel-email_address_validator / 77
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: dependabot/add-v2-config-file
DEFAULT BRANCH: master
Ran 02 Aug 2019 09:38AM UTC
Jobs 4
Files 4
Run time 3s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
77

push

travis-ci

koppen
Clarify support for UTF-8 characters in email addresses

First of all, we already validate those as valid, so this is just a codification
of that expectation.

Second of all, it is a valid email address - at least according to RFC6532
<https://tools.ietf.org/html/rfc6532>. It still needs to be encoded properly
before actually being delivered. The Mail gem added support for this in v2.7.0:
https://github.com/mikel/mail/pull/1103.

That said, actually finding services that support this is still hard (in 2019).
Neither Gmail nor Hotmail supports this for their own local accounts, but can
send to email addresses with non-US ASCII characters. Exim has added
experimental support, it seems (https://bugs.exim.org/show_bug.cgi?id=1516).

Firefox, Chrome, and Safari rejects email addresses with non-US ASCII characters
when validating email fields. Mailguns email validation API says the address is
invalid (or rather it gives `"result": "unknown", `).

Regardless of the lack of widespread support we allow these addresses because
the guiding principle is:

> Don't reject a valid email address realistically in use by a potential user.
> Err on the side of accepting too much.

An email address with non-US ASCII characters can realistically be in use by a
potential user, even though the major international players doesn't support
that.

2 of 2 new or added lines in 1 file covered. (100.0%)

115 of 115 relevant lines covered (100.0%)

17.29 hits per line

Jobs
ID Job ID Ran Files Coverage
1 77.1 (2.4.6) 02 Aug 2019 09:38AM UTC 0
100.0
Travis Job 77.1
2 77.2 (2.5.5) 02 Aug 2019 09:38AM UTC 0
100.0
Travis Job 77.2
3 77.3 (2.6.3) 02 Aug 2019 09:38AM UTC 0
100.0
Travis Job 77.3
4 77.4 (2.7.0-preview1) 02 Aug 2019 09:38AM UTC 0
100.0
Travis Job 77.4
Source Files on build 77
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #77
  • d92953e5 on github
  • Prev Build on umlaut (#68)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc