- Canada, Financial Institution number - allow 3 digits
- modulus_checker failures will now return validation method specific error message
- Do not allow all 0 transit numbers in CA
- Do not allow all-0 account numbers for CA
- Remove Ruby 2.6 support
- Update BLZ data - BLZ_20230904
- Update BLZ data - BLZ_20230605
- Improve the error messages that are generated
- Update IBAN registry #233
- Add GL and FO to the IBAN constructor for local details
- Update BLZ data - BLZ_20230306
- Update BLZ data - BLZ_20221205
- Update BLZ data - BLZ_20220905
- Update BLZ data - 05.05.22
- Update BLZ data - BLZ_20220307
- Fix issue with structure loading - thanks @shaicoleman
- Add Ruby 3.1 support
- Remove Ruby 2.5 support
- Update BLZ data - BLZ_20211206
- Stop padding out Australian account details to 10 digits
- Update BLZ data - BLZ_20210906
- Drop Ruby 2.4 support
- Update BLZ data - BLZ_20210607
- Fix issue with padding on Canadian and USA pseudo IBANs #198
- Update BLZ data - BLZVZ FTSEX MD 652
- [Breaking] Correct
swift_national_id
for Canadian Psudo Ibans. Beforeswift_national_id
would return the institution code only. Now it returns the{institution_code}{branch_code}
as per the format for electronic transfers -0YYYXXXXX
- Add support for BY, EG, FO, IQ, LC, SC, UA and VA
- Update BLZ data - BLZ_20201207
- Update Swedish Bank data
- Update BLZ data - BLZ_20200907
- Improve validation for iban lengths
- Strip unwanted hyphen chars for Canadian IBANs
- Update rubocop and related gems
- Fix Rule4901
- Update BLZ data
- Fix Rule4901
- Update BLZ data
- Add Ruby 2.7 support and fix deprecation warnings
- Discontinued support for older Ruby versions (2.1.10, 2.2.7, 2.3.4 and 2.4.1)
- Update rubocop and ruboconfig
- Updates the example bank details for the United States
- Updates the definition of the structure for IBANs in Costa Rica (courtesy @sprileyMSTS)
- Handle bad input more gracefully (
bank_code
being nil)
- Update US account number format validation to allow digits-only
- Add support for US pseudo-IBANs
- Prevent account numbers from being all-zero in Australia
- Add support for 3-digit financial institution numbers in Canada
- Add support for validating Canadian branch codes if a modulus checker is configured
- Skipped 0.11.21
- Added national_id_length for CA IBANs to prevent segfault when building from local details.
- Generate valid CA IBANs from local details
- Add support for CA pseudo-IBANs
- Improve existing error message translations and add support for four new languages: Norwegian, Swedish, Danish and Slovenian.
- Do not crash when given too short account numbers for New Zealand
- Loosen
i18n
dependency (thanks @glaszig!)
- Validate New Zealand branch codes
- Add support for NZ pseudo-IBANs
- Allow 5-digits Australian account numbers
- Validate Australian BSBs
- Fix padding for Australian pseudo-IBANs
- Fix support for Australian bank accounts
- Add support for Australian swift national ids
- Incorrectly published version. Please do not use.
- Add support for Australian pseudo-IBANs
- Handle invalid characters when computing check digits for Italy
- Fix invalid regular expression
account_number_format
for Dominican Republic IBANs.
- Fix
swift_national_id
for Slovenian IBANs. Previously it was returning two digits, instead of five.
- Fix bug: Previously, constructing an
Ibandit::IBAN
object withcountry_code: "SE"
and certain 4-digit values foraccount_number
would throwNoMethodError
. The IBAN object can now be successfully constructed (and will return a false value forvalid?
).
- Handle invalid pseudo-IBANs
- Update BLZ data
- BREAKING CHANGE: Rename
IBAN#iban_national_id
toIBAN#swift_national_id
. See #69 for more details.
- Update BLZ data
- BREAKING CHANGE: Pass an
Ibandit::IBAN
object to modulus checker hooks, rather than a string. See #68 for more details.
- Update BLZ data
- BREAKING CHANGE: Update modulus checker hooks to expect a
valid_branch_code?
method. See #65 for more details.
- Strip whitespace from Spanish account numbers
- Handle bad characters gracefully when constructing Italian IBANs
- Add details of Swedish validation scheme to Swedish data file
- Update BLZ data
- Handle Danish long-format account numbers without a hyphen
- Fix bug in Sweden::Validator.valid_serial_number_length?
- Update BLZ data (again)
- Update BLZ data
- Clean SWIFT details
- Return local details for Sweden
- Introduce pseudo-IBANs for Sweden
- Remove all unused
CheckDigit
methods
- Add Croatia to LocalDetailsCleaner and IBANAssembler
- Add Czech Republic to LocalDetailsCleaner and IBANAssembler
- Add Romania to LocalDetailsCleaner and IBANAssembler
- Add Bulgaria to LocalDetailsCleaner and IBANAssembler
- Add Hungary to LocalDetailsCleaner and IBANAssembler
- Add Poland to LocalDetailsCleaner and IBANAssembler
- Add Iceland to LocalDetailsCleaner and IBANAssembler
- Strip out additional '-' characters from Danish account numbers
- Add Denmark to LocalDetailsCleaner and IBANAssembler
- Add Norway to LocalDetailsCleaner and IBANAssembler
- Add support for Sweden
- Add an error for unsupported German bank details, and stop raising whilst cleaning them
- Add Dutch translation
- Update BLZ data
- Add Italian translation
- Bug fix for
CheckDigit.belgian
by @isaacseymour
- Update length of national ID for Spain from 8 characters to 4, in line with SWIFT change
- Add Portuguese translation by @nlopes
- Add German translation by @georg911
- Fix the load path for I18n
- Use I18n for internationalised validation messages (patch by @isaacseymour)
- Update BLZ data
- Add Greece to LocalDetailsCleaner and IBANAssembler
- Allow for injection of a modulus checker
- Add Malta to LocalDetailsCleaner and IBANAssembler
- Move IBANBuilder interface into main IBAN class by overloading its constructor
- Move validation of local details input out of IBANBuilder into IBAN
- Split
IBAN.valid_length?
into individual checks on the length of bank code, branch code, and account number - Return
nil
for fields which aren't present, rather than an empty string
- Add Lithuania to IBANBuilder
- Add GermanDetailsConverter
- Add zero-padding to CheckDigit.spanish
- Initial public release
- Fix error handling in Modulus 97-10 check digit calculation
- Raise namespaced errors
- Add the Netherlands to IBANBuilder, and rename CheckDigit.mod_11
- Send cleaned (de-space/hyphenated) sort codes to the BIC finder lambda
- Allow spaced as well as hyphenated UK sort codes
IBAN#to_s
returns IBAN string rather than object properties- Local check digits accessors
- Only raises
ArgumentError
- Additional documentation on local details/IBAN conversion quirks
- Update format validations for all IBAN countries. Add local_check_digits accessor method to IBAN.
- Add IBANSTRUCTURE file. All IBAN countries are now supported for validation and deconstruction.
- Rename to ibandit
- Initial commit