aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/os/mac
diff options
context:
space:
mode:
authorMarkus Reiter2016-09-24 20:11:54 +0200
committerMarkus Reiter2016-09-25 00:16:31 +0200
commit00b3dde0b2a5fc66ccd276ee83619ef678c82cc7 (patch)
tree583bca9733ae944de20b989c864f8eb18f706834 /Library/Homebrew/os/mac
parent162bfee90f760a4a473894f6f3013d1b0665b3e9 (diff)
downloadbrew-00b3dde0b2a5fc66ccd276ee83619ef678c82cc7.tar.bz2
RuboCop: MacOS
Diffstat (limited to 'Library/Homebrew/os/mac')
-rw-r--r--Library/Homebrew/os/mac/xcode.rb2
-rw-r--r--Library/Homebrew/os/mac/xquartz.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/os/mac/xcode.rb b/Library/Homebrew/os/mac/xcode.rb
index 0f78e4412..8ec0b91de 100644
--- a/Library/Homebrew/os/mac/xcode.rb
+++ b/Library/Homebrew/os/mac/xcode.rb
@@ -1,7 +1,7 @@
module OS
module Mac
module Xcode
- extend self
+ module_function
V4_BUNDLE_ID = "com.apple.dt.Xcode".freeze
V3_BUNDLE_ID = "com.apple.Xcode".freeze
diff --git a/Library/Homebrew/os/mac/xquartz.rb b/Library/Homebrew/os/mac/xquartz.rb
index 9a610e29f..674e50c50 100644
--- a/Library/Homebrew/os/mac/xquartz.rb
+++ b/Library/Homebrew/os/mac/xquartz.rb
@@ -3,7 +3,7 @@ module OS
X11 = XQuartz = Module.new
module XQuartz
- extend self
+ module_function
FORGE_BUNDLE_ID = "org.macosforge.xquartz.X11".freeze
APPLE_BUNDLE_ID = "org.x.X11".freeze