cask 'springtoolsuite' do version '4.1.0.RELEASE,4.10.0' sha256 '2de077011e1039c39d63538437d7b67112b695596545b7bb6c2c07c917cd5aa9' # download.springsource.com/release/STS was verified as official when first introduced to the cask url "https://download.springsource.com/release/STS#{version.major}/#{version.before_comma}/dist/e#{version.after_comma.major_minor}/spring-tool-suite-#{version.major}-#{version.before_comma}-e#{version.after_comma}-macosx.cocoa.x86_64.dmg" name 'Spring Tool Suite' homepage 'https://spring.io/tools/sts' auto_updates true app "SpringToolSuite#{version.major}.app" end