# File lib/librarian/resolver.rb, line 22 def resolve(spec, partial_manifests = []) manifests = implementation(spec).resolve(partial_manifests) manifests or return enforce_consistency!(spec.dependencies, manifests) enforce_acyclicity!(manifests) unless cyclic manifests = sort(manifests) Resolution.new(spec.dependencies, manifests) end