New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

kanban

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

kanban

  • 0.9.6
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

#+TITLE: kanban - Agile Workflow for Ruby

  • Description

    Kanban provides tools to model task flow in distributed apps.

** Create a Backlog

#+BEGIN_SRC ruby require 'redis' require 'kanban'

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

#+END_SRC

** Add some tasks to your shiny new Backlog

#+BEGIN_SRC ruby task = { 'foo' => 'bar' } 5.times { backlog.add task } #+END_SRC

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

#+BEGIN_SRC ruby 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 #+END_SRC

** Mark a task as complete (or unworkable)

#+BEGIN_SRC ruby backlog.complete task_id # or backlog.unworkable task_id backlog.done? task_id # => true #+END_SRC

  • Notes

    • Claims expire after awhile (default 3 seconds), and become eligible to be worked by something else.
  • License

    kanban is available under the [[https://tldrlegal.com/license/mit-license][MIT License]]. See LICENSE.txt for the full text.

  • Contributors

FAQs

Package last updated on 19 Mar 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc