tobias / credit_card_validator

A ruby gem for validating credit cards (a port of Thomas Fuchs' creditcard_js)
55 stars 14 forks source link

added test cards from braintree #3

Closed hashrocketeer closed 13 years ago

hashrocketeer commented 13 years ago

We use braintree and needed to add their test cards to your gem, see: http://www.braintreepayments.com/docs/ruby/reference/sandbox

tobias commented 13 years ago

I'm not a big fan of using the hash keys as comments here, but it is cleaner than adding real comments and quoting all of the numbers, and as equally as ugly as creating individual arrays via %w{} that we'd need to flatten anyway.

This has been merged, and included in the 1.0.1 gem release.