1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[rubygems/rubygems] Add notes to make sure we don't forget to backport changes to Bundler

https://github.com/rubygems/rubygems/commit/1ac5b14c78

Co-authored-by: André Arko <andre@arko.net>
This commit is contained in:
David Rodríguez 2022-09-29 21:47:53 +02:00 committed by git
parent f04d249e83
commit a44040c9e4

View file

@ -163,6 +163,9 @@ class Gem::Platform
# runtime platform "no version" stands for 'gnu'. To be able to disinguish
# these, the method receiver is the gem platform, while the argument is
# the runtime platform.
#
#--
# NOTE: Until it can be removed, changes to this method must also be reflected in `bundler/lib/bundler/rubygems_ext.rb`
def ===(other)
return nil unless Gem::Platform === other
@ -186,6 +189,9 @@ class Gem::Platform
)
end
#--
# NOTE: Until it can be removed, changes to this method must also be reflected in `bundler/lib/bundler/rubygems_ext.rb`
def normalized_linux_version
return nil unless @version