brew-cask.rb: name requirement subclass better

Sorry, pedantry here that I'm about to fix globally in Homebrew/homebrew: it doesn't really make sense to use `Dependency` in the name here because this is a `Requirement` and a `Dependency` is another, similar internal Homebrew class so this change is a bit less confusing.
This commit is contained in:
Mike McQuaid 2015-04-14 13:34:38 -07:00
parent a328cf8181
commit a1f9871407
1 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ rescue
HBC_VERSION = HOMEBREW_CASK_VERSION
end
class Ruby20Dependency < Requirement
class Ruby20Requirement < Requirement
fatal true
default_formula "ruby"
@ -35,7 +35,7 @@ class BrewCask < Formula
skip_clean "bin"
depends_on Ruby20Dependency
depends_on Ruby20Requirement
def install
man1.install "doc/man/brew-cask.1"