diff --git a/.travis.yml b/.travis.yml index ad3ee64..e8ab975 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,12 +6,13 @@ matrix: - go: 1.4 - go: 1.5 - go: 1.6 + - go: 1.7 - go: tip allow_failures: - go: tip script: - go get -t -v $(go list ./...) - - if [[ $TRAVIS_GO_VERSION == 1.6* ]]; then diff -u <(echo -n) <(gofmt -d .); fi - - if [[ $TRAVIS_GO_VERSION == 1.6* ]]; then go vet $(go list ./...); fi + - if [[ $TRAVIS_GO_VERSION == 1.7* ]]; then diff -u <(echo -n) <(gofmt -d .); fi + - if [[ $TRAVIS_GO_VERSION == 1.7* ]]; then go vet $(go list ./...); fi - go test -v -race $(go list ./...) diff --git a/README.md b/README.md index ba322d0..0f041bc 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ Modulus checking is a procedure for validating sort code and account number comb If you want to know more about modulus checking, read this [GoCardless guide](https://gocardless.com/guides/posts/modulus-checking/). ## Validity -This package follows the Vocalink specification, version 3.90, that will be live on 13/06/2016. More information about the specification can be seen on the [Vocalink website](https://www.vocalink.com/customer-support/modulus-checking). +This package follows the Vocalink specification, version 4.00, that will be live on 09/01/2017. More information about the specification can be seen on the [Vocalink website](https://www.vocalink.com/customer-support/modulus-checking). ## API If you prefer to send request to a web service, take a look at the package [moduluschecking-api](https://github.com/AntoineAugusti/moduluschecking-api) that offers an API to validate UK bank account numbers, supporting authentication and rate limits. @@ -28,7 +28,7 @@ The following institutions are supported: | Northern | Orwell Union Ltd | Royal Bank of Scotland | | Santander | Secure Trust | Tesco Bank | | TSB | Ulster Bank | Unity Trust Bank | -| Virgin Bank | Woolwich | Williams & Glyn | +| Virgin Bank | Woolwich | Starling Bank | | Yorkshire Bank | - | - | ## Included data files diff --git a/data/weights.txt b/data/weights.txt index c7b50ad..5f08874 100644 --- a/data/weights.txt +++ b/data/weights.txt @@ -888,6 +888,7 @@ 601403,608028,MOD11,0,0,0,0,0,0,8,7,6,5,4,3,2,1 608301,608301,MOD10,0,0,0,0,0,0,7,1,3,7,1,3,7,1 608316,608316,MOD10,0,0,0,0,0,0,8,7,6,5,4,3,2,1 +608371,608371,MOD11,0,0,0,0,0,0,2,8,4,3,7,5,6,1 609593,609593,MOD10,0,0,0,0,0,0,7,1,3,7,1,3,7,1 609599,609599,MOD10,0,0,0,0,0,0,0,5,7,5,2,1,2,1 640001,640001,MOD11,0,0,0,0,0,0,8,7,6,5,4,3,2,1