Update Casks to avoid hardcoding app version

Fix #15564 (https://github.com/caskroom/homebrew-cask/pull/15564)
changed CONTRIBUTING.md to emphasize the use of versioned
URLs. Applied this recommended style to existing Casks.
This commit is contained in:
Francis T. O'Donovan 2015-12-03 21:45:27 -05:00 committed by adityadalal924
parent 41aa133fe2
commit beaecff8c6
15 changed files with 16 additions and 16 deletions

View File

@ -2,7 +2,7 @@ cask :v1 => 'beersmith2' do
version '2.2.12' version '2.2.12'
sha256 'e4aa64af9e9c65e0cfe132de67ab580d0c3b2f527d598fcda0d9b2cc84b74da6' sha256 'e4aa64af9e9c65e0cfe132de67ab580d0c3b2f527d598fcda0d9b2cc84b74da6'
url 'https://s3.amazonaws.com/BeerSmith2-2/BeerSmith2_2_12_64.dmg' url "https://s3.amazonaws.com/BeerSmith2-2/BeerSmith#{version.gsub('.', '_')}_64.dmg"
name 'BeerSmith2' name 'BeerSmith2'
homepage 'http://beersmith.com' homepage 'http://beersmith.com'
license :commercial license :commercial

View File

@ -2,7 +2,7 @@ cask :v1 => 'brewtarget' do
version '2.1.0' version '2.1.0'
sha256 '5bd3542db7dd44e7e95759c68ad6002046ad145ddee35adefa43bfab1ada3fe2' sha256 '5bd3542db7dd44e7e95759c68ad6002046ad145ddee35adefa43bfab1ada3fe2'
url 'https://launchpad.net/brewtarget/trunk/2.1.0/+download/Brewtarget-2.1.0-installer.dmg' url "https://launchpad.net/brewtarget/trunk/#{version}/+download/Brewtarget-#{version}-installer.dmg"
name 'brewtarget' name 'brewtarget'
homepage 'http://www.brewtarget.org/' homepage 'http://www.brewtarget.org/'
license :oss license :oss

View File

@ -3,7 +3,7 @@ cask :v1 => 'klystrack' do
sha256 '32121c17df528c780384d235f91da3bd0552ac3b20a4e3538e6627d8255ff30c' sha256 '32121c17df528c780384d235f91da3bd0552ac3b20a4e3538e6627d8255ff30c'
# dropboxusercontent.com is the official download host per the vendor homepage # dropboxusercontent.com is the official download host per the vendor homepage
url 'https://dl.dropboxusercontent.com/u/1190319/Klystrack_1.6.0-1270.dmg' url "https://dl.dropboxusercontent.com/u/1190319/Klystrack_#{version}.dmg"
name 'Klystrack' name 'Klystrack'
homepage 'https://kometbomb.github.io/klystrack/' homepage 'https://kometbomb.github.io/klystrack/'
license :mit license :mit

View File

@ -2,7 +2,7 @@ cask :v1 => 'letterfix' do
version '2.3.2' version '2.3.2'
sha256 '0830e868adc90e71ddfb42ce3f4a2cd5592b0bb5e9df0caf3d45213e083cc9c0' sha256 '0830e868adc90e71ddfb42ce3f4a2cd5592b0bb5e9df0caf3d45213e083cc9c0'
url 'http://dl.sourceforge.jp/letter-fix/62451/LetterFix-2.3.2a.dmg' url "http://dl.sourceforge.jp/letter-fix/62451/LetterFix-#{version}a.dmg"
name 'LetterFix' name 'LetterFix'
homepage 'http://sourceforge.jp/projects/letter-fix/' homepage 'http://sourceforge.jp/projects/letter-fix/'
license :mit license :mit

View File

@ -2,7 +2,7 @@ cask :v1 => 'mini-vmac' do
version '3.3.3' version '3.3.3'
sha256 '40a0a2a8a5f37a1f7826e104f0219708c87b6759d071c2d69e1419fbbf5d1dbf' sha256 '40a0a2a8a5f37a1f7826e104f0219708c87b6759d071c2d69e1419fbbf5d1dbf'
url 'http://www.gryphel.com/d/minivmac/minivmac-3.3.3/minivmac-3.3.3-imch.bin.tgz' url "http://www.gryphel.com/d/minivmac/minivmac-#{version}/minivmac-#{version}-imch.bin.tgz"
name 'Mini vMac' name 'Mini vMac'
homepage 'http://www.gryphel.com/c/minivmac' homepage 'http://www.gryphel.com/c/minivmac'
license :gpl license :gpl

