<commit_before>cask "rubymine" do
  arch = Hardware::CPU.intel? ? "" : "-aarch64"

  version "2022.1.1,221.5591.54"

  if Hardware::CPU.intel?
    sha256 "6473b150721c9a10dac176137cc908e7e1ebc3325af5e625c00295cedff23b73"
  else
    sha256 "fb0a09e01f04ae0c74e5f3f7f47217af93059ff11c02ece142b0bdfb13fabcf6"
  end

  url "https://download.jetbrains.com/ruby/RubyMine-#{version.csv.first}#{arch}.dmg"
  name "RubyMine"
  desc "Ruby on Rails IDE"
  homepage "https://www.jetbrains.com/ruby/"

  livecheck do
    url "https://data.services.jetbrains.com/products/releases?code=RM&latest=true&type=release"<commit_msg>rubymine 2022.1.2,221.5787.34<commit_after>cask "rubymine" do
  arch = Hardware::CPU.intel? ? "" : "-aarch64"

  version "2022.1.2,221.5787.34"

  if Hardware::CPU.intel?
    sha256 "edea512427e73b662329bed3ed90f48041e1f2aa8bcf197c1c8cb145b8ea52de"
  else
    sha256 "3ac62b5839062b2f79edb71496561815dc8e509f098b78ec22b9c9b8d8690910"
  end

  url "https://download.jetbrains.com/ruby/RubyMine-#{version.csv.first}#{arch}.dmg"
  name "RubyMine"
  desc "Ruby on Rails IDE"
  homepage "https://www.jetbrains.com/ruby/"

  livecheck do
    url "https://data.services.jetbrains.com/products/releases?code=RM&latest=true&type=release"
{'fraction_non_alphanumeric': 0.13306451612903225, 'fraction_numerical': 0.175, 'mean_word_length': 5.024271844660194, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, 'lorem ipsum': 0, 'www.': 2, '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': '2176247', 'n_tokens_mistral': 676, 'n_tokens_neox': 535, 'n_words': 62}