aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike McQuaid2017-12-29 16:19:09 +0000
committerMike McQuaid2017-12-29 16:19:09 +0000
commit51114139e1c6b442890adec620ffc42975e8fd30 (patch)
treea7c5183593819ae43d41bc2b3ecbddaa329e82b4
parent80769ae0c7ca404c9436b1d7951a0b58a8404b15 (diff)
downloadbrew-51114139e1c6b442890adec620ffc42975e8fd30.tar.bz2
formula: require gpg and make it a module.
-rw-r--r--Library/Homebrew/formula.rb1
-rw-r--r--Library/Homebrew/gpg.rb2
2 files changed, 2 insertions, 1 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb
index 8e4f80260..eec2c9045 100644
--- a/Library/Homebrew/formula.rb
+++ b/Library/Homebrew/formula.rb
@@ -13,6 +13,7 @@ require "pkg_version"
require "tap"
require "keg"
require "migrator"
+require "gpg"
require "extend/ENV"
# A formula provides instructions and metadata for Homebrew to install a piece
diff --git a/Library/Homebrew/gpg.rb b/Library/Homebrew/gpg.rb
index f1b989a16..01880f71e 100644
--- a/Library/Homebrew/gpg.rb
+++ b/Library/Homebrew/gpg.rb
@@ -1,6 +1,6 @@
require "utils"
-class Gpg
+module Gpg
module_function
def executable