i think, i should write some tests.
This commit is contained in:
parent
f35c674923
commit
51f1627093
|
@ -128,13 +128,13 @@ module SBDB
|
||||||
end
|
end
|
||||||
|
|
||||||
class Recno < DB
|
class Recno < DB
|
||||||
extend Arrayisch
|
include Arrayisch
|
||||||
end
|
end
|
||||||
Array = Recno
|
Array = Recno
|
||||||
TYPES[DB::RECNO] = Recno
|
TYPES[DB::RECNO] = Recno
|
||||||
|
|
||||||
class Queue < DB
|
class Queue < DB
|
||||||
extend Arrayisch
|
include Arrayisch
|
||||||
def unshift txn = nil
|
def unshift txn = nil
|
||||||
@db.get _txn(txn), "\0\0\0\0", nil, Bdb::DB_CONSUME
|
@db.get _txn(txn), "\0\0\0\0", nil, Bdb::DB_CONSUME
|
||||||
end
|
end
|
||||||
|
|
|
@ -9,7 +9,7 @@ Gem::Specification.new do |s|
|
||||||
|
|
||||||
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
||||||
s.authors = ["Denis Knauf"]
|
s.authors = ["Denis Knauf"]
|
||||||
s.date = %q{2010-03-21}
|
s.date = %q{2010-03-29}
|
||||||
s.description = %q{Simple Ruby Berkeley DB wrapper library for bdb.}
|
s.description = %q{Simple Ruby Berkeley DB wrapper library for bdb.}
|
||||||
s.email = %q{Denis.Knauf@gmail.com}
|
s.email = %q{Denis.Knauf@gmail.com}
|
||||||
s.extra_rdoc_files = [
|
s.extra_rdoc_files = [
|
||||||
|
|
Loading…
Reference in a new issue