Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
timotheecour committed Nov 16, 2018
1 parent 526abce commit 6a1dc85
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 7 deletions.
6 changes: 5 additions & 1 deletion nimongo.nimble
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
# Package
description = "Pure Nim driver for MongoDB with support of synchronous and asynchronous I/O modes"
version = "0.1"
version = "0.2"
license = "MIT"
author = "Rostyslav Dzinko <rostislav.dzinko@gmail.com>"

# Dependencies
requires "scram >= 0.1.2"

task test, "":
exec "nim c -r tests/nimongotest.nim"
# exec "nimble c -r tests/nimongotest.nim"
2 changes: 0 additions & 2 deletions nimongo/bson.nim
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ import strutils
import times
import tables

import timeit

# ------------- type: BsonKind -------------------#

type BsonKind* = char
Expand Down
1 change: 0 additions & 1 deletion nimongo/mongo.nim
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ import uri
import os

import bson except `()`
import timeit

import scram/client

Expand Down
2 changes: 1 addition & 1 deletion nimongo/bsontest.nim → tests/bsontest.nim
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## Tests for bson.nim module
import unittest

import bson
import nimongo/bson

suite "BSON serializer/deserializer test suite":

Expand Down
6 changes: 4 additions & 2 deletions nimongo/mongotest.nim → tests/mongotest.nim
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@ import strutils
import times
import unittest

import bson
import mongo
import nimongo/bson
import nimongo/mongo

# TODO: unused
import timeit

const
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 6a1dc85

Please sign in to comment.