<commit_before>        require 'rails/generators'

        class TestAppGenerator < Rails::Generators::Base
          source_root "./spec/test_app_templates"

          # if you need to generate any additional configuration
          # into the test app, this generator will be run immediately
          # after setting up the application

          def install_engine
            generate 'preservation:install'
          end
        end

<commit_msg>Installs CurationConcerns in test app generator<commit_after>require 'rails/generators'

class TestAppGenerator < Rails::Generators::Base
  source_root File.join(Preservation.root, "spec", "test_app_templates")

  def install_curation_concerns
    generate 'curation_concerns:install -f'
  end

  def install_engine
    generate 'preservation:install'
  end
end

{'fraction_non_alphanumeric': 0.06265356265356266, 'fraction_numerical': 0.0, 'mean_word_length': 3.1370558375634516, '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': '3520660', 'n_tokens_mistral': 222, 'n_tokens_neox': 211, 'n_words': 63}