lib/bundler/ruby_version.rb in bundler-2.2.0.rc.1 vs lib/bundler/ruby_version.rb in bundler-2.2.0.rc.2
- old
+ new
@@ -121,10 +121,10 @@
def exact?
return @exact if defined?(@exact)
@exact = versions.all? {|v| Gem::Requirement.create(v).exact? }
end
- private
+ private
def matches?(requirements, version)
# Handles RUBY_PATCHLEVEL of -1 for instances like ruby-head
return requirements == version if requirements.to_s == "-1" || version.to_s == "-1"