branch: elpa/cider commit 7afa8ac74b1e511387ac9bfe5b0bee83c1dbb943 Author: vemv <v...@users.noreply.github.com> Commit: GitHub <nore...@github.com>
Use enrich-classpath 1.9.0 (#3151) Fixes https://github.com/clojure-emacs/cider/issues/3136 --- cider.el | 2 +- doc/modules/ROOT/pages/basics/middleware_setup.adoc | 4 ++-- test/cider-tests.el | 14 +++++++------- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/cider.el b/cider.el index 3620b9e7ff..b209dd476d 100644 --- a/cider.el +++ b/cider.el @@ -483,7 +483,7 @@ returned by this function does not include keyword arguments." (let ((plugins (if cider-enrich-classpath (append cider-jack-in-lein-plugins `(("cider/cider-nrepl" ,cider-injected-middleware-version) - ("mx.cider/enrich-classpath" "1.8.0"))) + ("mx.cider/enrich-classpath" "1.9.0"))) (append cider-jack-in-lein-plugins `(("cider/cider-nrepl" ,cider-injected-middleware-version)))))) (thread-last plugins diff --git a/doc/modules/ROOT/pages/basics/middleware_setup.adoc b/doc/modules/ROOT/pages/basics/middleware_setup.adoc index 2d33a49195..70aa9435c0 100644 --- a/doc/modules/ROOT/pages/basics/middleware_setup.adoc +++ b/doc/modules/ROOT/pages/basics/middleware_setup.adoc @@ -45,8 +45,8 @@ A minimal `profiles.clj` for CIDER would be: [source,clojure] ---- -{:repl {:plugins [[cider/cider-nrepl "0.27.2"] - [mx.cider/enrich-classpath "1.8.0"]]}} +{:repl {:plugins [[cider/cider-nrepl "0.28.2"] + [mx.cider/enrich-classpath "1.9.0"]]}} ---- WARNING: Be careful not to place this in the `:user` profile, as this way CIDER's diff --git a/test/cider-tests.el b/test/cider-tests.el index e7fcaf9b2e..95eadbbe00 100644 --- a/test/cider-tests.el +++ b/test/cider-tests.el @@ -124,7 +124,7 @@ " -- update-in :plugins conj " (shell-quote-argument "[cider/cider-nrepl \"0.28.1\"]") " -- update-in :plugins conj " - (shell-quote-argument "[mx.cider/enrich-classpath \"1.8.0\"]") + (shell-quote-argument "[mx.cider/enrich-classpath \"1.9.0\"]") " -- update-in :middleware conj cider.enrich-classpath/middleware" " -- repl :headless"))) @@ -137,7 +137,7 @@ " -- update-in :plugins conj " (shell-quote-argument "[cider/cider-nrepl \"0.28.1\"]") " -- update-in :plugins conj " - (shell-quote-argument "[mx.cider/enrich-classpath \"1.8.0\"]") + (shell-quote-argument "[mx.cider/enrich-classpath \"1.9.0\"]") " -- update-in :middleware conj cider.enrich-classpath/middleware" " -- repl :headless"))) @@ -149,7 +149,7 @@ " -- update-in :plugins conj " (shell-quote-argument "[cider/cider-nrepl \"0.28.1\"]") " -- update-in :plugins conj " - (shell-quote-argument "[mx.cider/enrich-classpath \"1.8.0\"]") + (shell-quote-argument "[mx.cider/enrich-classpath \"1.9.0\"]") " -- update-in :middleware conj cider.enrich-classpath/middleware" " -- repl :headless"))) @@ -185,7 +185,7 @@ " -- update-in :plugins conj " (shell-quote-argument "[cider/cider-nrepl \"0.28.1\"]") " -- update-in :plugins conj " - (shell-quote-argument "[mx.cider/enrich-classpath \"1.8.0\"]") + (shell-quote-argument "[mx.cider/enrich-classpath \"1.9.0\"]") " -- update-in :middleware conj cider.enrich-classpath/middleware" " -- repl :headless"))) @@ -219,7 +219,7 @@ " -- update-in :plugins conj " (shell-quote-argument "[cider/cider-nrepl \"0.28.1\"]") " -- update-in :plugins conj " - (shell-quote-argument "[mx.cider/enrich-classpath \"1.8.0\"]") + (shell-quote-argument "[mx.cider/enrich-classpath \"1.9.0\"]") " -- update-in :middleware conj cider.enrich-classpath/middleware" " -- repl :headless"))) (it "can concat in a boot project" @@ -285,7 +285,7 @@ (spy-on 'cider-jack-in-normalized-lein-plugins :and-return-value '(("refactor-nrepl" "2.0.0") ("cider/cider-nrepl" "0.28.1") - ("mx.cider/enrich-classpath" "1.8.0"))) + ("mx.cider/enrich-classpath" "1.9.0"))) (setq-local cider-jack-in-dependencies-exclusions '()) (setq-local cider-enrich-classpath t)) (it "uses them in a lein project" @@ -297,7 +297,7 @@ " -- update-in :plugins conj " (shell-quote-argument "[cider/cider-nrepl \"0.28.1\"]") " -- update-in :plugins conj " - (shell-quote-argument "[mx.cider/enrich-classpath \"1.8.0\"]") + (shell-quote-argument "[mx.cider/enrich-classpath \"1.9.0\"]") " -- update-in :middleware conj cider.enrich-classpath/middleware" " -- repl :headless"))))