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:
parent
51aaed128a
commit
640dbdd155
1 changed files with 8 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue