Sha256: 715267aa02bf7625a8d8f60d35b6bff6a68b8e910e7757b0daf4371dcfe1f590
Contents?: true
Size: 828 Bytes
Versions: 13
Compression:
Stored size: 828 Bytes
Contents
# frozen_string_literal: true module Onotole module Goodbye def show_goodbye_message github_check airbrake_check graphviz_check say_color BOLDGREEN, "Congratulations! Onotole gives you: 'Intellect+= 1'" end def github_check return unless user_choose? :create_github_repo say_color BOLDGREEN, "You can 'git push -u origin master' to your new repo #{app_name} or check log for errors" end def graphviz_check return unless user_choose?(:railroady) return if system('dot -? > /dev/null && neato -? > /dev/null') say_color YELLOW, 'Install graphviz for Railroady gem' end def airbrake_check return unless user_choose? :airbrake say_color YELLOW, "Remember to run 'rails generate airbrake' with your API key." end end end
Version data entries
13 entries across 13 versions & 1 rubygems