diff --git a/README.md b/README.md index cd709c0..be96037 100644 --- a/README.md +++ b/README.md @@ -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 ======== diff --git a/Rakefile b/Rakefile index 831e1dc..309efe5 100644 --- a/Rakefile +++ b/Rakefile @@ -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 diff --git a/lib/sbdb/db.rb b/lib/sbdb/db.rb index 33626d9..dc6fb4f 100644 --- a/lib/sbdb/db.rb +++ b/lib/sbdb/db.rb @@ -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 diff --git a/sbdb.gemspec b/sbdb.gemspec index 43028bf..11e2da4 100644 --- a/sbdb.gemspec +++ b/sbdb.gemspec @@ -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",