View File

@ -2,7 +2,7 @@ cask :v1 => 'multiply' do
version '1.1.1' version '1.1.1'
sha256 'f4056d2e88886ee30ad8a6e05efcfcf37559a26190753610067248087ec4abff' sha256 'f4056d2e88886ee30ad8a6e05efcfcf37559a26190753610067248087ec4abff'
url 'http://acondigital.com/software/Multiply_OSX_1_1_1.pkg.zip' url "http://acondigital.com/software/Multiply_OSX_#{version.gsub('.', '_')}.pkg.zip"
name 'Multiply' name 'Multiply'
homepage 'https://acondigital.com/products/multiply/' homepage 'https://acondigital.com/products/multiply/'
license :gratis license :gratis

View File

@ -2,7 +2,7 @@ cask :v1 => 'password-assistant' do
version '1.3.0' version '1.3.0'
sha256 '9088a74bcbf440af921dee416a9bbd5688362e60d4b73c88ff8e2013f6d83134' sha256 '9088a74bcbf440af921dee416a9bbd5688362e60d4b73c88ff8e2013f6d83134'
url 'https://github.com/downloads/tonymet/Password-Assistant/Password%20Assistant-1.3.0.dmg' url "https://github.com/downloads/tonymet/Password-Assistant/Password%20Assistant-#{version}.dmg"
name 'Password Assistant' name 'Password Assistant'
homepage 'https://github.com/tonymet/Password-Assistant' homepage 'https://github.com/tonymet/Password-Assistant'
license :gratis license :gratis

View File

@ -2,7 +2,7 @@ cask :v1 => 'phocus' do
version '2.8.4' version '2.8.4'
sha256 'f82a77f869afa1c130b42741fc8df64735d733325d1c4d78cc9530da5628a615' sha256 'f82a77f869afa1c130b42741fc8df64735d733325d1c4d78cc9530da5628a615'
url 'http://static.hasselblad.com/2014/12/Phocus-2.8.4.dmg' url "http://static.hasselblad.com/2014/12/Phocus-#{version}.dmg"
name 'Hasselblad Phocus' name 'Hasselblad Phocus'
homepage 'http://www.hasselblad.com/software/phocus' homepage 'http://www.hasselblad.com/software/phocus'
license :gratis license :gratis

View File

@ -1,8 +1,8 @@
cask :v1 => 'polycom-realpresence-desktop' do cask :v1 => 'polycom-realpresence-desktop' do
version '3.3' version '3.3_50871'
sha256 '75cc90740112f055ae85955f16a9da255bed60819e00a6343d42648d155b8c0c' sha256 '75cc90740112f055ae85955f16a9da255bed60819e00a6343d42648d155b8c0c'
url 'http://downloads.polycom.com/video/realpresence_desktop/RPDMac-release_3.3_50871.dmg' url "http://downloads.polycom.com/video/realpresence_desktop/RPDMac-release_#{version}.dmg"
name 'Polycom RealPresence Desktop' name 'Polycom RealPresence Desktop'
homepage 'http://www.polycom.com/products-services/hd-telepresence-video-conferencing/realpresence-desktop/realpresence-desktop.html' homepage 'http://www.polycom.com/products-services/hd-telepresence-video-conferencing/realpresence-desktop/realpresence-desktop.html'
license :commercial license :commercial

View File

@ -3,7 +3,7 @@ cask :v1 => 'spotifree' do
sha256 'f58ee878dcadaffb4934793b78ef65d1dd0d32cf078d61f6178ab0531c7340e7' sha256 'f58ee878dcadaffb4934793b78ef65d1dd0d32cf078d61f6178ab0531c7340e7'
# github.com is the official download host per the vendor homepage # github.com is the official download host per the vendor homepage
url 'https://github.com/ArtemGordinsky/Spotifree/releases/download/1.6.3/Spotifree.dmg' url "https://github.com/ArtemGordinsky/Spotifree/releases/download/#{version}/Spotifree.dmg"
appcast 'http://spotifree.gordinskiy.com/appcast.xml' appcast 'http://spotifree.gordinskiy.com/appcast.xml'
name 'Spotifree' name 'Spotifree'
homepage 'http://spotifree.gordinskiy.com' homepage 'http://spotifree.gordinskiy.com'

