Skip to content
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.

Commit

Permalink
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/bundler/gem_helpers.rb
Original file line number Diff line number Diff line change
@@ -6,6 +6,7 @@ module GemHelpers
[Gem::Platform.new('java'), Gem::Platform.new('java')],
[Gem::Platform.new('mswin32'), Gem::Platform.new('mswin32')],
[Gem::Platform.new('mswin64'), Gem::Platform.new('mswin64')],
[Gem::Platform.new('universal-mingw32'), Gem::Platform.new('universal-mingw32')],
[Gem::Platform.new('x64-mingw32'), Gem::Platform.new('x64-mingw32')],
[Gem::Platform.new('x86_64-mingw32'), Gem::Platform.new('x64-mingw32')],
[Gem::Platform.new('mingw32'), Gem::Platform.new('x86-mingw32')]
3 changes: 2 additions & 1 deletion lib/bundler/match_platform.rb
Original file line number Diff line number Diff line change
@@ -7,7 +7,8 @@ module MatchPlatform
def match_platform(p)
Gem::Platform::RUBY == platform or
platform.nil? or p == platform or
generic(Gem::Platform.new(platform)) == p
generic(Gem::Platform.new(platform)) == p or
platform === p
end
end
end

0 comments on commit bd078f2

Please sign in to comment.