```ruby
cask :v1 => 'macid' do
  version '1.2b'
  sha256 '71dd713f6090b0c6038c274fa32bdb59bb8cfe7f39ec06c252f71dcae932e6a6'

  url "http://macid.co/app/#{version.sub(%r{b.*},'')}/#{version.sub(%r{.*b},'')}/MacID-for-OS-X.zip"
  name 'MacID'
  homepage 'http://macid.co/'
  license :gratis

  app 'MacID.app'
end
```

Upgrade MacID.app to 1.2.2, add MacOS dependency and zap
user
```ruby
cask :v1 => 'macid' do
  version '1.2.2'
  sha256 '6dd7ad1992355be510df33ee6c0209690c6d3522a93afa9d6750b999b36c67be'

  url "http://macid.co/app/#{version}/MacID-for-OS-X.zip"
  name 'MacID'
  homepage 'http://macid.co/'
  license :gratis

  app 'MacID.app'

  depends_on :macos => '>= :yosemite'

  zap :delete => '~/Library/Preferences/com.kanecheshire.MacIDOSX.plist'
end
```
assistant