<commit_before>module WebsocketRails
  
  class Engine < Rails::Engine
    initializer "websocket_rails.load_app_instance_data" do |app|
      WebsocketRails.setup do |config|
        config.app_root = app.root
      end
      app.config.autoload_paths += [File.expand_path("../../lib", __FILE__)]
    end
    
    initializer "websocket_rails.load_static_assets" do |app|
      app.middleware.use ::ActionDispatch::Static, "#{root}/public"
    end    
  end
end<commit_msg>Remove old static asset code from engine.rb<commit_after>module WebsocketRails
  
  class Engine < Rails::Engine
    initializer "websocket_rails.load_app_instance_data" do |app|
      WebsocketRails.setup do |config|
        config.app_root = app.root
      end
      app.config.autoload_paths += [File.expand_path("../../lib", __FILE__)]
    end
  end
end
{'fraction_non_alphanumeric': 0.10709987966305656, 'fraction_numerical': 0.0, 'mean_word_length': 3.2233502538071064, 'pattern_counts': {'":': 0, '<': 5, '<?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': '790961', 'n_tokens_mistral': 277, 'n_tokens_neox': 268, 'n_words': 55}