SIGN IN SIGN UP
Homebrew / brew UNCLAIMED

🍺 The missing package manager for macOS (or Linux)

0 0 185 Ruby

Move expand action constants to Dependable module

PRUNE, SKIP, and KEEP_BUT_PRUNE_RECURSIVE_DEPS were defined
separately on Dependency and Requirement with identical values.
This coupling was fragile — if either constant changed, the
polymorphic code in dependencies_helpers.rb would silently break.

Move the constants to the shared Dependable module (included by
both classes) so there is a single source of truth, and update
all callers to reference Dependable:: directly.
D
Douglas Eichelberger committed
7a16cd6771b8f3a260de1bc7e6e3fb29aece0ff7
Parent: e6f0f61