Sha256: 879541065f456f3556fd079aa18482d8e689edb6528686e1861871af3c269f7c

Contents?: true

Size: 692 Bytes

Versions: 7

Compression:

Stored size: 692 Bytes

Contents

Lionel.export do
  B { id }

  # Card link
  C { link(name.gsub(/^\[.*\]\s*/, "")) }

  # Ready date
  D do |export|
    ready_action = first_action do |a|
      (a.create? && a.board_id == export.trello_board_id) || a.moved_to?("Ready")
    end
    format_date(ready_action.date) if ready_action
  end

  # In Progress date
  E { date_moved_to("In Progress") }

  # Code Review date
  F { date_moved_to("Code Review") }

  # Review date
  G { date_moved_to("Review") }

  # Deploy date
  H { date_moved_to("Deploy") }

  # Completed date
  I { date_moved_to("Completed") }

  # Type
  J { type }

  # Project
  K { project }

  # Estimate
  L { estimate }

  # Due Date
  M { due_date }
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
lionel_richie-0.3.1 examples/Lionelfile.kanban.rb
lionel_richie-0.3.0 examples/Lionelfile.kanban.rb
lionel_richie-0.2.4 examples/Lionelfile.kanban.rb
lionel_richie-0.2.3.1 examples/Lionelfile.kanban.rb
lionel_richie-0.2.3 examples/Lionelfile.kanban.rb
lionel_richie-0.2.1 examples/Lionelfile.kanban.rb
lionel_richie-0.2.0 examples/Lionelfile.kanban.rb