Skip to content

Commit

Permalink
Merge pull request #4096 from rubygems/delay_deprecation
Browse files Browse the repository at this point in the history
Delay deprecation still used by recent bundlers
  • Loading branch information
deivid-rodriguez committed Dec 7, 2020
2 parents 9bb7da6 + 614fbd5 commit f769aa9
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions lib/rubygems/platform.rb
Expand Up @@ -21,11 +21,6 @@ def self.match(platform)
match_platforms?(platform, Gem.platforms)
end

class << self
extend Gem::Deprecate
rubygems_deprecate :match, "Gem::Platform.match_spec?"
end

def self.match_platforms?(platform, platforms)
platforms.any? do |local_platform|
platform.nil? or
Expand Down

0 comments on commit f769aa9

Please sign in to comment.