No commit activity in last 3 years
No release in over 3 years
A simple file based queue in Ruby
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0
~> 3.3
 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