1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/changelogs/fragments
patchback[bot] d4633cfcd5
gem: Fix get_installed_versions: correctly parse "default" version. (#783) (#918)
* Fix get_installed_versions: correctly parse "default" version.

gem query output of

    bundler (default: 2.1.4, 1.17.2)

Gets parsed as:

    ['default:', '1.17.2']

Fix this by skipping "default: " if present in the list of versions - by adding
it as an optional part of the regex, grouped as a non-capturing group to keep
the index of existing group.

This now correctly parses the above input as

    ['2.1.4:', '1.17.2']

Fixes #782

* Fix gem get_installed_versions (cont): add changelog fragment

* Update changelogs/fragments/783-fix-gem-installed-versions.yaml as per suggestion

Co-authored-by: Felix Fontein <felix@fontein.de>

Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit 6dc98c08fd)

Co-authored-by: Vlad Mencl <vladimir.mencl@reannz.co.nz>
2020-09-17 20:01:58 +02:00
..
.keep Rename changelogs/fragments/.empty -> changelogs/fragments/.keep 2020-08-07 08:18:40 +02:00
563-update-terraform-status-test.yaml Fix terraform changed status detection test (#561) (#563) (#908) 2020-09-17 19:23:43 +02:00
777-interfaces_file-re-escape.yml interfaces_file: re.escape() old value (#880) 2020-09-12 20:10:31 +02:00
783-fix-gem-installed-versions.yaml gem: Fix get_installed_versions: correctly parse "default" version. (#783) (#918) 2020-09-17 20:01:58 +02:00
789-pkg5-wrap-to-modify-package-list.yaml pkg5: wrap 'to modify' package list (#789) (#911) 2020-09-17 19:29:44 +02:00
796-postgresql_privs-grant-option-bug.yaml postgresql_privs: Fix bug with grant_option (#796) (#912) 2020-09-17 19:34:28 +02:00
802-pushover-device-parameter.yml Specify device for Pushover notification (#802) (#913) 2020-09-17 19:41:11 +02:00
811-proxmox-kvm-state-absent.yml proxmox_kvm: fix idempotency issue with state=absent (#811) (#914) 2020-09-17 19:41:19 +02:00
825-bootsource-override-option.yaml redfish_command: allow setting the BootSourceOverrideEnabled property (#825) (#915) 2020-09-17 19:50:12 +02:00
homebrew-cask-at-symbol-fix.yaml Fix for error trying to install cask with '@' in the name (#763) (#910) 2020-09-17 19:41:00 +02:00