class Yanapiri::Entrega::ModoEstricto
Public Instance Methods
commit_entrega()
click to toggle source
# File lib/yanapiri/entrega.rb, line 109 def commit_entrega repo.checkout 'master' repo.log.until(fecha_limite.iso8601).first.sha end
mensaje_fuera_de_termino()
click to toggle source
Calls superclass method
Yanapiri::Entrega::ModoCorreccion#mensaje_fuera_de_termino
# File lib/yanapiri/entrega.rb, line 105 def mensaje_fuera_de_termino super + "\n\nNo se tuvieron en cuenta los siguientes commits:\n\n#{commits_desestimados}" end
Private Instance Methods
commits_desestimados()
click to toggle source
# File lib/yanapiri/entrega.rb, line 116 def commits_desestimados commits_fuera_de_termino.map {|c| "* #{c.message} (#{c.sha})"}.join("\n") end