Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update executable version suffixes for ruby 3.0-3.3 #16

Merged
merged 4 commits into from
Jun 3, 2024

Conversation

kevinoid
Copy link
Contributor

@kevinoid kevinoid commented Jun 2, 2024

Completions are currently only installed for commands with version suffixes between 1.8 and 2.7. This PR adds completion for gem and ruby with version suffixes 3.0, 3.1, 3.2, and 3.3. It also adds completion for bundle and rake commands with version suffixes, which were not previously supported (or incompletely supported). If you'd prefer a separate PR for these additions, please let me know.

Thanks for considering,
Kevin

Previous update: #11

kevinoid added 4 commits June 2, 2024 13:15
As with gem and ruby, complete version-suffixed commands as well.

The bundle and bundler commands have had a version suffix on Debian
systems since at least Ruby 2.7, as seen in the [ruby2.7 file list], and
is still used, as shown in the [ruby3.3 file list].

[ruby2.7 file list]: https://packages.debian.org/bullseye/amd64/ruby2.7/filelist
[ruby3.3 file list]: https://packages.debian.org/sid/amd64/ruby3.3/filelist

Signed-off-by: Kevin Locke <[email protected]>
As with gem and ruby, complete version-suffixed commands as well.

The rake command has had a version suffix on Debian systems since at
least Ruby 2.7, as seen in the [ruby2.7 file list], and is still used,
as shown in the [ruby3.3 file list].

[ruby2.7 file list]: https://packages.debian.org/bullseye/amd64/ruby2.7/filelist
[ruby3.3 file list]: https://packages.debian.org/sid/amd64/ruby3.3/filelist

Signed-off-by: Kevin Locke <[email protected]>
@mernen
Copy link
Owner

mernen commented Jun 3, 2024

Thanks! I had completely forgotten about versioned names.

I was a bit surprised with the inclusion of Bundler and Rake, but I see that Ubuntu indeed has versioned variants of them (example), so I'm accepting it.

@mernen mernen merged commit 0b0faf2 into mernen:main Jun 3, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants