blob: 1dda3cadc1fcf8e9fe7ba6b852daf011f5ba7f8d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
require "bundler/gem_helpers"
module Bundler
module MatchPlatform
include GemHelpers
def match_platform(p)
Gem::Platform::RUBY == platform or
platform.nil? or p == platform or
generic(Gem::Platform.new(platform)) === p
end
end
end
|