{"id":21026374,"url":"https://github.com/nimblehq/danger-undercover","last_synced_at":"2025-11-11T20:39:13.238Z","repository":{"id":44909420,"uuid":"303305687","full_name":"nimblehq/danger-undercover","owner":"nimblehq","description":"This is a danger plugin to show report to PR using undercover gem.","archived":false,"fork":false,"pushed_at":"2022-01-19T09:57:52.000Z","size":46,"stargazers_count":3,"open_issues_count":0,"forks_count":3,"subscribers_count":21,"default_branch":"main","last_synced_at":"2025-10-07T15:32:04.077Z","etag":null,"topics":["ruby"],"latest_commit_sha":null,"homepage":null,"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/nimblehq.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-10-12T07:02:05.000Z","updated_at":"2025-04-08T16:14:20.000Z","dependencies_parsed_at":"2022-08-26T09:11:14.153Z","dependency_job_id":null,"html_url":"https://github.com/nimblehq/danger-undercover","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/nimblehq/danger-undercover","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nimblehq%2Fdanger-undercover","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nimblehq%2Fdanger-undercover/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nimblehq%2Fdanger-undercover/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nimblehq%2Fdanger-undercover/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nimblehq","download_url":"https://codeload.github.com/nimblehq/danger-undercover/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nimblehq%2Fdanger-undercover/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":283928901,"owners_count":26918163,"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-11-11T02:00:06.610Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","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":["ruby"],"created_at":"2024-11-19T11:44:21.243Z","updated_at":"2025-11-11T20:39:13.223Z","avatar_url":"https://github.com/nimblehq.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# danger-undercover\n\nA [Danger](https://github.com/danger/danger) plugin to show [Undercover](https://github.com/grodowski/undercover) report.\n\n## Installation\n\n    $ gem install danger-undercover\n\n## Usage\n\nTo use this gem all the instruction provided in [Undercover](https://github.com/grodowski/undercover) must be followed.\n\nTo know more about running undercover [visit here](https://github.com/grodowski/undercover#usage)\n\n\u003e Use the `-c --compare ref` flag to specify a git ref (commit hash, branch name, tag) to compare against. \n**This is a recommended usage for CI/CD build environments**, as `undercover` will `exit 1` if there are any warnings.\n\nThis plugin provides a command `undercover-report` that uses `undercover` command from \n[Undercover](https://github.com/grodowski/undercover) gem. It takes all the options that `undercover` command takes.\n\nThey both works in the same way but what `undercover-report` extra does is it prints `undercover` report to a default\n file in `coverage/undercover.txt`. This makes using `undercover` in CI server much easier.\n\nTo use it on a CI server, run the below command before running `Danger` so that the report file is created beforehand\n which `Danger` will use..\n\n    $ undercover-report -c $compare_git_ref\n\n\u003eHere $compare_git_ref as per undercover documentation, can be a commit hash, branch name, or tag. i.e. origin/master\n, origin/development\n\n\nThen in your `Dangerfile` add the following line with the output file \n\n```ruby\nundercover.report\n```\n\n## Development\n\n1. Clone this repo\n2. Run `bundle install` to setup dependencies.\n3. Run `bundle exec rake spec` to run the tests.\n4. Use `bundle exec guard` to automatically have tests run as you make changes.\n5. Make your changes.\n\n## License\n\nIt is free software, and may be redistributed under the terms specified in the [LICENSE] file.\n\n[LICENSE]: /LICENSE\n\n## About\n\n![Nimble](https://assets.nimblehq.co/logo/dark/logo-dark-text-160.png)\n\nThis project is maintained and funded by Nimble.\n\nWe love open source and do our part in sharing our work with the community!\nSee [our other projects][community] or [hire our team][hire] to help build your product.\n\n[community]: https://github.com/nimblehq\n[hire]: https://nimblehq.co/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnimblehq%2Fdanger-undercover","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnimblehq%2Fdanger-undercover","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnimblehq%2Fdanger-undercover/lists"}