Showing 3 of 3 total issues
Class AppBuilder
has 51 methods (exceeds 20 allowed). Consider refactoring. Open
Open
class AppBuilder < Rails::AppBuilder # rubocop:disable Metrics/ClassLength
include Firestarter::Actions
def readme
template "README.md.erb", "README.md"
Class AppGenerator
has 27 methods (exceeds 20 allowed). Consider refactoring. Open
Open
class AppGenerator < Rails::Generators::AppGenerator # rubocop:disable Metrics/ClassLength
class_option :database, type: :string, aliases: "-d", default: "postgresql",
desc: "Preconfigure for selected database (options: #{DATABASES.join('/')})"
class_option :github, type: :string, aliases: "-G", default: nil,
File app_builder.rb
has 256 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
module Firestarter
class AppBuilder < Rails::AppBuilder # rubocop:disable Metrics/ClassLength
include Firestarter::Actions
def readme