Skip to content

pezra/filequeue

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

About

simple file based queue in Ruby

Resources

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
LICENSE.txt

Code of conduct

Stars

Watchers

Forks

Packages

No packages published