<commit_before>require 'rails/all'
require 'rbconfig'
require 'acts_as_indexed'
require 'truncate_html'
require 'will_paginate'

module Refinery
  WINDOWS = !!(RbConfig::CONFIG['host_os'] =~ %r!(msdos|mswin|djgpp|mingw)!) unless defined? WINDOWS

  require 'refinery/errors'

  autoload :Activity, 'refinery/activity'
  autoload :Application, 'refinery/application'
  autoload :ApplicationController, 'refinery/application_controller'
  autoload :Configuration, 'refinery/configuration'
  autoload :Engine, 'refinery/engine'
  autoload :Menu, 'refinery/menu'
  autoload :MenuItem, 'refinery/menu_item'
  autoload :Plugin,  'refinery/plugin'
  autoload :Plugins, 'refinery/plugins'
  autoload :Version, 'refinery/version'
  autoload :Crud, 'refinery/crud'
  autoload :BasePresenter, 'refinery/base_presenter'

  # These have to be specified after the autoload to correct load issues on some systems.
  # As per commit <PASSWORD>
  require 'refinerycms-settings'
  require 'refinery/generators'

  require 'refinery/ext/action_view/helpers/form_builder'
  require 'refinery/ext/action_view/helpers/form_helper'
  require 'refinery/ext/action_view/helpers/form_tag_helper'
  
  module Admin
    autoload :BaseController, 'refinery/admin/base_controller'
  end

  class << self
    attr_accessor :gems

    @@engines = []

    # Convenience method for Refinery::Core#rescue_not_found
    def rescue_not_found<commit_msg>Remove autoload of :Application from Refinery - no longer exists<commit_after>require 'rails/all'
require 'rbconfig'
require 'acts_as_indexed'
require 'truncate_html'
require 'will_paginate'

module Refinery
  WINDOWS = !!(RbConfig::CONFIG['host_os'] =~ %r!(msdos|mswin|djgpp|mingw)!) unless defined? WINDOWS

  require 'refinery/errors'

  autoload :Activity, 'refinery/activity'
  autoload :ApplicationController, 'refinery/application_controller'
  autoload :Configuration, 'refinery/configuration'
  autoload :Engine, 'refinery/engine'
  autoload :Menu, 'refinery/menu'
  autoload :MenuItem, 'refinery/menu_item'
  autoload :Plugin,  'refinery/plugin'
  autoload :Plugins, 'refinery/plugins'
  autoload :Version, 'refinery/version'
  autoload :Crud, 'refinery/crud'
  autoload :BasePresenter, 'refinery/base_presenter'

  # These have to be specified after the autoload to correct load issues on some systems.
  # As per commit <PASSWORD>
  require 'refinerycms-settings'
  require 'refinery/generators'

  require 'refinery/ext/action_view/helpers/form_builder'
  require 'refinery/ext/action_view/helpers/form_helper'
  require 'refinery/ext/action_view/helpers/form_tag_helper'
  
  module Admin
    autoload :BaseController, 'refinery/admin/base_controller'
  end

  class << self
    attr_accessor :gems

    @@engines = []

    # Convenience method for Refinery::Core#rescue_not_found
    def rescue_not_found
{'fraction_non_alphanumeric': 0.1019400352733686, 'fraction_numerical': 0.0, 'mean_word_length': 5.373033707865169, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 5, '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': '4118410', 'n_tokens_mistral': 968, 'n_tokens_neox': 941, 'n_words': 208}