<commit_before>module Carnival
  module Generators
    class InstallGenerator < Rails::Generators::Base
      desc "Install the Carnival Engine"
      source_root File.expand_path("../../templates", __FILE__)

      def install
        route "mount_my_engine_at 'admin'"
        rake 'carnival_engine:install:migrations'
        copy_file "../../../../config/locales/carnival.en.yml", "config/locales/carnival.en.yml"
        copy_file "../../../../config/locales/carnival.pt.yml", "config/locales/carnival.pt.yml"
        copy_file "../../../../config/locales/devise.pt.yml", "config/locales/devise.pt.yml"
        copy_file "../../../../config/locales/devise.en.yml", "config/locales/devise.en.yml"
        copy_file "carnival_initializer.rb", "config/initializers/carnival_initializer.rb"
      end
    end
  end
end<commit_msg>Vários ajustes para deixar tudo com o nome carnival<commit_after>module Carnival
  module Generators
    class InstallGenerator < Rails::Generators::Base
      desc "Install the Carnival Engine"
      source_root File.expand_path("../../templates", __FILE__)

      def install
        route "mount_my_engine_at 'admin'"
        rake 'carnival_engine:install:migrations'
        puts Rails.root
        copy_file "../../../../config/locales/carnival.en.yml", "config/locales/carnival.en.yml"
        copy_file "../../../../config/locales/carnival.pt.yml", "config/locales/carnival.pt.yml"
        copy_file "../../../../config/locales/devise.pt.yml", "config/locales/devise.pt.yml"
        copy_file "../../../../config/locales/devise.en.yml", "config/locales/devise.en.yml"
        copy_file "carnival_initializer.rb", "config/initializers/carnival_initializer.rb"
      end
    end
  end
end
{'fraction_non_alphanumeric': 0.16183294663573086, 'fraction_numerical': 0.0, 'mean_word_length': 2.6702127659574466, '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': '6710001', 'n_tokens_mistral': 569, 'n_tokens_neox': 555, 'n_words': 91}