dbschema: update urls

This commit is contained in:
Sam Ford
2023-11-04 16:43:16 -04:00
parent e52a831340
commit 05e859961d
+3 -3
View File
@@ -2,13 +2,13 @@ cask "dbschema" do
version "9.4.3"
sha256 :no_check # required as upstream package is updated in-place
url "https://www.dbschema.com/download/DbSchema_macos_#{version.dots_to_underscores}.tgz"
url "https://dbschema.com/download/DbSchema_macos_#{version.dots_to_underscores}.tgz"
name "DbSchema"
desc "Design, document and deploy databases"
homepage "https://www.dbschema.com/"
homepage "https://dbschema.com/"
livecheck do
url "https://www.dbschema.com/download.html"
url "https://dbschema.com/download.html"
regex(/href=.*?DbSchema[._-]macos[._-]v?(\d+(?:_\d+)+)\.t/i)
strategy :page_match do |page, regex|
page.scan(regex)&.map { |match| match[0].tr("_", ".") }