<commit_before>require Rails.root.join('config/initializers/mail')

BreakthroughForMen::Application.configure do
  config.cache_classes = true
  config.eager_load = true

  config.consider_all_requests_local       = false
  config.action_controller.perform_caching = true

  # Enable Rack::Cache to put a simple HTTP cache in front of your application
  # Add `rack-cache` to your Gemfile before enabling this.
  # For large-scale production use, consider using a caching reverse proxy like nginx, varnish or squid.
  # config.action_dispatch.rack_cache = true

  # Disable Rails's static asset server (Apache or nginx will already do this).
  config.serve_static_assets = false

  config.assets.js_compressor = :uglifier
  # config.assets.css_compressor = :sass
  config.assets.compile = false
  config.assets.digest = true
  config.assets.version = '1.0'

  config.force_ssl = true

  config.log_level = :info
  config.log_formatter = ::Logger::Formatter.new

  # Use a different cache store in production.
  # config.cache_store = :mem_cache_store

  config.assets.precompile += %w(
    vendor/modernizr.js
    admin.css
    admin.js
    donations.js
    admin/alumni_membership.js
  )

  HOST = ENV['DOMAIN'] || 'breakthroughformen.org'
  config.action_mailer.default_url_options = { :host => HOST }

  config.i18n.fallbacks = true
  config.active_support.deprecation = :notify

  config.action_mailer.delivery_method = :smtp
  config.action_mailer.smtp_settings = MAIL_SETTINGS
  config.action_mailer.perform_deliveries = true
  config.action_mailer.raise_delivery_errors = false
  config.action_mailer.default :charset => "utf-8"

  # config.middleware.use ExceptionNotification::Rack,
  #   email: {
  #     sender_address: ENV["EMAIL_ADDRESS"],
  #     exception_recipients: %w{<EMAIL>}
  # }

  #config.middleware.use Mixpanel::Middleware, ENV["MIXPANEL_API_TOKEN"]
end
<commit_msg>Disable SSL<commit_after>require Rails.root.join('config/initializers/mail')

BreakthroughForMen::Application.configure do
  config.cache_classes = true
  config.eager_load = true

  config.consider_all_requests_local       = false
  config.action_controller.perform_caching = true

  # Enable Rack::Cache to put a simple HTTP cache in front of your application
  # Add `rack-cache` to your Gemfile before enabling this.
  # For large-scale production use, consider using a caching reverse proxy like nginx, varnish or squid.
  # config.action_dispatch.rack_cache = true

  # Disable Rails's static asset server (Apache or nginx will already do this).
  config.serve_static_assets = false

  config.assets.js_compressor = :uglifier
  # config.assets.css_compressor = :sass
  config.assets.compile = false
  config.assets.digest = true
  config.assets.version = '1.0'

  #config.force_ssl = true

  config.log_level = :info
  config.log_formatter = ::Logger::Formatter.new

  # Use a different cache store in production.
  # config.cache_store = :mem_cache_store

  config.assets.precompile += %w(
    vendor/modernizr.js
    admin.css
    admin.js
    donations.js
    admin/alumni_membership.js
  )

  HOST = ENV['DOMAIN'] || 'breakthroughformen.org'
  config.action_mailer.default_url_options = { :host => HOST }

  config.i18n.fallbacks = true
  config.active_support.deprecation = :notify

  config.action_mailer.delivery_method = :smtp
  config.action_mailer.smtp_settings = MAIL_SETTINGS
  config.action_mailer.perform_deliveries = true
  config.action_mailer.raise_delivery_errors = false
  config.action_mailer.default :charset => "utf-8"

  # config.middleware.use ExceptionNotification::Rack,
  #   email: {
  #     sender_address: ENV["EMAIL_ADDRESS"],
  #     exception_recipients: %w{<EMAIL>}
  # }

  #config.middleware.use Mixpanel::Middleware, ENV["MIXPANEL_API_TOKEN"]
end

{'fraction_non_alphanumeric': 0.09600634752710924, 'fraction_numerical': 0.0026448029621793175, 'mean_word_length': 4.195054945054945, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, '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': '4207303', 'n_tokens_mistral': 1273, 'n_tokens_neox': 1212, 'n_words': 257}