summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2022-09-29 21:47:53 +0200
committergit <svn-admin@ruby-lang.org>2022-10-01 05:46:41 +0900
commita44040c9e47a9cb41807b0ec5d665d656d60db84 (patch)
treee778e84a0d2f8881f79cd7f4c728d167356af554 /lib
parentf04d249e8309aaf22f667fd2d505c9b2ead2d30b (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 <andre@arko.net>
Diffstat (limited to 'lib')
-rw-r--r--lib/rubygems/platform.rb6
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