Project

kanban

0.0
No commit activity in last 3 years
No release in over 3 years
Agile Workflow for Ruby Programs
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 0.16.0, ~> 0.16
>= 4.0.0, ~> 4.0
 Project Readme

kanban - Agile Workflow for Ruby

Description

Kanban provides tools to model task flow in distributed apps.

Create a Backlog

require 'redis'
require 'kanban'

backlog = Kanban::Backlog.new backend: Redis.new

Add some tasks to your shiny new Backlog

task = { 'foo' => 'bar' }
5.times { backlog.add task }

(Elsewhere) Stake a claim on a task from the backlog

task_id = backlog.claim  # Will block until there is a task, if the backlog is empty or all tasks are being worked.
details = backlog.get task_id

Mark a task as complete (or unworkable)

backlog.complete task_id
# or backlog.unworkable task_id
backlog.done? task_id  # => true

Notes

  • Claims expire after awhile (default 3 seconds), and become eligible to

be worked by something else.

License

kanban is available under the MIT License. See LICENSE.txt for the full text.

Contributors