Current Path : /opt/alt/ruby33/share/gems/gems/bundler-2.5.11/lib/bundler/ |
Current File : //opt/alt/ruby33/share/gems/gems/bundler-2.5.11/lib/bundler/match_metadata.rb |
# frozen_string_literal: true module Bundler module MatchMetadata def matches_current_metadata? matches_current_ruby? && matches_current_rubygems? end 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