From 2aa6581b7c3cd626f48cf8b87c6a4a86dc091cfd Mon Sep 17 00:00:00 2001 From: Scott Stevenson Date: Thu, 9 Jul 2015 22:30:09 +0100 Subject: 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. --- homebrew/rcm.rb.in | 9 ++++----- 1 file 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", -- cgit v1.2.3