Better requirements handling.

remotes/1719344442898712274/ramdb
Karchnu 2020-07-17 10:39:40 +02:00
parent 99b8b5e20b
commit ae2b4801c1
3 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
require "spec"
require "file_utils"
require "../src/cached.cr"
require "../src/dodb.cr"
require "./test-data.cr"
@ -113,7 +113,8 @@ describe "DODB::DataBase::Cached" do
# db_ships_by_name.get?(ship.name).should eq(ship)
# end
# end
#
# end
# it "raise on index overload" do
# db = DODB::SpecDataBase.new
#

View File

@ -1,8 +1,6 @@
require "file_utils"
require "json"
require "./dodb.cr"
class Hash(K,V)
def reverse
rev = Array(Tuple(K,V)).new

View File

@ -336,3 +336,4 @@ class DODB::DataBase(V)
end
end
require "./cached.cr"