SBDB::Queue::unshift ready

This commit is contained in:
Denis Knauf 2010-02-23 21:48:02 +01:00
parent 5a8329161b
commit 9182884749
4 changed files with 5 additions and 7 deletions

View file

@ -4,9 +4,7 @@ Dependencies
Bdb
---
Your need first this library:
http://github.com/DenisKnauf/bdb
You need first the [Bdb](http://github.com/DenisKnauf/bdb) and of course ruby.
Download
========

View file

@ -10,7 +10,7 @@ begin
gem.email = "Denis.Knauf@gmail.com"
gem.homepage = "http://github.com/DenisKnauf/bdb"
gem.authors = ["Denis Knauf"]
gem.files = ["README", "VERSION", "lib/**/*.rb", "test/**/*.rb"]
gem.files = ["README.md", "VERSION", "lib/**/*.rb", "test/**/*.rb"]
gem.require_paths = ["lib"]
gem.add_dependency 'bdb'
end

View file

@ -117,7 +117,7 @@ module SBDB
end
def unshift
@db.get nil, nil, nil, Bdb::DB_CONSUME
@db.get nil, "\0\0\0\0", nil, Bdb::DB_CONSUME
end
def push v

View file

@ -14,10 +14,10 @@ Gem::Specification.new do |s|
s.email = %q{Denis.Knauf@gmail.com}
s.extra_rdoc_files = [
"LICENSE",
"README"
"README.md"
]
s.files = [
"README",
"README.md",
"VERSION",
"lib/sbdb.rb",
"lib/sbdb/cursor.rb",