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

substancelab / activemodel-email_address_validator
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: dependabot/add-v2-config-file
DEFAULT BRANCH: master
Repo Added 17 Oct 2015 09:40AM UTC
Files 4
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

LAST BUILD ON BRANCH out_with_the_old
branch: out_with_the_old
CHANGE BRANCH
x
Reset
  • out_with_the_old
  • 1.0.0
  • active_model_5_support
  • dependabot/add-v2-config-file
  • dependabot/bundler/activemodel-gte-4.0-and-lt-7.0
  • dependabot/bundler/bundler-tw-2.0
  • dependabot/bundler/rake-tw-12.3
  • dependabot/bundler/rake-tw-13.0
  • master
  • more-badges
  • relax_requirements
  • rubies
  • rules
  • tilde-domains
  • umlaut
  • v0.1.0
  • v1.0.0
  • v1.0.1
  • v2.0.0

pending completion
56

Pull #7

travis-ci

web-flow
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.
Pull Request #7: WIP: Implement the old behavior with new syntax

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

91 of 91 relevant lines covered (100.0%)

26.32 hits per line

Relevant lines Covered
Build:
Build:
91 RELEVANT LINES 91 COVERED LINES
26.32 HITS PER LINE
Source Files on out_with_the_old
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
56 out_with_the_old 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 => /.+@.+/} ... Pull #7 22 Jan 2019 08:12AM UTC web-flow travis-ci pending completion  
55 out_with_the_old 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 => /.+@.+/} ... push 22 Jan 2019 08:09AM UTC koppen travis-ci pending completion  
See All Builds (79)
  • Repo 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

© 2025 Coveralls, Inc