Sha256: cda4fa45475d6a9bc70bd4e41dff744731fdcd2ffcf7044b852ccd0e0e06af3e

Contents?: true

Size: 266 Bytes

Versions: 101

Compression:

Stored size: 266 Bytes

Contents

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

Version data entries

101 entries across 101 versions & 3 rubygems

Version Path
bundler-1.8.9 lib/bundler/match_platform.rb
bundler-1.8.8 lib/bundler/match_platform.rb
bundler-1.7.15 lib/bundler/match_platform.rb
bundler-1.8.7 lib/bundler/match_platform.rb
bundler-1.9.2 lib/bundler/match_platform.rb
bundler-1.8.6 lib/bundler/match_platform.rb
bundler-1.7.14 lib/bundler/match_platform.rb
bundler-1.9.1 lib/bundler/match_platform.rb
bundler-1.9.0 lib/bundler/match_platform.rb
bundler-1.9.0.pre.1 lib/bundler/match_platform.rb
bundler-1.9.0.rc lib/bundler/match_platform.rb
bundler-1.9.0.pre lib/bundler/match_platform.rb
bundler-1.8.5 lib/bundler/match_platform.rb
bundler-1.8.4 lib/bundler/match_platform.rb
bundler-1.8.3 lib/bundler/match_platform.rb
bundler-1.8.2 lib/bundler/match_platform.rb
bundler-1.8.1 lib/bundler/match_platform.rb
bundler-1.8.0 lib/bundler/match_platform.rb
bundler-1.7.13 lib/bundler/match_platform.rb
bundler-1.8.0.pre lib/bundler/match_platform.rb