{"id":13878442,"url":"https://github.com/kyoshidajp/bundler-alive","last_synced_at":"2025-07-09T03:33:19.300Z","repository":{"id":39670017,"uuid":"489623284","full_name":"kyoshidajp/bundler-alive","owner":"kyoshidajp","description":"Are your gems alive? bunder-alive checks if gems in a RubyGem's Gemfile.lock are active.","archived":false,"fork":false,"pushed_at":"2022-05-28T06:27:56.000Z","size":806,"stargazers_count":10,"open_issues_count":5,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-10-19T03:45:00.601Z","etag":null,"topics":["bundler-alive","dependency-checker","ruby","security","security-tools"],"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/kyoshidajp.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":"2022-05-07T09:03:40.000Z","updated_at":"2024-03-13T07:18:30.000Z","dependencies_parsed_at":"2022-09-10T18:20:11.297Z","dependency_job_id":null,"html_url":"https://github.com/kyoshidajp/bundler-alive","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kyoshidajp%2Fbundler-alive","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kyoshidajp%2Fbundler-alive/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kyoshidajp%2Fbundler-alive/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kyoshidajp%2Fbundler-alive/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kyoshidajp","download_url":"https://codeload.github.com/kyoshidajp/bundler-alive/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225482435,"owners_count":17481211,"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":["bundler-alive","dependency-checker","ruby","security","security-tools"],"created_at":"2024-08-06T08:01:49.896Z","updated_at":"2024-11-20T06:59:01.933Z","avatar_url":"https://github.com/kyoshidajp.png","language":"Ruby","funding_links":[],"categories":["Ruby"],"sub_categories":[],"readme":"# bundler-alive\n\n[![Gem Version](https://badge.fury.io/rb/bundler-alive.svg)](https://badge.fury.io/rb/bundler-alive)\n![bundler-alive](https://github.com/kyoshidajp/bundler-alive/actions/workflows/ci.yml/badge.svg)\n[![Maintainability](https://api.codeclimate.com/v1/badges/a79d53257bc5e93842f6/maintainability)](https://codeclimate.com/github/kyoshidajp/bundler-alive/maintainability)\n[![Test Coverage](https://api.codeclimate.com/v1/badges/a79d53257bc5e93842f6/test_coverage)](https://codeclimate.com/github/kyoshidajp/bundler-alive/test_coverage)\n\n`bundler-alive` checks if gems in a RubyGem's `Gemfile.lock` are active.\n\nCurrently, GitHub.com and GitLab.com are supported as a source code repository. If the source code repository is archived, then reports as not alive.\n\n## Installation\n\n```\n$ gem install bundler-alive\n```\n\n## Usage\n\n```\n$ bundle-alive\n6 gems are in Gemfile.lock\n..W....\nGet all source code repository URLs of gems are done!\n.....\n\nErrors:\n    [bundle-alive] Not found in RubyGems.org.\n\nArchived gems:\n    Name: journey\n    URL: http://github.com/rails/journey\n\nTotal: 6 (Archived: 1, Alive: 4, Unknown: 1)\nNot alive gems are found!\n```\n\nDefault `Gemfile.lock` location is in your current directory. You can specify it.\n\n```\n$ bundle-alive -G /path/to/Gemfile.lock\n```\n\n## Access Token\n\nYou MUST set environment variables to access source code repository services.\n\n| Repository service | ENV variable |\n| ------- |---- |\n| GitHub | [`BUNDLER_ALIVE_GITHUB_TOKEN`](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token) |\n| GitLab | [`BUNDLER_ALIVE_GITLAB_TOKEN`](https://docs.gitlab.com/ee/user/profile/personal_access_tokens.html) |\n\n## Ignore gems\n\nYou can ignore certain gems.\n\n```\n$ bundle-alive -i journey rubocop-junit-formatter\n```\n\n## Following redirect on RubyGems.org\n\nThe URL for some gems in RubyGems.org may have changed. You can follow the URL (default: doesn't follow).\n\n```\n$ bundle-alive --follow_redirect\n```\n\n## Specifying repository URL\n\nIn some cases, some gems cannot find the URL of their source code repositories. For this case, you can specify a mapping between the gem and its URL.\n\nPut `.bundler-alive.yml` in your current directory. The following code is the sample.\n\n```yaml\n---\ngems:\n  coffee-script-source:\n    url: https://github.com/jashkenas/coffeescript/\n```\n\nYou can also specify the file path.\n\n```\n$ bundle-alive -c /path/to/.bundler-alive.yml\n```\n\n[.bundler-alive.default.yml](https://github.com/kyoshidajp/bundler-alive/blob/main/.bundler-alive.default.yml) may also be helpful. Considering that having these mappings obtained automatically in the future.\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/kyoshidajp/bunlder-alive.\n\n## Thanks\n\nThis gem was inspired by the following products.\n\n- [bundler-audit](https://github.com/rubysec/bundler-audit)\n- [良いコード／悪いコードで学ぶ設計入門 ―保守しやすい 成長し続けるコードの書き方](https://gihyo.jp/book/2022/978-4-297-12783-1)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkyoshidajp%2Fbundler-alive","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkyoshidajp%2Fbundler-alive","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkyoshidajp%2Fbundler-alive/lists"}