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

salesking / sepa_king / 160 / 11
100%
master: 100%

Build:
DEFAULT BRANCH: master
Ran 28 May 2015 01:39PM UTC
Files 12
Run time 1s
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

28 May 2015 12:58PM UTC coverage: 99.701% (+0.001%) from 99.7%
2.0.0, gemfiles/Gemfile-activemodel-4.1.x

push

travis-ci

ledermann
IBAN validation: Use additional Regex from schema

The SEPA::IBANValidator uses the iban-tools gem. This third-party gem
is fine, but a bit sloppy: It strips all spaces and upcases the string
before doing further checks. As a result, it allows something like
"de 87  20 05 0000 12 34 5678 90  " to be valid IBAN. Because PAIN is
more strict, this commit adds an additional validation layer. It checks
against a Regex named IBAN2007Identifier, coming from the schema
definition.

Beware: If you use SEPA::IBANValidator for your database models too,
it may be possible that some of your data is invalid now. For
example, an IBAN containing spaces used for formatting is not allowed
anymore. But storing a formatted value in the database often is bad
practice. Make sure to store the unformatted IBAN in your database.

333 of 334 relevant lines covered (99.7%)

52.96 hits per line

Source Files on job 160.11 (2.0.0, gemfiles/Gemfile-activemodel-4.1.x)
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 160
  • Travis Job 160.11
  • a8213d39 on github
  • Prev Job for 2.0.0, gemfiles/Gemfile-activemodel-4.1.x on master (#159.11)
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