<commit_before>require 'rails/generators'

class SkinnycmsGenerator < Rails::Generators::Base

  desc "Fully installing SKINNYCMS to application"

  def install
    run "rails generate skinnycms_gems"
    run "rails generate skinnycms_devise"
    run "rails generate skinnycms_tinymce"
    run "rails generate friendly_id"
    run "rails generate skinnycms_migrations"
    run "rails generate skinnycms_layouts"
    run "rails generate skinnycms_styles"
    run "rails generate skinnycms_javascripts"
    run "rails generate skinnycms_images"
    remove_file 'public/index.html'
    puts SkinnycmsGenerator.end_description
  end

  def self.end_description
        <<-DESCRIPTION
*******************************************************************

  SKINNYCMS successfully installed!

  Now you can run 'rails generate skinnycms_db_seeds',
  it will add to your database all necessary content
  for best testing your application!

  Enjoy your SKINNYCMS!

*******************************************************************
        DESCRIPTION
  end
end<commit_msg>[#8938837] FOR ENGINE CONFIGURATION: edited skinnycms generator<commit_after>require 'rails/generators'

class SkinnycmsGenerator < Rails::Generators::Base

  desc "Fully installing SKINNYCMS to application"

  def install
    run "rails generate skinnycms_gems"
    run "rails generate skinnycms_devise"
    run "rails generate skinnycms_tinymce"
    run "rails generate friendly_id"
    run "rails generate skinnycms_migrations"
    run "rails generate skinnycms_layouts"
    run "rails generate skinnycms_styles"
    run "rails generate skinnycms_javascripts"
    run "rails generate skinnycms_images"
    remove_file 'public/index.html' if File.exist?('public/index.html')
    puts SkinnycmsGenerator.end_description
  end

  def self.end_description
        <<-DESCRIPTION
*******************************************************************

  SKINNYCMS successfully installed!

  Now you can run 'rails generate skinnycms_db_seeds',
  it will add to your database all necessary content
  for best testing your application!

  Enjoy your SKINNYCMS!

*******************************************************************
        DESCRIPTION
  end
end
{'fraction_non_alphanumeric': 0.16771866546438233, 'fraction_numerical': 0.0031559963931469793, 'mean_word_length': 4.87037037037037, 'pattern_counts': {'":': 0, '<': 9, '<?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': '1781952', 'n_tokens_mistral': 666, 'n_tokens_neox': 553, 'n_words': 181}