Browse Source

General availability of pgadmin 4 (#2732)

master
Brad Hess 8 years ago
committed by Vítor Galvão
parent
commit
b47939ecda
  1. 20
      Casks/pgadmin3.rb
  2. 21
      Casks/pgadmin4.rb

20
Casks/pgadmin3.rb

@ -0,0 +1,20 @@
cask 'pgadmin3' do
# note: "3" is not a version number, but indicates a different vendor
version '1.22.1'
sha256 'fa34b5baf09cf597850101b2806fdf80490c88d6fbf652da3750856423051603'
# ftp.postgresql.org/pub/pgadmin3 was verified as official when first introduced to the cask
url "https://ftp.postgresql.org/pub/pgadmin3/release/v#{version}/osx/pgadmin3-#{version}.dmg"
name 'pgAdmin'
homepage 'https://pgadmin.org/'
license :oss
gpg "#{url}.sig",
key_id: 'e0c4ceeb826b1fda4fb468e024adfaaf698f1519'
app 'pgAdmin3.app'
zap delete: [
'~/Library/Preferences/pgadmin3 Preferences',
'~/Library/Saved Application State/org.postgresql.pgadmin.savedState',
]
end

21
Casks/pgadmin4.rb

@ -1,21 +0,0 @@
cask 'pgadmin4' do
version '1.0'
sha256 '323e21fe683fdc38b545330c575e9e517e3c0f1e9ed1517ddf6955e7666a2c89'
# ftp.postgresql.org was verified as official when first introduced to the cask
url "https://ftp.postgresql.org/pub/pgadmin3/pgadmin4/v#{version}/macos/pgadmin4-#{version}.dmg"
name 'pgAdmin4'
homepage 'http://pgadmin.org'
license :oss
gpg "#{url}.sig",
key_id: 'e0c4ceeb826b1fda4fb468e024adfaaf698f1519'
app 'pgAdmin 4.app'
zap delete: [
'~/.pgadmin',
'~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/org.pgadmin.pgadmin4.sfl',
'~/Library/Preferences/org.pgadmin.pgAdmin 4.plist',
'~/Library/Saved Application State/org.pgadmin.pgAdmin4.savedState',
]
end
Loading…
Cancel
Save