<commit_before>cask "dbgate" do
  arch = Hardware::CPU.intel? ? "x64" : "arm64"

  version "4.7.3"

  if Hardware::CPU.intel?
    sha256 "aa3328c47b4caa6e99a52d4b2be9fcaa7d788cf1333cfaddb98e69b7c134a6d0"
  else
    sha256 "2d77746bedfe999e2187b7cae4be6a6fb506b0ffb2694900be915934f79d4293"
  end

  url "https://github.com/dbgate/dbgate/releases/download/v#{version}/dbgate-#{version}-mac_#{arch}.dmg",
      verified: "github.com/dbgate/dbgate/"
  name "DbGate"
  desc "Database manager for MySQL, PostgreSQL, SQL Server, MongoDB, SQLite and others"
  homepage "https://dbgate.org/"

  livecheck do
    url :url
    strategy :github_latest
  end

  app "dbgate.app"

  zap trash: [
    "~/dbgate-data",
    "~/Library/Application Support/dbgate",
    "~/Library/Logs/dbgate",
    "~/Library/Preferences/org.dbgate.plist",
    "~/Library/Saved Application State/org.dbgate.savedState",
  ]
end<commit_msg>Update dbgate from 4.7.3 to 4.8.2 (#121469)<commit_after>cask "dbgate" do
  arch = Hardware::CPU.intel? ? "x64" : "arm64"

  version "4.8.2"

  if Hardware::CPU.intel?
    sha256 "3642012fbf57a10535b384631adb4c2ced2dae89ef3ef3e34aed755896427a28"
  else
    sha256 "99fb96ca2aaf835e56cc4037ee2bed848dd9847cfbc44cdc77f1605305e9d785"
  end

  url "https://github.com/dbgate/dbgate/releases/download/v#{version}/dbgate-#{version}-mac_#{arch}.dmg",
      verified: "github.com/dbgate/dbgate/"
  name "DbGate"
  desc "Database manager for MySQL, PostgreSQL, SQL Server, MongoDB, SQLite and others"
  homepage "https://dbgate.org/"

  livecheck do
    url :url
    strategy :github_latest
  end

  app "dbgate.app"

  zap trash: [
    "~/dbgate-data",
    "~/Library/Application Support/dbgate",
    "~/Library/Logs/dbgate",
    "~/Library/Preferences/org.dbgate.plist",
    "~/Library/Saved Application State/org.dbgate.savedState",
  ]
end
{'fraction_non_alphanumeric': 0.13547334058759522, 'fraction_numerical': 0.10228509249183895, 'mean_word_length': 3.9568733153638815, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '568501', 'n_tokens_mistral': 845, 'n_tokens_neox': 736, 'n_words': 119}