From 619b165709cb7ad61a833640eedebbb5a5ad81a7 Mon Sep 17 00:00:00 2001 From: Tommi Reiman Date: Fri, 2 Jan 2015 10:56:26 +0200 Subject: [PATCH] bump up version, remove dead code --- README.md | 1 + project.clj | 2 +- src/schema_tools/core.cljx | 4 ---- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 99998d0..9088a9e 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,7 @@ Common utilities on top of [Prismatic Schema](https://github.com/Prismatic/schem See the [facts](https://github.com/metosin/schema-tools/blob/master/test/schema_tools/core_test.clj). ## Todo +- [ ] `update`, `merge`, `merge-with` - [ ] Verify performance - [ ] Context-aware Schemas - [ ] XSD Generation(?) diff --git a/project.clj b/project.clj index 67035cc..cda284b 100644 --- a/project.clj +++ b/project.clj @@ -1,4 +1,4 @@ -(defproject metosin/schema-tools "0.1.0" +(defproject metosin/schema-tools "0.1.1" :description "Common utilities for Prismatic Schema" :url "https://github.com/metosin/schema-tools" :license {:name "Eclipse Public License" diff --git a/src/schema_tools/core.cljx b/src/schema_tools/core.cljx index 7b8d4fb..f42e176 100644 --- a/src/schema_tools/core.cljx +++ b/src/schema_tools/core.cljx @@ -14,10 +14,6 @@ (defn- explicit-key-set [ks] (reduce (fn [s k] (conj s (explicit-key k))) #{} ks)) -(defn- explicit-path-vals - "Returns vector of tuples containing path vector to the value and the value." - [m] (stu/path-vals m #(if (s/specific-key? %) (s/explicit-schema-key %) %))) - ;; ;; Core functions ;;