<commit_before>require 'sequel-json'
require 'sequel-pg_array'

module TentD
  module Model

    NoDatabaseError = Class.new(StandardError)
    unless TentD.database
      raise NoDatabaseError.new("You need to set ENV['DATABASE_URL'] or TentD.database_url")
    end

    require 'tentd/models/type'
    require 'tentd/models/user'
    require 'tentd/models/post'
    require 'tentd/models/app'
    require 'tentd/models/attachment'

  end
end<commit_msg>Update exception message when database url missing<commit_after>require 'sequel-json'
require 'sequel-pg_array'

module TentD
  module Model

    NoDatabaseError = Class.new(StandardError)
    unless TentD.database
      raise NoDatabaseError.new("You need to set ENV['DATABASE_URL'] or pass database_url option to TentD.setup!")
    end

    require 'tentd/models/type'
    require 'tentd/models/user'
    require 'tentd/models/post'
    require 'tentd/models/app'
    require 'tentd/models/attachment'

  end
end
{'fraction_non_alphanumeric': 0.09184726522187822, 'fraction_numerical': 0.0, 'mean_word_length': 3.825870646766169, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2712454', 'n_tokens_mistral': 328, 'n_tokens_neox': 321, 'n_words': 75}