diff --git a/Library/Homebrew/keg_fix_install_names.rb b/Library/Homebrew/keg_fix_install_names.rb index f94c1facc2..37a0203656 100644 --- a/Library/Homebrew/keg_fix_install_names.rb +++ b/Library/Homebrew/keg_fix_install_names.rb @@ -133,7 +133,7 @@ class Keg dylibs.each(&block) end - def dylib_id_for file, options={} + def dylib_id_for(file, options) # The new dylib ID should have the same basename as the old dylib ID, not # the basename of the file itself. basename = File.basename(file.dylib_id) diff --git a/Library/Homebrew/requirement.rb b/Library/Homebrew/requirement.rb index 8c79f30c69..bc0c0b5a3b 100644 --- a/Library/Homebrew/requirement.rb +++ b/Library/Homebrew/requirement.rb @@ -126,7 +126,7 @@ class Requirement end class Satisfier - def initialize(options={}, &block) + def initialize(options, &block) case options when Hash @options = { :build_env => true }