diff options
| author | Jack Nagel | 2013-12-02 12:44:28 -0600 |
|---|---|---|
| committer | Jack Nagel | 2013-12-02 12:44:28 -0600 |
| commit | d1da0bc1e48e012d0873bf6022b97fd83e64714f (patch) | |
| tree | 4618b1b03cc762baf6dabf6fb6689cc5f7874bc8 | |
| parent | ecfce7bc41db5f542ea7f77478cce28915769978 (diff) | |
| download | homebrew-d1da0bc1e48e012d0873bf6022b97fd83e64714f.tar.bz2 | |
Rename effective_deps to unsatisfied_deps
| -rw-r--r-- | Library/Homebrew/formula_installer.rb | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb index c0348fe51..996e6f7fa 100644 --- a/Library/Homebrew/formula_installer.rb +++ b/Library/Homebrew/formula_installer.rb @@ -234,25 +234,25 @@ class FormulaInstaller f.recursive_dependencies.select { |d| deps.include? d } end - def effective_deps - @effective_deps ||= filter_deps + def unsatisfied_deps + @unsatisfied_deps ||= filter_deps end def install_dependencies - @effective_deps = nil if @pour_failed + @unsatisfied_deps = nil if @pour_failed - if effective_deps.length > 1 - oh1 "Installing dependencies for #{f}: #{Tty.green}#{effective_deps*", "}#{Tty.reset}" + if unsatisfied_deps.length > 1 + oh1 "Installing dependencies for #{f}: #{Tty.green}#{unsatisfied_deps*", "}#{Tty.reset}" end - effective_deps.each do |dep| + unsatisfied_deps.each do |dep| if dep.requested? install_dependency(dep) else ARGV.filter_for_dependencies { install_dependency(dep) } end end - @show_header = true unless effective_deps.empty? + @show_header = true unless unsatisfied_deps.empty? end def install_dependency dep |
