Project

filequeue

0.0
No commit activity in last 3 years
No release in over 3 years
File based queue for coordinating multiple processes.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

~> 1.16
~> 10.0
~> 3.0
 Project Readme

FileQueue Build Status

...is a simple file based queue written in Ruby that uses the Ruby File class in standard library to push and pop items into a queue. It's not web scale but is nice for lightweight async queuing apps.

Originally written by daddz and found in this gist. Thanks, daddz!

Install

gem install filequeue

Usage

queue = FileQueue.new 'queue_party.txt'

queue.push "an item"
  => true
  
queue.pop
  => "an item"

See spec/filequeue_spec.rb for more usage details

Continuous Integration

Build Status