ns-form housekeeping

This commit is contained in:
Peter Taoussanis 2016-12-17 14:12:58 +01:00
parent 9b9dd210cc
commit b1246da6e4
4 changed files with 10 additions and 10 deletions

View File

@ -5,18 +5,18 @@
(:require
[clojure.string :as str]
[io.aviso.exception :as aviso-ex]
[taoensso.encore :as enc :refer (have have? qb)]
[taoensso.encore :as enc :refer [have have? qb]]
[taoensso.timbre.appenders.core :as core-appenders])
#+cljs
(:require
[clojure.string :as str]
[taoensso.encore :as enc :refer () :refer-macros (have have?)]
[taoensso.encore :as enc :refer [] :refer-macros [have have?]]
[taoensso.timbre.appenders.core :as core-appenders])
#+cljs
(:require-macros
[taoensso.timbre :as timbre-macros :refer ()]))
[taoensso.timbre :as timbre-macros :refer []]))
(if (vector? taoensso.encore/encore-version)
(enc/assert-min-encore-version [2 87 0])

View File

@ -5,7 +5,7 @@
(:require [taoensso.carmine :as car]
[taoensso.nippy :as nippy]
[taoensso.timbre :as timbre]
[taoensso.encore :as enc :refer (have have?)]))
[taoensso.encore :as enc :refer [have have?]]))
(defn- sha48
"Truncated 160bit SHA hash (48bit Long). Redis can store small

View File

@ -5,12 +5,12 @@
#+clj
(:require
[clojure.string :as str]
[taoensso.encore :as enc :refer (have have? qb)])
[taoensso.encore :as enc :refer [have have? qb]])
#+cljs
(:require
[clojure.string :as str]
[taoensso.encore :as enc :refer-macros (have have?)]))
[taoensso.encore :as enc :refer-macros [have have?]]))
;; TODO Add a simple official rolling spit appender?

View File

@ -1,11 +1,11 @@
(ns taoensso.timbre.appenders.postal
"Email (Postal) appender. Requires https://github.com/drewr/postal."
{:author "Peter Taoussanis (@ptaoussanis)"}
(:require [clojure.string :as str]
(:require [clojure.string :as str]
[io.aviso.exception :as aviso-ex]
[postal.core :as postal]
[taoensso.timbre :as timbre]
[taoensso.encore :as enc :refer (have have?)]))
[postal.core :as postal]
[taoensso.timbre :as timbre]
[taoensso.encore :as enc :refer [have have?]]))
(defn postal-appender
"Returns a Postal email appender.