{"id":23421087,"url":"https://github.com/nhsdigital/ndr_support","last_synced_at":"2025-06-24T04:34:21.774Z","repository":{"id":35357927,"uuid":"39620601","full_name":"NHSDigital/ndr_support","owner":"NHSDigital","description":"National Disease Registers support gem","archived":false,"fork":false,"pushed_at":"2025-02-05T19:40:13.000Z","size":999,"stargazers_count":4,"open_issues_count":4,"forks_count":6,"subscribers_count":15,"default_branch":"main","last_synced_at":"2025-06-06T20:07:20.376Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NHSDigital.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2015-07-24T08:27:37.000Z","updated_at":"2025-02-05T19:40:15.000Z","dependencies_parsed_at":"2023-07-15T15:18:47.585Z","dependency_job_id":"bad89845-527a-415e-bffb-94ea622a3803","html_url":"https://github.com/NHSDigital/ndr_support","commit_stats":null,"previous_names":["publichealthengland/ndr_support"],"tags_count":63,"template":false,"template_full_name":null,"purl":"pkg:github/NHSDigital/ndr_support","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NHSDigital%2Fndr_support","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NHSDigital%2Fndr_support/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NHSDigital%2Fndr_support/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NHSDigital%2Fndr_support/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NHSDigital","download_url":"https://codeload.github.com/NHSDigital/ndr_support/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NHSDigital%2Fndr_support/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261604514,"owners_count":23183657,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-23T02:13:59.005Z","updated_at":"2025-06-24T04:34:21.736Z","avatar_url":"https://github.com/NHSDigital.png","language":"Ruby","readme":"# NdrSupport [![Build Status](https://github.com/NHSDigital/ndr_support/workflows/Test/badge.svg)](https://github.com/NHSDigital/ndr_support/actions?query=workflow%3Atest) [![Gem Version](https://badge.fury.io/rb/ndr_support.svg)](https://rubygems.org/gems/ndr_support)\n\nThis is the NHS England (NHS-E) National Disease Registration Service (NDRS) Support ruby gem, providing:\n\n1. core ruby class extensions;\n2. additional time, regular expression, file security, password checking/generation, and encoding classes.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'ndr_support'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself by cloning the project, then executing:\n\n    $ gem install ndr_support.gem\n\n## Usage\n\nndr_support extends/overrides the following core classes/modules:\n\n- Array\n- Hash\n- Integer\n- NilClass\n- String\n- Time\n\nndr_support adds the following classes:\n\n- Daterange\n- NdrSupport::Password\n- Ourdate\n- Ourtime\n- RegexpRange\n- SafeFile\n- SafePath\n- UTF8Encoding\n\n### YAML Serialization Wrapper\n\nndr_support also provides a lightweight wrapper around YAML serialization to provide support for YAML engines and string encodings. This behavour is not enabled by default.\n\nTo enable this add the following line to your code:\n\n```ruby\ninclude NdrSupport::YAML::SerializationMigration\n```\n\n## Contributing\n\n1. Fork it ( https://github.com/NHSDigital/ndr_support/fork )\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create a new Pull Request\n\nPlease note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.\n\n## Test Data\n\nAll test data in this repository is fictitious. Any resemblance to real persons, living or dead, is purely coincidental.\n\nNote: Real codes exist in the tests, postcodes for example, but bear no relation to real patient data. Please ensure that you *always* only ever commit dummy data when contributing to this project.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnhsdigital%2Fndr_support","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnhsdigital%2Fndr_support","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnhsdigital%2Fndr_support/lists"}