Class: Bundler::Molinillo::Resolver::Resolution::Conflict
- Inherits:
-
Struct
- Object
- Struct
- Bundler::Molinillo::Resolver::Resolution::Conflict
- Defined in:
- lib/bundler/vendor/molinillo/lib/molinillo/resolution.rb,
lib/bundler/vendor/molinillo/lib/molinillo/resolution.rb
Overview
A conflict that the resolution process encountered
Instance Attribute Summary collapse
-
#activated_by_name ⇒ {String=>Object}
the already-activated specs.
-
#existing ⇒ Object?
the existing spec that was in conflict with the #possibility.
-
#locked_requirement ⇒ Object
the relevant locking requirement.
-
#possibility_set ⇒ Object
the set of specs that was unable to be activated due to a conflict.
-
#requirement ⇒ Object
the requirement that immediately led to the conflict.
-
#requirement_trees ⇒ Array<Array<Object>>
the different requirement trees that led to every requirement for the conflicting name.
-
#requirements ⇒ {String,Nil=>[Object]}
the requirements that caused the conflict.
-
#underlying_error ⇒ Object
an error that has occurred during resolution, and will be raised at the end of it if no resolution is found.
Instance Method Summary collapse
-
#possibility ⇒ Object
A spec that was unable to be activated due to a conflict.
Instance Attribute Details
#activated_by_name ⇒ {String=>Object}
the already-activated specs.
20 21 22 |
# File 'lib/bundler/vendor/molinillo/lib/molinillo/resolution.rb', line 20 def activated_by_name @activated_by_name end |
#existing ⇒ Object?
the existing spec that was in conflict with the #possibility
20 21 22 |
# File 'lib/bundler/vendor/molinillo/lib/molinillo/resolution.rb', line 20 def existing @existing end |
#locked_requirement ⇒ Object
the relevant locking requirement.
20 21 22 |
# File 'lib/bundler/vendor/molinillo/lib/molinillo/resolution.rb', line 20 def locked_requirement @locked_requirement end |
#possibility_set ⇒ Object
the set of specs that was unable to be activated due to a conflict.
20 21 22 |
# File 'lib/bundler/vendor/molinillo/lib/molinillo/resolution.rb', line 20 def possibility_set @possibility_set end |
#requirement ⇒ Object
the requirement that immediately led to the conflict
20 21 22 |
# File 'lib/bundler/vendor/molinillo/lib/molinillo/resolution.rb', line 20 def requirement @requirement end |
#requirement_trees ⇒ Array<Array<Object>>
the different requirement trees that led to every requirement for the conflicting name.
20 21 22 |
# File 'lib/bundler/vendor/molinillo/lib/molinillo/resolution.rb', line 20 def requirement_trees @requirement_trees end |
#requirements ⇒ {String,Nil=>[Object]}
the requirements that caused the conflict
20 21 22 |
# File 'lib/bundler/vendor/molinillo/lib/molinillo/resolution.rb', line 20 def requirements @requirements end |
#underlying_error ⇒ Object
an error that has occurred during resolution, and will be raised at the end of it if no resolution is found.
20 21 22 |
# File 'lib/bundler/vendor/molinillo/lib/molinillo/resolution.rb', line 20 def @underlying_error end |
Instance Method Details
#possibility ⇒ Object
Returns a spec that was unable to be activated due to a conflict.
33 34 35 |
# File 'lib/bundler/vendor/molinillo/lib/molinillo/resolution.rb', line 33 def possibility possibility_set && possibility_set.latest_version end |