<commit_before>class EnjuLibrary::SetupGenerator < Rails::Generators::Base
  source_root File.expand_path('../templates', __FILE__)
  argument :file, :type => :string, :default => "all"

  def copy_setup_files
    directory("db/fixtures", "db/fixtures/enju_library")
    return if file == 'fixture'
    inject_into_file 'app/controllers/application_controller.rb',
      "  EnjuLibrary::Controller\n", after: "EnjuLeaf::Controller\n"
  end
end<commit_msg>fix install script. cf. next-l/enju_leaf#1061<commit_after>class EnjuLibrary::SetupGenerator < Rails::Generators::Base
  source_root File.expand_path('../templates', __FILE__)
  argument :file, :type => :string, :default => "all"

  def copy_setup_files
    directory("db/fixtures", "db/fixtures/enju_library")
    return if file == 'fixture'
    inject_into_file 'app/controllers/application_controller.rb',
      "  include EnjuLibrary::Controller\n", after: "EnjuLeaf::Controller\n"
  end
end
{'fraction_non_alphanumeric': 0.13789473684210526, 'fraction_numerical': 0.004210526315789474, 'mean_word_length': 5.256578947368421, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '2762903', 'n_tokens_mistral': 310, 'n_tokens_neox': 303, 'n_words': 58}