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

substancelab / activemodel-email_address_validator / 55 / 4
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: dependabot/add-v2-config-file
DEFAULT BRANCH: master
Ran 22 Jan 2019 08:11AM UTC
Files 4
Run time 0s
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

22 Jan 2019 08:06AM UTC coverage: 100.0%. First build
2.5.3

push

travis-ci

koppen
Implement the old behavior with new syntax

In other words, when specifying a regex using `:format` we'll convert it
internally to a rule using `:with`.

In other words, the following:

    validates :email, :email_address => {:format => /.+@.+/}

is equivalent to this:

    validates :email, :email_address => {:with => /.+@.+/}

and is processed the same way behind the scenes.

We cannot yet remove `EmailAddress#valid_with_regex?`, unfortunately, as that is
in effect a public method and could be used externally. We should probably
deprecate it eventually.

92 of 92 relevant lines covered (100.0%)

5.26 hits per line

Source Files on job 55.4 (2.5.3)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 55
  • Travis Job 55.4
  • 6114caee on github
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