brew-cask.rb: use 1.8-valid syntax (#22646)

The `key: value` syntax wasn't introduced until 1.9.

Causing a failure here: https://travis-ci.org/Homebrew/homebrew-emacs/jobs/142633016#L284
This commit is contained in:
Alex Dunn 2016-07-06 21:07:31 -07:00 committed by Joshua Hagins
parent 35adc2f174
commit dba6d3007e
2 changed files with 6 additions and 2 deletions

View File

@ -40,6 +40,10 @@ Metrics/ModuleLength:
Style/ClassAndModuleChildren:
EnforcedStyle: compact
Style/HashSyntax:
Exclude:
- 'brew-cask.rb'
Style/PredicateName:
NameWhitelist: is_32_bit?, is_64_bit?

View File

@ -1,8 +1,8 @@
class BrewCask < Formula
homepage "https://github.com/caskroom/homebrew-cask/"
url "https://github.com/caskroom/homebrew-cask.git", tag: "v0.60.1"
url "https://github.com/caskroom/homebrew-cask.git", :tag => "v0.60.1"
depends_on ruby: "2.0"
depends_on :ruby => "2.0"
UNINSTALL_MSG = <<-EOS.undent
You must uninstall this formula. It is no longer needed to stay up to date,