<commit_before>class Ettu
  class Railtie < Rails::Railtie
    config.ettu = ActiveSupport::OrderedOptions.new
    initializer 'load' do |app|

      unless app.config.ettu.disabled
        require 'ettu'
        if app.config.ettu.development_hack

          class BlackHole < Hash
            def []=(*); end
          end
          module EtagBuster
            extend ActiveSupport::Concern
            included do
              def fresh_when(*); end
            end
          end

          module ::ActionView
            class Digestor
              @@cache = BlackHole.new
            end
          end
          ActiveSupport.on_load :action_controller do
            ActionController::Base.send :include, EtagBuster
          end

        else

          ActiveSupport.on_load :action_controller do
            ActionController::Base.send :include, FreshWhen
          end

        end
      end

    end
  end
end<commit_msg>Remove EtagBuster<commit_after>class Ettu
  class Railtie < Rails::Railtie
    config.ettu = ActiveSupport::OrderedOptions.new
    initializer 'load' do |app|

      unless app.config.ettu.disabled
        require 'ettu'
        ActiveSupport.on_load :action_controller do
          ActionController::Base.send :include, FreshWhen
        end

        if app.config.ettu.development_hack
          class BlackHole < Hash
            def []=(*); end
          end
          module ::ActionView
            class Digestor
              @@cache = BlackHole.new
            end
          end
        end

      end

    end
  end
end
{'fraction_non_alphanumeric': 0.06449553001277139, 'fraction_numerical': 0.0, 'mean_word_length': 1.6029900332225913, 'pattern_counts': {'":': 0, '<': 7, '<?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': '308873', 'n_tokens_mistral': 437, 'n_tokens_neox': 412, 'n_words': 105}