<commit_before>cask :v1 => 'ridibooks' do
  version :latest
  sha256 :no_check

  url 'http://ridibooks.com/getapp?os=mac'
  name 'Ridibooks'
  homepage 'https://ridibooks.com/support/app/download'
  license :gratis

  app 'Ridibooks.app'

  zap :delete => [
                  '~/Library/Application Support/RIDI',
                  '~/Library/Preferences/com.ridibooks.Ridibooks.plist',
                 ]
end
<commit_msg>Update Ridibooks to versioned url<commit_after>cask :v1 => 'ridibooks' do
  version '1.5.9b'
  sha256 '27e06ef0625f8958a909c7801bfd0108d975164fec9b241d1a12ab083edea2e0'

  # ridicorp.com is the official download host per the vendor homepage
  url "http://cdn.ridicorp.com/app/mac/ridibooks-#{version}.dmg"
  name 'Ridibooks'
  homepage 'https://ridibooks.com/support/app/download'
  license :gratis

  app 'Ridibooks.app'

  zap :delete => [
                  '~/Library/Application Support/RIDI',
                  '~/Library/Preferences/com.ridibooks.Ridibooks.plist',
                 ]
end

{'fraction_non_alphanumeric': 0.12192723697148476, 'fraction_numerical': 0.051130776794493606, 'mean_word_length': 2.827067669172932, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 3, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3781022', 'n_tokens_mistral': 421, 'n_tokens_neox': 380, 'n_words': 62}