Skip to content

Commit

Permalink
bump up versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Yogthos committed May 24, 2024
1 parent 1800f04 commit 2cc5d77
Show file tree
Hide file tree
Showing 9 changed files with 22 additions and 15 deletions.
2 changes: 1 addition & 1 deletion build/deps.edn
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
cheshire/cheshire {:mvn/version "5.11.0"}
;; kit-quartz
com.troy-west/cronut {:mvn/version "0.2.6"}
io.github.kit-clj/kit-core {:mvn/version "1.0.6"}
io.github.kit-clj/kit-core {:mvn/version "1.0.7"}
;; kit-redis
org.clojure/core.cache {:mvn/version "1.0.225"}
com.taoensso/carmine {:mvn/version "3.2.0"}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{"kit-core" "1.0.6"
{"kit-core" "1.0.7"
"kit-http-kit" "1.0.3"
"kit-xtdb" "1.0.3"
"kit-generator" "0.2.1"
Expand All @@ -12,9 +12,9 @@
"kit-repl" "1.0.2"
"kit-selmer" "1.0.3"
"kit-sql-migratus" "1.0.4"
"kit-sql-conman" "1.10.2"
"kit-sql-conman" "1.10.3"
"kit-sql-hikari" "1.0.4"
"kit-sql" "1.1.4"
"kit-undertow" "1.0.6"
"lein-template" "0.1.62"
"deps-template" "0.1.62"}
"lein-template" "0.1.63"
"deps-template" "0.1.63"}
15 changes: 11 additions & 4 deletions libs/kit-core/src/kit/ig_utils.clj
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,14 @@
(ig/init-key k opts))))

(defn last-modified [filename]
(-> (io/resource filename) (.toURI)
(Paths/get)
(Files/getLastModifiedTime (into-array LinkOption []))
(.toMillis)))
(let [url (io/resource filename)]
(if url
(case (.getProtocol url)
"file" (-> (.toURI url)
(Paths/get)
(Files/getLastModifiedTime (into-array LinkOption []))
(.toMillis))
"jar" 0
(throw (ex-info "Unsupported URL protocol" {:protocol (.getProtocol url)})))
(throw (ex-info "Resource not found" {:filename filename})))))

2 changes: 1 addition & 1 deletion libs/kit-nrepl/deps.edn
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
:deps {org.clojure/tools.logging {:mvn/version "1.2.4"}
integrant/integrant {:mvn/version "0.8.1"}
nrepl/nrepl {:mvn/version "1.1.1"}
io.github.kit-clj/kit-core {:mvn/version "1.0.6"}}}
io.github.kit-clj/kit-core {:mvn/version "1.0.7"}}}
2 changes: 1 addition & 1 deletion libs/kit-quartz/deps.edn
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
:deps {aero/aero {:mvn/version "1.1.6"}
integrant/integrant {:mvn/version "0.8.1"}
com.troy-west/cronut {:mvn/version "0.2.6"}
io.github.kit-clj/kit-core {:mvn/version "1.0.6"}}}
io.github.kit-clj/kit-core {:mvn/version "1.0.7"}}}
2 changes: 1 addition & 1 deletion libs/kit-redis/deps.edn
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
:deps {integrant/integrant {:mvn/version "0.8.1"}
org.clojure/core.cache {:mvn/version "1.0.225"}
com.taoensso/carmine {:mvn/version "3.2.0"}
io.github.kit-clj/kit-core {:mvn/version "1.0.6"}}}
io.github.kit-clj/kit-core {:mvn/version "1.0.7"}}}
2 changes: 1 addition & 1 deletion libs/kit-sql-conman/deps.edn
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{:paths ["src"]
:deps {integrant/integrant {:mvn/version "0.8.1"}
conman/conman {:mvn/version "0.9.6"}
io.github.kit-clj/kit-core {:mvn/version "1.0.6"}}}
io.github.kit-clj/kit-core {:mvn/version "1.0.7"}}}
2 changes: 1 addition & 1 deletion libs/kit-sql-hikari/deps.edn
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
:deps {integrant/integrant {:mvn/version "0.8.1"}
com.github.seancorfield/next.jdbc {:mvn/version "1.3.883"} ;; TODO: is this required here?
hikari-cp/hikari-cp {:mvn/version "3.0.1"}
io.github.kit-clj/kit-core {:mvn/version "1.0.6"}}}
io.github.kit-clj/kit-core {:mvn/version "1.0.7"}}}
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.62"}}}
io.github.kit-clj/deps-template {:mvn/version "0.1.63"}}}

0 comments on commit 2cc5d77

Please sign in to comment.