diff options
| author | Mike McQuaid | 2016-09-17 15:32:44 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2016-09-17 16:14:13 +0100 |
| commit | 3982950e6106d45811a396a6a7478eeeee2817d7 (patch) | |
| tree | 3bc809f42e4356c89f4ff3508bbf0e84cd5d4d41 /Library/Homebrew/formula_installer.rb | |
| parent | 6693915399a5d9f1f09255c5008d2cc1209f7662 (diff) | |
| download | brew-3982950e6106d45811a396a6a7478eeeee2817d7.tar.bz2 | |
rubocop --auto-correct all hash-rocket usage.
Diffstat (limited to 'Library/Homebrew/formula_installer.rb')
| -rw-r--r-- | Library/Homebrew/formula_installer.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb index d86ca9ede..18267ee78 100644 --- a/Library/Homebrew/formula_installer.rb +++ b/Library/Homebrew/formula_installer.rb @@ -74,7 +74,7 @@ class FormulaInstaller !!@build_bottle && !formula.bottle_disabled? end - def pour_bottle?(install_bottle_options = { :warn=>false }) + def pour_bottle?(install_bottle_options = { warn: false }) return true if Homebrew::Hooks::Bottles.formula_has_bottle?(formula) return false if @pour_failed @@ -229,7 +229,7 @@ class FormulaInstaller @@attempted << formula - pour_bottle = pour_bottle?(:warn => true) + pour_bottle = pour_bottle?(warn: true) if pour_bottle begin install_relocation_tools unless formula.bottle_specification.skip_relocation? @@ -422,7 +422,7 @@ class FormulaInstaller puts "All dependencies for #{formula.full_name} are satisfied." elsif !deps.empty? oh1 "Installing dependencies for #{formula.full_name}: #{Tty.green}#{deps.map(&:first)*", "}#{Tty.reset}", - :truncate => false + truncate: false deps.each { |dep, options| install_dependency(dep, options) } end @@ -675,7 +675,7 @@ class FormulaInstaller puts e puts puts "Possible conflicting files are:" - mode = OpenStruct.new(:dry_run => true, :overwrite => true) + mode = OpenStruct.new(dry_run: true, overwrite: true) keg.link(mode) @show_summary_heading = true Homebrew.failed = true |
