Skip to content

Commit a44040c

Browse files
deivid-rodriguezindirect
authored andcommitted
[rubygems/rubygems] Add notes to make sure we don't forget to backport changes to Bundler
ruby/rubygems@1ac5b14c78 Co-authored-by: André Arko <andre@arko.net>
1 parent f04d249 commit a44040c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lib/rubygems/platform.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,9 @@ def hash # :nodoc:
163163
# runtime platform "no version" stands for 'gnu'. To be able to disinguish
164164
# these, the method receiver is the gem platform, while the argument is
165165
# the runtime platform.
166+
#
167+
#--
168+
# NOTE: Until it can be removed, changes to this method must also be reflected in `bundler/lib/bundler/rubygems_ext.rb`
166169

167170
def ===(other)
168171
return nil unless Gem::Platform === other
@@ -186,6 +189,9 @@ def ===(other)
186189
)
187190
end
188191

192+
#--
193+
# NOTE: Until it can be removed, changes to this method must also be reflected in `bundler/lib/bundler/rubygems_ext.rb`
194+
189195
def normalized_linux_version
190196
return nil unless @version
191197

0 commit comments

Comments
 (0)