View File

@ -2,7 +2,7 @@ cask :v1 => 'techstoreclub-simple-comic' do
version '1.7_252' version '1.7_252'
sha256 '4ddd18a02a79fc8201824e6ab99291c6d4c8680f79f94bc372bf71f0535def35' sha256 '4ddd18a02a79fc8201824e6ab99291c6d4c8680f79f94bc372bf71f0535def35'
url 'https://github.com/techstoreclub/Simple-Comic/releases/download/1.7_252/SimpleComic_1.7_252.zip' url "https://github.com/techstoreclub/Simple-Comic/releases/download/#{version}/SimpleComic_#{version}.zip"
name 'Simple Comic' name 'Simple Comic'
appcast 'http://www.dancingtortoise.com/simplecomic/simplecomic.xml', appcast 'http://www.dancingtortoise.com/simplecomic/simplecomic.xml',
:sha256 => 'a60ac75aa2656f347cb8554c411d44dcc6500dd74e666aee5da1e54fb5928bf3' :sha256 => 'a60ac75aa2656f347cb8554c411d44dcc6500dd74e666aee5da1e54fb5928bf3'

View File

@ -2,7 +2,7 @@ cask :v1 => 'thrustshell' do
version '0.7.6' version '0.7.6'
sha256 '9ac1d40a1cac913620eab21c2ff6dd68d75a26b14417f758e681309b194b63b7' sha256 '9ac1d40a1cac913620eab21c2ff6dd68d75a26b14417f758e681309b194b63b7'
url 'https://github.com/breach/thrust/releases/download/v0.7.6/thrust-v0.7.6-darwin-x64.zip' url "https://github.com/breach/thrust/releases/download/v#{version}/thrust-v#{version}-darwin-x64.zip"
name 'thrust' name 'thrust'
homepage 'https://github.com/breach/thrust' homepage 'https://github.com/breach/thrust'
license :mit license :mit

View File

@ -2,7 +2,7 @@ cask :v1 => 'unity' do
version '5.2.2f1' version '5.2.2f1'
sha256 '1a810817712f4adea34894b3473b52a6bf2a0c79045edc8eb4ee8df3dd2f07fe' sha256 '1a810817712f4adea34894b3473b52a6bf2a0c79045edc8eb4ee8df3dd2f07fe'
url 'http://netstorage.unity3d.com/unity/3757309da7e7/UnityDownloadAssistant-5.2.2f1.dmg' url "http://netstorage.unity3d.com/unity/3757309da7e7/UnityDownloadAssistant-#{version}.dmg"
name 'Unity' name 'Unity'
homepage 'https://unity3d.com/unity/' homepage 'https://unity3d.com/unity/'
license :commercial license :commercial

View File

@ -2,7 +2,7 @@ cask :v1 => 'virtual-ii' do
if MacOS.release <= :leopard if MacOS.release <= :leopard
version '6.3.7' version '6.3.7'
sha256 '518c40b94039db64a26664cd8644e0e06dc71e7e8c72ca65294c01836464b770' sha256 '518c40b94039db64a26664cd8644e0e06dc71e7e8c72ca65294c01836464b770'
url 'http://virtualii.com/VirtualII_6_3_7.dmg' url "http://virtualii.com/VirtualII_#{version.gsub('.', '_')}.dmg"
else else
version :latest version :latest
sha256 :no_check sha256 :no_check

View File

@ -2,7 +2,7 @@ cask :v1 => 'witch' do
if MacOS.release == :snow_leopard if MacOS.release == :snow_leopard
version '3.9.1' version '3.9.1'
sha256 '5e46508e150ff16be14b9955abdcd15098376230ef71e3de6f15a056eec75e45' sha256 '5e46508e150ff16be14b9955abdcd15098376230ef71e3de6f15a056eec75e45'
url 'http://manytricks.com/download/witch/3.9.1' url "http://manytricks.com/download/witch/#{version}"
else else
version :latest version :latest
sha256 :no_check sha256 :no_check