[PR #11442/72220a2b backport][stable-12] fix gem module compatibility with ruby-4-rubygems (#11452)

fix gem module compatibility with ruby-4-rubygems (#11442)

* fix gem module compatibility with ruby-4-rubygems

rubygem's `query` command has recently been removed, see ruby/rubygems#9083.
address this by using the `list` command instead.

resolves #11397

* add changelog

* Adjust changelog fragment.

---------


(cherry picked from commit 72220a2b15)

Co-authored-by: glaszig <mail+github@glasz.org>
Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
patchback[bot]
2026-01-26 17:43:07 +01:00
committed by GitHub
parent 44dfe9e1ab
commit b5d57a35d6
2 changed files with 3 additions and 2 deletions

View File

@@ -0,0 +1,2 @@
bugfixes:
- "gem - add compatibility with Ruby 4 rubygems (https://github.com/ansible-collections/community.general/issues/11397, https://github.com/ansible-collections/community.general/pull/11442)."