Sha256: d2231f4cc68276dc49bd26f113cdf7dd5aad81dcf2f0bb20319679346e1f9548

Contents?: true

Size: 271 Bytes

Versions: 5

Compression:

Stored size: 271 Bytes

Contents

require "bundler/gem_helpers"

module Bundler
  module MatchPlatform
    include GemHelpers

    def match_platform(p)
      Gem::Platform::RUBY == platform ||
        platform.nil? || p == platform ||
        generic(Gem::Platform.new(platform)) === p
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
bundler-1.11.2 lib/bundler/match_platform.rb
bundler-1.11.1 lib/bundler/match_platform.rb
bundler-1.11.0 lib/bundler/match_platform.rb
bundler-1.11.0.pre.2 lib/bundler/match_platform.rb
bundler-1.11.0.pre.1 lib/bundler/match_platform.rb