2015-12-18 09:15:28 +08:00
|
|
|
cask 'pgadmin3' do
|
2014-03-01 20:59:38 +08:00
|
|
|
# note: "3" is not a version number, but indicates a different vendor
|
2014-12-20 06:38:49 +08:00
|
|
|
version '1.20.0'
|
|
|
|
sha256 '0712106cca16240db9962214384874c108fe8397d0c418a79dfb3639f8f140da'
|
2014-06-27 08:01:35 +08:00
|
|
|
|
2015-01-18 10:16:18 +08:00
|
|
|
# postgresql.org is the official download host per the vendor homepage
|
2015-06-29 14:32:18 +08:00
|
|
|
url "https://ftp.postgresql.org/pub/pgadmin3/release/v#{version}/osx/pgadmin3-#{version}.dmg"
|
2014-12-20 23:21:39 +08:00
|
|
|
name 'pgAdmin'
|
2014-06-27 08:01:35 +08:00
|
|
|
homepage 'http://pgadmin.org'
|
2014-12-20 23:21:39 +08:00
|
|
|
license :oss
|
2016-01-04 03:19:11 +08:00
|
|
|
gpg "#{url}.sig",
|
|
|
|
:key_id => 'e0c4ceeb826b1fda4fb468e024adfaaf698f1519'
|
2014-06-27 08:01:35 +08:00
|
|
|
|
2014-09-16 00:06:07 +08:00
|
|
|
app 'pgAdmin3.app'
|
2015-01-07 08:53:57 +08:00
|
|
|
|
|
|
|
zap :delete => [
|
2016-01-04 03:19:11 +08:00
|
|
|
'~/Library/Preferences/pgadmin3 Preferences',
|
|
|
|
'~/Library/Saved Application State/org.postgresql.pgadmin.savedState',
|
2015-01-07 08:53:57 +08:00
|
|
|
]
|
2013-06-05 04:42:33 +08:00
|
|
|
end
|