summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Scott Stevenson <scott@stevenson.io>2015-07-09 22:30:09 +0100
committerGravatar Mike Burns <mike@mike-burns.com>2015-09-04 15:36:08 -0400
commit2aa6581b7c3cd626f48cf8b87c6a4a86dc091cfd (patch)
treed4050c9984e924dad13cab12dacbc7b2b7531b61
parent146612292f69a50505357f1c7a31d65307feba1b (diff)
Stricter Homebrew formula
These changes are specified by the Homebrew Ruby style guide and `brew audit --strict`. - Remove `require 'formula'` from Homebrew formula. This is no longer necessary. - Use HTTPS URLs in Homebrew formula. - Prefer double quoted strings in Homebrew formula. - Add description field to Homebrew formula.
-rw-r--r--homebrew/rcm.rb.in9
1 files changed, 4 insertions, 5 deletions
diff --git a/homebrew/rcm.rb.in b/homebrew/rcm.rb.in
index 3b858eb..3a9a6fb 100644
--- a/homebrew/rcm.rb.in
+++ b/homebrew/rcm.rb.in
@@ -1,9 +1,8 @@
-require 'formula'
-
class Rcm < Formula
- homepage 'http://thoughtbot.github.io/rcm'
- url 'http://thoughtbot.github.io/@PACKAGE@/dist/@DIST_ARCHIVES@'
- sha1 '@DIST_SHA@'
+ desc "management suite for dotfiles"
+ homepage "https://thoughtbot.github.io/rcm"
+ url "https://thoughtbot.github.io/@PACKAGE@/dist/@DIST_ARCHIVES@"
+ sha1 "@DIST_SHA@"
def install
system "./configure", "--disable-debug", "--disable-dependency-tracking",