module Bundler::MatchMetadata

Public Instance Methods

matches_current_metadata?() click to toggle source
# File bundler/match_metadata.rb, line 5
def matches_current_metadata?
  matches_current_ruby? && matches_current_rubygems?
end
matches_current_ruby?() click to toggle source
# File bundler/match_metadata.rb, line 9
def matches_current_ruby?
  @required_ruby_version.satisfied_by?(Gem.ruby_version)
end
matches_current_rubygems?() click to toggle source
# File bundler/match_metadata.rb, line 13
def matches_current_rubygems?
  @required_rubygems_version.satisfied_by?(Gem.rubygems_version)
end