{"id":13569182,"url":"https://github.com/mernen/completion-ruby","last_synced_at":"2025-10-21T04:57:44.023Z","repository":{"id":417941,"uuid":"37653","full_name":"mernen/completion-ruby","owner":"mernen","description":"Command-line completion for Ruby-related commands under Bash: rake, bundle, gem, rails, ruby, jruby","archived":false,"fork":false,"pushed_at":"2025-02-27T03:30:16.000Z","size":135,"stargazers_count":147,"open_issues_count":0,"forks_count":19,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-03-28T00:41:28.072Z","etag":null,"topics":["bash-completion","ruby","ruby-cli"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/mernen.png","metadata":{"files":{"readme":"README.markdown","changelog":null,"contributing":null,"funding":null,"license":"MIT-LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2008-07-27T16:16:16.000Z","updated_at":"2025-02-02T01:51:16.000Z","dependencies_parsed_at":"2024-01-04T01:05:53.373Z","dependency_job_id":"82207131-6fef-47d5-b0bf-c32b4a83b096","html_url":"https://github.com/mernen/completion-ruby","commit_stats":{"total_commits":194,"total_committers":6,"mean_commits":"32.333333333333336","dds":0.2680412371134021,"last_synced_commit":"ae3da1ac62a7e08e22574d91c7dd3c433e9ac89d"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mernen%2Fcompletion-ruby","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mernen%2Fcompletion-ruby/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mernen%2Fcompletion-ruby/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mernen%2Fcompletion-ruby/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mernen","download_url":"https://codeload.github.com/mernen/completion-ruby/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247128702,"owners_count":20888232,"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":["bash-completion","ruby","ruby-cli"],"created_at":"2024-08-01T14:00:36.792Z","updated_at":"2025-10-21T04:57:44.009Z","avatar_url":"https://github.com/mernen.png","language":"Shell","readme":"# completion-ruby: bash completion for Ruby-related commands\n\n**completion-ruby** is a set of [bash] scripts offering command-line\ncompletion for various [Ruby]-related commands and tools.\n\n\n## Installation\n\nThese scripts depend on some utility functions from [bash-completion]. It\nshould be part of pretty much any modern Linux distribution, and you can\ninstall it on macOS using [Homebrew]:\n\n    brew install bash-completion\n\nSave the completion files somewhere (in the same directory) and add the\nfollowing line to your `~/.bashrc` or `~/.profile`:\n\n    . /path/to/completion-ruby-all\n\nThe `completion-ruby-all` script loads all the completions it finds,\nbut only for the commands you appear to have installed.\nAlternatively, you can just save the specific scripts you wish, and\nsource them individually.\n\n\n## Maintenance status\n\nThis project is considered **stable**.\nNo new features are planned, and as a result it remains domant for months,\nbut the continuous integration test suite will occasionally detect\na change in behavior in a tool, and maintenance work is performed.\n\nFor information on the automated test suite, see the [tests directory](./tests#readme).\n\nIf one of the covered tools introduces a new flag that needs special treatment,\nplease file an issue or pull request.\n\n\n## Why yet another completion script?\n\nBefore writing my own, I'd seen about five different scripts for `rake`\ncompletion. None of them, though, at the same time:\n\n* cached the task list for fast results;\n* invalidated said cache when the rakefile was modified;\n* worked properly with namespaces; and\n* worked on subdirectories of the project\n\n...among other minor quirks. While providing all of the above, a few other\nniceties were added, like command-line options completion and awareness of\ntask arguments.\n\nThis script is not perfect (for instance, it won't update the cache if\na dependency of the rakefile is updated; as a workaround, simply\n`touch Rakefile`), but it tries to cover all the most common cases without\novercomplicating or overthinking the code.\n\n\n## License and website\n\nCopyright © 2008–2025 [Daniel Luz].\n\n**completion-ruby** is distributed under the [MIT license].\n\nThe source is available in a [Git] repository [at GitHub][repo].\n\nFor up-to-date information, visit [this project's permalink][permalink].\n\n[bash]: https://www.gnu.org/software/bash/ (Bourne-Again Shell)\n[bash-completion]: https://github.com/scop/bash-completion\n[Ruby]: https://www.ruby-lang.org/         (Ruby Programming Language)\n[rake]: https://github.com/ruby/rake       (Rake — Ruby Make)\n[Daniel Luz]:  https://mernen.com/\n[MIT license]: https://opensource.org/licenses/MIT\n[Git]:  https://git-scm.com/               (Git — Fast Version Control System)\n[Homebrew]: https://brew.sh (Homebrew – The missing package manager for macOS)\n[repo]: https://github.com/mernen/completion-ruby\n[permalink]: https://mernen.com/projects/completion-ruby\n","funding_links":[],"categories":["Projects"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmernen%2Fcompletion-ruby","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmernen%2Fcompletion-ruby","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmernen%2Fcompletion-ruby/lists"}