<commit_before>
require 'paperclip'
#require 'ruby-debug'

module AvatarsForRails
 
  #autoload :AvatarsControllerConfig,   'avatars_for_rails/avatars_controller_config'
 
  mattr_accessor :avatarable_model
  mattr_accessor :current_avatarable_object
  mattr_accessor :avatarable_filters
  mattr_accessor :avatarable_styles
  # The tmp path inside public/
  mattr_accessor :tmp_path
  @@tmp_path = File.join('images', 'tmp')
  
   class << self
    def setup
      yield self
    end


   end

  class Engine < Rails::Engine
=begin    
    config.to_prepare do   
      AvatarsController.class_eval do 
        #include AvatarsForRails::AvatarsControllerConfig
        include AvatarsControllerConfig
      end      
    end
=end      
  end
<commit_msg>Change default tmp file path so it is preserved through deployments<commit_after>
require 'paperclip'
#require 'ruby-debug'

module AvatarsForRails
 
  #autoload :AvatarsControllerConfig,   'avatars_for_rails/avatars_controller_config'
 
  mattr_accessor :avatarable_model
  mattr_accessor :current_avatarable_object
  mattr_accessor :avatarable_filters
  mattr_accessor :avatarable_styles
  # The tmp path inside public/
  mattr_accessor :tmp_path
  @@tmp_path = File.join('system', 'tmp')
  
   class << self
    def setup
      yield self
    end


   end

  class Engine < Rails::Engine
=begin    
    config.to_prepare do   
      AvatarsController.class_eval do 
        #include AvatarsForRails::AvatarsControllerConfig
        include AvatarsControllerConfig
      end      
    end
=end      
  end

{'fraction_non_alphanumeric': 0.05761843790012804, 'fraction_numerical': 0.0, 'mean_word_length': 3.4277620396600565, 'pattern_counts': {'":': 0, '<': 9, '<?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': '7625517', 'n_tokens_mistral': 524, 'n_tokens_neox': 495, 'n_words': 114}