<commit_before>require 'rails/generators'
require 'rails/generators/rails/app/app_generator'
require 'horsepower'
Horsepower.require_plugin_generator

module Horsepower
  class PluginGenerator < plugin_klass
    class_option :database, type: :string, aliases: '-d', default: 'postgresql',
      desc: "Preconfigure for selected database (options: #{DATABASES.join('/')})"

    class_option :skip_test_unit, type: :boolean, aliases: '-T', default: true, desc: 'Skip Test::Unit files'

    class_option :skip_bundle, type: :boolean, aliases: '-B', default: true, desc: "Don't run bundle install"

    class_option :mountable, type: :boolean, default: true, desc: "Generate mountable isolated application"

    class_option :dummy_path, type: :string, default: "spec/dummy", desc: "Create dummy application at given path"

    def finish_template
      invoke :horsepower_customization
      super
    end

    def horsepower_customization
      invoke :hello
      invoke :setup_rvm
      invoke :bundle
      invoke :custom_readme
      invoke :goodbye
    end
<commit_msg>Remove broken rvm step<commit_after>require 'rails/generators'
require 'rails/generators/rails/app/app_generator'
require 'horsepower'
Horsepower.require_plugin_generator

module Horsepower
  class PluginGenerator < plugin_klass
    class_option :database, type: :string, aliases: '-d', default: 'postgresql',
      desc: "Preconfigure for selected database (options: #{DATABASES.join('/')})"

    class_option :skip_test_unit, type: :boolean, aliases: '-T', default: true, desc: 'Skip Test::Unit files'

    class_option :skip_bundle, type: :boolean, aliases: '-B', default: true, desc: "Don't run bundle install"

    class_option :mountable, type: :boolean, default: true, desc: "Generate mountable isolated application"

    class_option :dummy_path, type: :string, default: "spec/dummy", desc: "Create dummy application at given path"

    def finish_template
      invoke :horsepower_customization
      super
    end

    def horsepower_customization
      invoke :hello
      invoke :custom_readme
      invoke :bundle
      invoke :goodbye
    end

{'fraction_non_alphanumeric': 0.10004697040864255, 'fraction_numerical': 0.0, 'mean_word_length': 4.351758793969849, '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': '7549047', 'n_tokens_mistral': 633, 'n_tokens_neox': 608, 'n_words': 191}