<commit_before>require "penpal/version"
require 'penpal/mail'
require 'penpal/queue'
require 'uri'

module Penpal
  # TODO: Hardcode default delivery host
  @@delivery_host = URI(ENV['PENPAL_DELIVERY_HOST'] || 'http://penpal-app.herokuapp.com')
  @@domain_key = ENV['PENPAL_DOMAIN_KEY']

  def self.delivery_host=(host)
    @@delivery_host = host
  end

  # Lazily create a delivery_host URI
  def self.delivery_host
    if @@delivery_host.is_a?(URI)
      @@delivery_host
    else
      URI(@@delivery_host)
    end
  end

  def self.domain_key=(key)
    @@domain_key = key
  end

  def self.domain_key
    @@domain_key
  end<commit_msg>s/app/deliver/g<commit_after>require "penpal/version"
require 'penpal/mail'
require 'penpal/queue'
require 'uri'

module Penpal
  # TODO: Hardcode default delivery host
  @@delivery_host = URI(ENV['PENPAL_DELIVERY_HOST'] || 'http://penpal-deliver.herokuapp.com')
  @@domain_key = ENV['PENPAL_DOMAIN_KEY']

  def self.delivery_host=(host)
    @@delivery_host = host
  end

  # Lazily create a delivery_host URI
  def self.delivery_host
    if @@delivery_host.is_a?(URI)
      @@delivery_host
    else
      URI(@@delivery_host)
    end
  end

  def self.domain_key=(key)
    @@domain_key = key
  end

  def self.domain_key
    @@domain_key
  end
{'fraction_non_alphanumeric': 0.11622464898595944, 'fraction_numerical': 0.0, 'mean_word_length': 3.787313432835821, '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': '4573779', 'n_tokens_mistral': 499, 'n_tokens_neox': 478, 'n_words': 95}