-
Notifications
You must be signed in to change notification settings - Fork 208
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure omnibus on windows can be rebuilt multiple times
- Loading branch information
1 parent
0008a23
commit 29a19bc
Showing
8 changed files
with
118 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
diff --git a/lib/rubygems/platform.rb b/lib/rubygems/platform.rb | ||
index 48b7344aee..08728c209c 100644 | ||
--- a/lib/rubygems/platform.rb | ||
+++ b/lib/rubygems/platform.rb | ||
@@ -1,7 +1,5 @@ | ||
# frozen_string_literal: true | ||
|
||
-require_relative "deprecate" | ||
- | ||
## | ||
# Available list of platforms for targeting Gem installations. | ||
# | ||
@@ -24,11 +22,6 @@ def self.match(platform) | ||
match_platforms?(platform, Gem.platforms) | ||
end | ||
|
||
- class << self | ||
- extend Gem::Deprecate | ||
- rubygems_deprecate :match, "Gem::Platform.match_spec? or match_gem?" | ||
- end | ||
- | ||
def self.match_platforms?(platform, platforms) | ||
platform = Gem::Platform.new(platform) unless platform.is_a?(Gem::Platform) | ||
platforms.any? do |local_platform| |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule cache
updated
4 files
+ − | ruby-3.1.5.tar.gz | |
+ − | rubygems-3.3.26.tgz | |
+ − | rubygems-3.5.10.tgz | |
+ − | rubyinstaller-3.1.5-1-x64.7z |