Browse Source

upgrade to clojure 1.9-alpha16

pull/1/merge
Luke VanderHart 5 years ago
parent
commit
fdd19b4a4c
  1. 4
      project.clj
  2. 2
      src/valuehash/api.clj
  3. 2
      src/valuehash/impl.clj
  4. 2
      src/valuehash/specs.clj
  5. 2
      test/valuehash/bench.clj

4
project.clj

@ -1,8 +1,8 @@
(defproject org.arachne-framework/valuehash "0.1.0"
(defproject org.arachne-framework/valuehash "0.1.1"
:description "Value based hashing for Clojure data"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.9.0-alpha14" :scope "provided"]
:dependencies [[org.clojure/clojure "1.9.0-alpha16" :scope "provided"]
[org.clojure/test.check "0.9.0" :scope "test"]
[criterium "0.4.4" :scope "test"]]
:repositories [["arachne-dev" "http://maven.arachne-framework.org/artifactory/arachne-dev"]])

2
src/valuehash/api.clj

@ -64,4 +64,4 @@
(defn sha-256-str
"Return the sha256 digest of an arbitrary Clojure data structure, as a string"
[obj]
(hex-str (sha-256 obj)))
(hex-str (sha-256 obj)))

2
src/valuehash/impl.clj

@ -108,4 +108,4 @@
(map map-entry->byte-array)
(sort ba-comparator)
(cons map-sep)
(join-byte-arrays))))
(join-byte-arrays))))

2
src/valuehash/specs.clj

@ -1,5 +1,5 @@
(ns valuehash.specs
(:require [clojure.spec :as s]))
(:require [clojure.spec.alpha :as s]))
(def byte-array-class (class (byte-array 0)))

2
test/valuehash/bench.clj

@ -54,4 +54,4 @@
(bench-complex)
)
)
Loading…
Cancel
Save