Class Librarian::SpecChangeSet
In: lib/librarian/spec_change_set.rb
Parent: Object

Methods

Attributes

environment  [RW] 
lock  [R] 
spec  [R] 

Public Class methods

Public Instance methods

Returns an array of those manifests from the previous spec which should be kept,

  based on inspecting the new spec against the locked resolution from the previous spec.

A dependency which is deleted from the specfile will, in the general case,

  be removed conservatively. This means it might not actually be removed.
  But if the dependency originally declared a source which is now non-
  default, it must be removed, even if another dependency has a transitive
  dependency on the one that was removed (which is the scenario in which
  a conservative removal would not remove it). In this case, we must also
  remove it explicitly so that it can be re-resolved from the default
  source.

[Validate]