diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2023-10-26 20:50:06 +0200 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2023-11-08 09:04:28 +0900 |
commit | 9f67118d7bc790ee5c3449e28f76e428958bc5cb (patch) | |
tree | 79524a868fdd041b00099521b6c9d8f7e1ae513e /lib/bundler/lazy_specification.rb | |
parent | a131ea39b7b9c34304dfbf8112581c49ce9ff827 (diff) |
[rubygems/rubygems] Simplify selecting specs with `force_ruby_platform` set
https://github.com/rubygems/rubygems/commit/5f90a43635
Co-authored-by: Martin Emde <martin.emde@gmail.com>
Diffstat (limited to 'lib/bundler/lazy_specification.rb')
-rw-r--r-- | lib/bundler/lazy_specification.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/bundler/lazy_specification.rb b/lib/bundler/lazy_specification.rb index 970869e084..4a5a7d3f66 100644 --- a/lib/bundler/lazy_specification.rb +++ b/lib/bundler/lazy_specification.rb @@ -133,6 +133,10 @@ module Bundler " #{source.revision[0..6]}" end + def force_ruby_platform! + @force_ruby_platform = true + end + private def use_exact_resolved_specifications? |