Skip to content

Commit

Permalink
bumped up conman
Browse files Browse the repository at this point in the history
  • Loading branch information
yogthos committed May 7, 2024
1 parent 5d53ae4 commit e55d16a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion build/deps.edn
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
;; kit-selmer
selmer/selmer {:mvn/version "1.12.59"}
;; kit-sql
io.github.kit-clj/kit-sql-conman {:mvn/version "1.10.1"}
io.github.kit-clj/kit-sql-conman {:mvn/version "1.10.2"}
io.github.kit-clj/kit-sql-migratus {:mvn/version "1.0.4"}
;; kit-sql-conman
conman/conman {:mvn/version "0.9.6"}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@
"kit-sql-hikari" "1.0.4"
"kit-sql" "1.1.4"
"kit-undertow" "1.0.6"
"lein-template" "0.1.60"
"deps-template" "0.1.60"}
"lein-template" "0.1.61"
"deps-template" "0.1.61"}
4 changes: 2 additions & 2 deletions libs/kit-sql-conman/src/kit/edge/db/sql/conman.clj
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,14 @@
(conman/query queries query params))
([conn query params & opts]
(apply conman/query conn queries query params opts)))
{:mtimes (doall (map ig-utils/last-modified filenames))})))
{:mtimes (mapv ig-utils/last-modified filenames)})))

(defmethod ig/suspend-key! :db.sql/query-fn [_ _])

(defmethod ig/resume-key :db.sql/query-fn
[k {:keys [filename filenames] :as opts} old-opts old-impl]
(let [check-res (and (= opts old-opts)
(= (map ig-utils/last-modified (or filenames [filename]))
(= (mapv ig-utils/last-modified (or filenames [filename]))
(:mtimes (meta old-impl))))]
(log/info k "resume check. Same?" check-res)
(if check-res
Expand Down
2 changes: 1 addition & 1 deletion libs/lein-template/deps.edn
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{:paths ["src"]
:deps {selmer/selmer {:mvn/version "1.12.59"}
com.github.seancorfield/clj-new {:mvn/version "1.2.381"}
io.github.kit-clj/deps-template {:mvn/version "0.1.60"}}}
io.github.kit-clj/deps-template {:mvn/version "0.1.61"}}}

0 comments on commit e55d16a

Please sign in to comment.