<commit_before>require 'ship_fosdick/version'
require 'ship_fosdick/railtie'
require 'ship_fosdick/engine'

# Fosdick integration entry point.
# Will check to see if Rails and a confuration is available.
# Including bootstrapping all needed files for your shipping pleasure
module ShipFosdick
  if defined?(Rails)
    def self.configure(&block)
      if block_given?
        block.call(ShipFosdick::Railtie.config.ship_fosdick)
      else
        ShipFosdick::Railtie.config.ship_fosdick
      end
    end
  else
    def self.config
      @@config ||= OpenStruct.new()
      @@config
    end
  end
end<commit_msg>Clean Up If Rails Block<commit_after>require 'spree_core'
require 'ship_fosdick/version'
require 'ship_fosdick/railtie'
require 'ship_fosdick/engine'

# Fosdick integration entry point.
# Will check to see if Rails confuration is available.
# Including bootstrapping all needed files for your shipping pleasure
module ShipFosdick
  def self.configure(&block)
    if block_given?
      block.call(ShipFosdick::Railtie.config.ship_fosdick)
    else
      ShipFosdick::Railtie.config.ship_fosdick
    end
  end
end
{'fraction_non_alphanumeric': 0.07295373665480427, 'fraction_numerical': 0.0, 'mean_word_length': 3.97787610619469, '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': '2805446', 'n_tokens_mistral': 388, 'n_tokens_neox': 377, 'n_words': 97}