Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Credit Card Validation Support #217

Open
wants to merge 24 commits into
base: master
Choose a base branch
from

Conversation

quacklabs
Copy link

@quacklabs quacklabs commented Mar 8, 2019

With the new changes and inclusion of the CardParser Library, SwiftValidator is now able to check credit/debit card numbers for validity using their prefixes, length, and the LUHN algorithm. Verve card from Interswitch Nigeria has also been added to the list of cards it can verify. cool huh?

@codecov-io
Copy link

codecov-io commented Mar 9, 2019

Codecov Report

Merging #217 into master will increase coverage by 1.41%.
The diff coverage is 76.64%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #217      +/-   ##
==========================================
+ Coverage   72.14%   73.56%   +1.41%     
==========================================
  Files          27       30       +3     
  Lines         298      435     +137     
==========================================
+ Hits          215      320     +105     
- Misses         83      115      +32
Impacted Files Coverage Δ
SwiftValidator/Parsers/CardParser.swift 73.07% <73.07%> (ø)
SwiftValidator/Rules/CardNumberRule.swift 81.81% <81.81%> (ø)
SwiftValidator/Rules/CardExpiryRule.swift 90.9% <90.9%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2d03c54...039b2cd. Read the comment docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants