Skip to content

Commit

Permalink
Merge pull request max-power#5 from Hacker0x01/add-kosovo
Browse files Browse the repository at this point in the history
Add kosovo
  • Loading branch information
max-power committed Sep 4, 2015
2 parents 0afb67c + 61b0ecc commit 372b8c8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions data/iban.yml
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,12 @@ kz: # Kazakhstan
(?<bank_identifier> \d{3})
(?<account_number> [A-Z0-9]{13})
xk: # Republic of Kosovo
length: 20
regexp: >
(?<bank_identifier> \d{4})
(?<account_number> \d{12})
kw: # Kuwait
length: 30
regexp: >
Expand Down
3 changes: 2 additions & 1 deletion spec/iban_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,8 @@
'SN12K00100152000025690007542',
'TN5914207207100707129648',
'TR330006100519786457841326',
'AE260211000000230064016'
'AE260211000000230064016',
'XK051212012345678906',
].each do |code|
describe code do
it 'should be valid' do
Expand Down

0 comments on commit 372b8c8

Please sign in to comment.