Commit Graph

9 Commits

Author SHA1 Message Date
Mark Moser
35cbe68f00 fix bug calculating quiz completion with inactive questions 2016-11-11 14:26:07 -06:00
Mark Moser
d54b99135e rubocop noise: introduced and resolved rails specific cop
http://rubocop.readthedocs.io/en/latest/cops/#rails
2016-09-08 11:52:34 -05:00
Mark Moser
9f23a5d3ce rubocop noise: switched to predicate comparisons
Also introduced because of .ruby-version specification

http://www.rubydoc.info/gems/rubocop/RuboCop/Cop/Style/NumericPredicate
2016-09-08 10:39:26 -05:00
Mark Moser
4bbd93ded1 rubocop noise: fixes FrozenStringLiteralComment
Adding the .ruby-verison file triggered previously un-run cops, specifically:

  This cop is designed to help upgrade to Ruby 3.0. It will add the
  comment `# frozen_string_literal: true` to the top of files to enable
  frozen string literals. Frozen string literals will be default in Ruby
  3.0. The comment will be added below a shebang and encoding comment. The
  frozen string literal comment is only valid in Ruby 2.3+.

More info on rubocop [Automatic-Corrections](https://github.com/bbatsov/rubocop/wiki/Automatic-Corrections)
2016-09-08 10:30:13 -05:00
Mark Moser
f076db259f corrected can_submit to account for finish_later 2016-08-01 19:51:04 -05:00
Mark Moser
5be93e0d38 candidate quiz progression work 2016-07-29 13:34:23 -05:00
Mark Moser
79e1797295 progress bar logic 2016-07-27 22:53:14 -05:00
Mark Moser
5207b6b8fd roughed in quiz GET views 2016-07-27 22:24:24 -05:00
Mark Moser
7a32057825 big start on QuizStatus 2016-07-27 11:17:50 -05:00