Sha256: 9e469cbcfaf384ed7867f5a051aa4a270ab5341828b3c5c9463211974ccf17c8

Contents?: true

Size: 290 Bytes

Versions: 138

Compression:

Stored size: 290 Bytes

Contents

# frozen_string_literal: true

module Bundler
  module MatchMetadata
    def matches_current_ruby?
      @required_ruby_version.satisfied_by?(Gem.ruby_version)
    end

    def matches_current_rubygems?
      @required_rubygems_version.satisfied_by?(Gem.rubygems_version)
    end
  end
end

Version data entries

138 entries across 138 versions & 4 rubygems

Version Path
rubygems-update-3.4.12 bundler/lib/bundler/match_metadata.rb
bundler-2.4.12 lib/bundler/match_metadata.rb
rubygems-update-3.4.11 bundler/lib/bundler/match_metadata.rb
bundler-2.4.11 lib/bundler/match_metadata.rb
rubygems-update-3.4.10 bundler/lib/bundler/match_metadata.rb
bundler-2.4.10 lib/bundler/match_metadata.rb
rubygems-update-3.4.9 bundler/lib/bundler/match_metadata.rb
bundler-2.4.9 lib/bundler/match_metadata.rb
rubygems-update-3.4.8 bundler/lib/bundler/match_metadata.rb
bundler-2.4.8 lib/bundler/match_metadata.rb
rubygems-update-3.4.7 bundler/lib/bundler/match_metadata.rb
bundler-2.4.7 lib/bundler/match_metadata.rb
rubygems-update-3.4.6 bundler/lib/bundler/match_metadata.rb
bundler-2.4.6 lib/bundler/match_metadata.rb
rubygems-update-3.4.5 bundler/lib/bundler/match_metadata.rb
bundler-2.4.5 lib/bundler/match_metadata.rb
rubygems-update-3.4.4 bundler/lib/bundler/match_metadata.rb
bundler-2.4.4 lib/bundler/match_metadata.rb
rubygems-update-3.4.3 bundler/lib/bundler/match_metadata.rb
bundler-2.4.3 lib/bundler/match_metadata.rb