From a44040c9e47a9cb41807b0ec5d665d656d60db84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= Date: Thu, 29 Sep 2022 21:47:53 +0200 Subject: [rubygems/rubygems] Add notes to make sure we don't forget to backport changes to Bundler MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://github.com/rubygems/rubygems/commit/1ac5b14c78 Co-authored-by: André Arko --- lib/rubygems/platform.rb | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lib') 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 -- cgit v1.2.3