From 2bc4f1dea5e663acba1d3c662390e8fc20bf6721 Mon Sep 17 00:00:00 2001 From: Michael Siegfried Date: Tue, 4 Jan 2022 14:54:17 -0800 Subject: [rubygems/rubygems] Support for pre flag in `bundle update` Passing this flag allows bumping to the current version, even if that version is prerelease. This works in concert with the current flags. https://github.com/rubygems/rubygems/commit/a6409e3509 --- lib/bundler/cli/common.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/bundler/cli/common.rb') diff --git a/lib/bundler/cli/common.rb b/lib/bundler/cli/common.rb index 0d83a1c07e..d654406f65 100644 --- a/lib/bundler/cli/common.rb +++ b/lib/bundler/cli/common.rb @@ -111,6 +111,7 @@ module Bundler definition.gem_version_promoter.tap do |gvp| gvp.level = patch_level.first || :major gvp.strict = options[:strict] || options["filter-strict"] + gvp.pre = options[:pre] end end -- cgit v1.2.3