Module: Contestify

Defined in:
lib/contestify/util.rb,
lib/contestify/contest.rb,
lib/contestify/version.rb,
lib/contestify/colorize.rb,
lib/contestify/messages.rb,
lib/contestify/uploader.rb,
lib/contestify/judges/coci/coci.rb,
lib/contestify/judges/local/local.rb,
lib/contestify/judges/coci/configuration.rb,
lib/contestify/judges/local/configuration.rb

Defined Under Namespace

Modules: Coci, Colorize, Judge, Local, Util Classes: Contest, Uploader

Constant Summary collapse

VERSION =
"2.1.0"
PROBLEM_COLORS =
%w(blue red green yellow black pink purple gray orange white brown cyan)
HELP_MESSAGE =
<<-TEXT
You need to specify the three arguments. Here's an example:

  contestify coci_problems_url judge_upload_url judge_password
TEXT
CURL_PROBLEM =
<<-TEXT
We could not get the problems from that URL. Maybe you mispelled it? Please try again.
TEXT
UNZIP_MISSING =
<<-TEXT
Please install `unzip` first or add it to your PATH if needed.
TEXT
UNZIP_PROBLEM =
<<-TEXT
We couldn't unzip your files. Please verify that the download was succesful.
TEXT
ZIP_PROBLEM =
<<-TEXT
We couldn't zip your files. Please try again.
TEXT