lib/jets/commands/sequence.rb in jets-1.8.14 vs lib/jets/commands/sequence.rb in jets-1.9.0

- old
+ new

@@ -10,11 +10,11 @@ end private def clone_project unless git_installed? - abort "Unable to detect git installation on your system. Git needs to be installed in order to use the --repo option." + abort "Unable to detect git installation on your system. Git needs to be installed in order to use the --repo option." end if File.exist?(project_folder) abort "The folder #{project_folder} already exists." else @@ -24,17 +24,17 @@ end def confirm_jets_project jets_project = File.exist?("#{project_folder}/config/application.rb") unless jets_project - puts "It does not look like the repo #{options[:repo]} is a jets project. Maybe double check that it is? Exited.".color(:red) + puts "#{options[:repo]} does not look like a Jets project. Double check your repo!".color(:red) exit 1 end end def copy_project - puts "Creating new project called #{@project_name}." + puts "Creating a new Jets project called #{@project_name}." directory ".", project_folder, copy_options end def copy_options excludes = case @options[:mode] @@ -63,12 +63,12 @@ else # html [] end unless @database - # Do not even generated the config/database.yml because - # jets webpacker:install bombs and tries to load the db since it sees a - # config/database.yml but has there's no database pg gem configured. + # Do not even generate the config/database.yml because + # Jets webpacker:install bombs and tries to load the db since it sees a + # config/database.yml but there's no database pg gem configured. excludes += %w[ database.yml models/application_record ] end