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 (:require
[clojure.string :as str] [clojure.string :as str]
[io.aviso.exception :as aviso-ex] [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]) [taoensso.timbre.appenders.core :as core-appenders])
#+cljs #+cljs
(:require (:require
[clojure.string :as str] [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]) [taoensso.timbre.appenders.core :as core-appenders])
#+cljs #+cljs
(:require-macros (:require-macros
[taoensso.timbre :as timbre-macros :refer ()])) [taoensso.timbre :as timbre-macros :refer []]))
(if (vector? taoensso.encore/encore-version) (if (vector? taoensso.encore/encore-version)
(enc/assert-min-encore-version [2 87 0]) (enc/assert-min-encore-version [2 87 0])

View File

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

View File

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

View File

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