diff options
author | David RodrÃguez <[email protected]> | 2022-09-29 21:47:53 +0200 |
---|---|---|
committer | git <[email protected]> | 2022-10-01 05:46:41 +0900 |
commit | a44040c9e47a9cb41807b0ec5d665d656d60db84 (patch) | |
tree | e778e84a0d2f8881f79cd7f4c728d167356af554 /lib/rubygems/platform.rb | |
parent | f04d249e8309aaf22f667fd2d505c9b2ead2d30b (diff) |
[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 <[email protected]>
Diffstat (limited to 'lib/rubygems/platform.rb')
-rw-r--r-- | lib/rubygems/platform.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/rubygems/platform.rb b/lib/rubygems/platform.rb index 4dc24971c3..6f4ead1af8 100644 --- a/lib/rubygems/platform.rb +++ b/lib/rubygems/platform.rb @@ -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 |