From 51f1627093872d9be03bc9aa0bb5052d7437ab27 Mon Sep 17 00:00:00 2001 From: Denis Knauf Date: Mon, 29 Mar 2010 11:44:04 +0200 Subject: [PATCH] i think, i should write some tests. --- lib/sbdb/db.rb | 4 ++-- sbdb.gemspec | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/sbdb/db.rb b/lib/sbdb/db.rb index 54a4032..089f707 100644 --- a/lib/sbdb/db.rb +++ b/lib/sbdb/db.rb @@ -128,13 +128,13 @@ module SBDB end class Recno < DB - extend Arrayisch + include Arrayisch end Array = Recno TYPES[DB::RECNO] = Recno class Queue < DB - extend Arrayisch + include Arrayisch def unshift txn = nil @db.get _txn(txn), "\0\0\0\0", nil, Bdb::DB_CONSUME end diff --git a/sbdb.gemspec b/sbdb.gemspec index 1eb7af1..130c9cf 100644 --- a/sbdb.gemspec +++ b/sbdb.gemspec @@ -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.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.email = %q{Denis.Knauf@gmail.com} s.extra_rdoc_files = [