lib/polytrix/command/list.rb in polytrix-0.1.0 vs lib/polytrix/command/list.rb in polytrix-0.1.1
- old
+ new
@@ -41,10 +41,10 @@
def format_last_action(challenge)
case challenge.last_action
when 'clone' then colorize('Cloned', :cyan)
when 'bootstrap' then colorize('Bootstrapped', :magenta)
when 'exec' then colorize('Executed', :blue)
- when 'verify' then colorize("Verified (Level #{challenge.verification_level})", :yellow)
+ when 'verify' then colorize("Verified (x#{challenge.validations.count})", :yellow)
when nil then colorize('<Not Found>', :red)
else colorize("<Unknown (#{challenge.last_action})>", :white)
end
end
end