diff options
author | Michael Siegfried <michael@procore.com> | 2022-01-04 14:54:17 -0800 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2022-12-20 13:15:02 +0900 |
commit | 2bc4f1dea5e663acba1d3c662390e8fc20bf6721 (patch) | |
tree | 1269485972bc55f03289e58a2a9276947e61b127 /lib/bundler/cli/common.rb | |
parent | 1ee31f9d9dc8da4b0eb8ca39b79a6b270c6c2f2d (diff) | |
download | ruby-2bc4f1dea5e663acba1d3c662390e8fc20bf6721.tar.gz |
[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
Diffstat (limited to 'lib/bundler/cli/common.rb')
-rw-r--r-- | lib/bundler/cli/common.rb | 1 |
1 files changed, 1 insertions, 0 deletions
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 |