Skip to content

Commit

Permalink
Update minimum US account number
Browse files Browse the repository at this point in the history
To validate properly we want the minimum account number for US to
be correct. For now we can go with 4 which is the minimum length
we support for US ACH.

Bump version to 1.16.0
  • Loading branch information
amprew committed Apr 6, 2023
1 parent 8b0904f commit e77dbc4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions data/raw/pseudo_ibans.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ US:
:bank_code_length: 9
:branch_code_length: 0
:account_number_length: !ruby/range
begin: 1
begin: 4
end: 17
excl: false
:bank_code_format: "\\d{9}"
:account_number_format: "_*\\d{1,17}"
:account_number_format: "_*\\d{4,17}"
:national_id_length: 9
:pseudo_iban_bank_code_length: 9
:pseudo_iban_branch_code_length: 0
Expand Down
4 changes: 2 additions & 2 deletions data/structures.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1521,11 +1521,11 @@ US:
:bank_code_length: 9
:branch_code_length: 0
:account_number_length: !ruby/range
begin: 1
begin: 4
end: 17
excl: false
:bank_code_format: "\\d{9}"
:account_number_format: _*\d{1,17}
:account_number_format: _*\d{4,17}
:national_id_length: 9
:pseudo_iban_bank_code_length: 9
:pseudo_iban_branch_code_length: 0
Expand Down
2 changes: 1 addition & 1 deletion lib/ibandit/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module Ibandit
VERSION = "1.15.0"
VERSION = "1.16.0"
end

0 comments on commit e77dbc4

Please sign in to comment.