From 54ea5c038fc27f283847bda17dffc1aca0bc926a Mon Sep 17 00:00:00 2001 From: Clemens Kofler Date: Wed, 8 Sep 2021 15:19:21 +0200 Subject: [PATCH 1/2] Document update behavior for gems without version constraints https://github.com/renovatebot/renovate/discussions/8673 --- docs/usage/ruby.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/usage/ruby.md b/docs/usage/ruby.md index b518f9d7ca5c1c..c3f50c7d7b44cf 100644 --- a/docs/usage/ruby.md +++ b/docs/usage/ruby.md @@ -15,6 +15,12 @@ Renovate supports upgrading dependencies in Bundler's Gemfiles and their accompa 1. A PR is created which updates the `Gemfile` and `Gemfile.lock` in a single commit 1. If the source repository has a "changelog" file or uses GitHub releases, then Release Notes for each version are embedded in the generated PR +## Caveats + +- Renovate doesn't update dependencies without a version constraint. Example: `gem 'some-gem', '~> 1.2.3'` will update + `some-gem` if a new version matching the constraint if available, but `gem 'some-gem'` won't. If you always want to + stay at the latest available version, consider specifying `gem 'some-gem', '> 0'`. + ## Enabling You can install the [Renovate App](https://github.com/apps/renovate) on GitHub. From 735a2c813bab7c5c69fa6543eb839133e5dc9255 Mon Sep 17 00:00:00 2001 From: Clemens Kofler Date: Thu, 9 Sep 2021 10:54:55 +0200 Subject: [PATCH 2/2] Accept suggestion for re-formatting + typo fix Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com> --- docs/usage/ruby.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/usage/ruby.md b/docs/usage/ruby.md index c3f50c7d7b44cf..4498d5c7ac13ce 100644 --- a/docs/usage/ruby.md +++ b/docs/usage/ruby.md @@ -17,9 +17,9 @@ Renovate supports upgrading dependencies in Bundler's Gemfiles and their accompa ## Caveats -- Renovate doesn't update dependencies without a version constraint. Example: `gem 'some-gem', '~> 1.2.3'` will update - `some-gem` if a new version matching the constraint if available, but `gem 'some-gem'` won't. If you always want to - stay at the latest available version, consider specifying `gem 'some-gem', '> 0'`. +Renovate doesn't update dependencies without a version constraint. +Example: `gem 'some-gem', '~> 1.2.3'` will update `some-gem` if a new version matching the constraint is available, but `gem 'some-gem'` won't. +If you always want to have the latest available version, consider specifying `gem 'some-gem', '> 0'`. ## Enabling