{"id":22052703,"url":"https://github.com/digitalnz/code_quality_score","last_synced_at":"2026-05-18T11:10:26.034Z","repository":{"id":216746203,"uuid":"742233729","full_name":"DigitalNZ/code_quality_score","owner":"DigitalNZ","description":null,"archived":false,"fork":false,"pushed_at":"2024-01-12T02:57:18.000Z","size":29,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-03-23T15:38:59.299Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DigitalNZ.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2024-01-12T02:56:14.000Z","updated_at":"2024-01-12T02:57:23.000Z","dependencies_parsed_at":"2024-01-12T14:30:49.695Z","dependency_job_id":"0f3e8e00-48de-448f-9a65-6c2a6fdec4d6","html_url":"https://github.com/DigitalNZ/code_quality_score","commit_stats":null,"previous_names":["digitalnz/code_quality_score"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/DigitalNZ/code_quality_score","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DigitalNZ%2Fcode_quality_score","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DigitalNZ%2Fcode_quality_score/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DigitalNZ%2Fcode_quality_score/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DigitalNZ%2Fcode_quality_score/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DigitalNZ","download_url":"https://codeload.github.com/DigitalNZ/code_quality_score/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DigitalNZ%2Fcode_quality_score/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266510687,"owners_count":23940696,"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","status":"online","status_checked_at":"2025-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-11-30T15:14:00.161Z","updated_at":"2026-05-18T11:10:21.004Z","avatar_url":"https://github.com/DigitalNZ.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CodeQualityScore\n\nTODO: Delete this and the text below, and describe your gem\n\nWelcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/code_quality_score`. To experiment with that code, run `bin/console` for an interactive prompt.\n\n## Installation\n\n- Add the gem\n- Bundle install\n- `bundle binstubs code_quality_score`\n\n\n## Usage\n\nCode is assumed to be in the `app` and `lib` folders of a repository, if they exist.\n\n`bin/code_quality_score` # calculates the score for the current directory\n\n`bin/code_quality_score ../my-repo/` # provide a path to another repository\n\n`bin/code_quality_score_comparison ../base-repo/ ../head-repo/` # compares two versions of a repo and shows the change. \n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.\n\nTo install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/code_quality_score.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdigitalnz%2Fcode_quality_score","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdigitalnz%2Fcode_quality_score","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdigitalnz%2Fcode_quality_score/lists"}