all repos — litestore @ 3bec07a37395f4819d4479eea89aeaf1f072d5cc

A minimalist nosql document store.

Recompiled on Nim v1.4.0
h3rald h3rald@h3rald.com
Sat, 31 Oct 2020 23:30:39 +0100
commit

3bec07a37395f4819d4479eea89aeaf1f072d5cc

parent

e013a7134f9250bb02be6cda2aa27d40541549e5

M build_guidebuild_guide

@@ -30,7 +30,7 @@ for page in ${pages[@]}

do (cat "${page}"; printf "\n\n") >> LiteStore_UserGuide.md done -hastyscribe --field/version:1.9.1 LiteStore_UserGuide.md +hastyscribe --field/version:1.9.2 LiteStore_UserGuide.md rm LiteStore_UserGuide.md mv LiteStore_UserGuide.htm .. cd ../..
M litestore.nimblelitestore.nimble

@@ -25,7 +25,7 @@ installExt = @["nim", "c", "h", "json", "ico"]

# Dependencies -requires "nim >= 1.0.0", "jwt", "nimgen", "duktape" +requires "nim >= 1.4.0", "jwt", "nimgen", "duktape" # Build
M src/litestorepkg/lib/cli.nimsrc/litestorepkg/lib/cli.nim

@@ -120,7 +120,7 @@ cliSettings["directory"] = %directory

of "middleware", "w": if val == "": fail(115, "Middleware path not specified.") - if not val.existsDir(): + if not val.dirExists(): fail(116, "Middleware directory does not exist.") for file in val.walkDir(): if file.kind == pcFile or file.kind == pcLinkToFile:
M src/litestorepkg/lib/config.nimsrc/litestorepkg/lib/config.nim

@@ -1,6 +1,6 @@

const pkgName* = "litestore" - pkgVersion* = "1.9.1" + pkgVersion* = "1.9.2" pkgAuthor* = "Fabio Cevasco" pkgDescription* = "Self-contained, lightweight, RESTful document store." pkgLicense* = "MIT"
M src/litestorepkg/lib/core.nimsrc/litestorepkg/lib/core.nim

@@ -550,7 +550,7 @@ var files = newSeq[string]()

if not dir.dirExists: raise newException(EDirectoryNotFound, "Directory '$1' not found." % dir) for f in dir.walkDirRec(): - if f.existsDir: + if f.dirExists: continue if f.splitFile.name.startsWith("."): # Ignore hidden files