lib/burndown_chart.rb in trollolo-0.1.0 vs lib/burndown_chart.rb in trollolo-0.1.1
- old
+ new
@@ -216,10 +216,10 @@
board = trello.board(board_id)
name = options['output'] ? options['output'] : '.'
name += "/burndown-#{sprint.to_s.rjust(2, '0')}.png"
card_id = board.burndown_card_id
trello.add_attachment(card_id, name)
- trello.make_cover(card_id, name)
+ trello.make_cover(card_id, "burndown-#{sprint.to_s.rjust(2, '0')}.png")
end
end
def create_next_sprint(burndown_dir, options = {})
load_sprint(burndown_dir)