<commit_before>require 'active_replicas/version'
require 'active_replicas/log_subscriber'
require 'active_replicas/proxying_connection'
require 'active_replicas/proxying_connection_pool'

if defined? ActiveRecord
  version = ActiveRecord::VERSION::MAJOR

  if version == 4
    require 'active_replicas/rails4/helpers'
    require 'active_replicas/rails4/connection_handler'
  else
    raise "Unsupported ActiveRecord version: #{version}"
  end
end

require 'active_replicas/railtie' if defined? Rails<commit_msg>Remove unnecessary require in gem's entry point<commit_after>require 'active_replicas/version'
require 'active_replicas/log_subscriber'
require 'active_replicas/proxying_connection'
require 'active_replicas/proxying_connection_pool'

if defined? ActiveRecord
  version = ActiveRecord::VERSION::MAJOR

  if version == 4
    require 'active_replicas/rails4/connection_handler'
  else
    raise "Unsupported ActiveRecord version: #{version}"
  end
end

require 'active_replicas/railtie' if defined? Rails
{'fraction_non_alphanumeric': 0.07798617966436328, 'fraction_numerical': 0.004935834155972359, 'mean_word_length': 6.740458015267175, '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': '5411325', 'n_tokens_mistral': 323, 'n_tokens_neox': 315, 'n_words': 69}