
Security News
CISA’s 2025 SBOM Guidance Adds Hashes, Licenses, Tool Metadata, and Context
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.
uk_account_validator
Advanced tools
This gem validates uk account numbers against their sort codes in accordance with VocaLink's modulus checking specification, which can be downloaded from here.
Note that this gem ensures the sort code and account number are valid, not that they exist.
NB the resource text files valacdos.txt and scsubtab.txt are produced and released by VocaLink.
Requires Ruby > 2.0.0
Modulus weight table data can be found here. (Last verified data was downloaded 2023-05-30).
UkAccountValidator::Validator.new(account_number, sort_code).valid?
or
validator = UkAccountValidator::Validator.new
validator.account_number = account_number
validator.sort_code = sort_code
validator.valid?
Add this line to your application's Gemfile:
gem 'uk_account_validator'
And then execute:
$ bundle
Or install it yourself as:
$ gem install uk_account_validator
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)FAQs
Unknown package
We found that uk_account_validator demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.
Security News
A clarification on our recent research investigating 60 malicious Ruby gems.
Security News
ESLint now supports parallel linting with a new --concurrency flag, delivering major speed gains and closing a 10-year-old feature request.