<commit_before># Load the Rails application.
require File.expand_path('../application', __FILE__)

# Initialize the Rails application.
Rails.application.initialize!
<commit_msg>configure app to use Heroku's Sengrid to send email<commit_after># Load the Rails application.
require File.expand_path('../application', __FILE__)

ActionMailer::Base.smtp_settings = {
  address: 'smtp.sendgrid.net',
  port: '587',
  authentication: :plain,
  user_name: ENV['SENDGRID_USERNAME'],
  password: ENV['<PASSWORD>'],
  domain: 'heroku.com',
  enable_starttls_auto: true
}

# Initialize the Rails application.
Rails.application.initialize!

{'fraction_non_alphanumeric': 0.12420382165605096, 'fraction_numerical': 0.004777070063694267, 'mean_word_length': 5.836956521739131, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, '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': '5732925', 'n_tokens_mistral': 203, 'n_tokens_neox': 194, 'n_words': 49}