aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/keg_fix_install_names.rb2
-rw-r--r--Library/Homebrew/requirement.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/keg_fix_install_names.rb b/Library/Homebrew/keg_fix_install_names.rb
index f94c1facc..37a020365 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 8c79f30c6..bc0c0b5a3 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 }