1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[bundler/bundler] Better info about spec exclusions

https://github.com/bundler/bundler/commit/1ee77d9c55
This commit is contained in:
David Rodríguez 2019-07-23 19:48:20 +02:00 committed by Hiroshi SHIBATA
parent 51aaed128a
commit 640dbdd155
No known key found for this signature in database
GPG key ID: F9CF13417264FAC2

View file

@ -6,6 +6,14 @@ class RequirementChecker < Proc
new do |required|
!Gem::Requirement.new(required).satisfied_by?(provided)
end.tap do |checker|
checker.provided = provided
end
end
attr_accessor :provided
def inspect
"\"!= #{provided}\""
end
end