emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/cider 7a072d8374: Upgrade cider-nrepl to 0.28.3 (#3158)


From: ELPA Syncer
Subject: [nongnu] elpa/cider 7a072d8374: Upgrade cider-nrepl to 0.28.3 (#3158)
Date: Tue, 22 Feb 2022 12:58:09 -0500 (EST)

branch: elpa/cider
commit 7a072d8374eb92c8164b436ee271abb5e9e351e3
Author: vemv <vemv@users.noreply.github.com>
Commit: GitHub <noreply@github.com>

    Upgrade cider-nrepl to 0.28.3 (#3158)
---
 CHANGELOG.md                                       |  1 +
 cider.el                                           |  2 +-
 .../ROOT/pages/basics/middleware_setup.adoc        |  2 +-
 test/cider-tests.el                                | 38 +++++++++++-----------
 4 files changed, 22 insertions(+), 21 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index c00f197e17..9e3f5172d2 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -10,6 +10,7 @@
 * [#3149](https://github.com/clojure-emacs/cider/pull/3149): Add option 
`'change` to `cider-eval-result-duration`, allowing multiple eval result 
overlays to persist until the next change to the buffer.
 * `cider-jack-in-lein-plugins` no longer affects non-Leiningen projects.
   * Third-party packages should rely on `cider-jack-in-dependencies` instead.
+* Upgrade cider-nrepl to 
[0.28.3](https://github.com/clojure-emacs/cider-nrepl/blob/v0.28.3/CHANGELOG.md#0283-2022-02-22).
 
 ### Bugs fixed
 
diff --git a/cider.el b/cider.el
index 994c3ee64c..14553a5a75 100644
--- a/cider.el
+++ b/cider.el
@@ -415,7 +415,7 @@ the artifact.")
 (defconst cider-latest-clojure-version "1.10.1"
   "Latest supported version of Clojure.")
 
-(defconst cider-required-middleware-version "0.28.1"
+(defconst cider-required-middleware-version "0.28.3"
   "The CIDER nREPL version that's known to work properly with CIDER.")
 
 (defcustom cider-injected-middleware-version cider-required-middleware-version
diff --git a/doc/modules/ROOT/pages/basics/middleware_setup.adoc 
b/doc/modules/ROOT/pages/basics/middleware_setup.adoc
index 70aa9435c0..eb6abcdaaf 100644
--- a/doc/modules/ROOT/pages/basics/middleware_setup.adoc
+++ b/doc/modules/ROOT/pages/basics/middleware_setup.adoc
@@ -45,7 +45,7 @@ A minimal `profiles.clj` for CIDER would be:
 
 [source,clojure]
 ----
-{:repl {:plugins [[cider/cider-nrepl "0.28.2"]
+{:repl {:plugins [[cider/cider-nrepl "0.28.3"]
                   [mx.cider/enrich-classpath "1.9.0"]]}}
 ----
 
diff --git a/test/cider-tests.el b/test/cider-tests.el
index 93369ff76d..6e323eac2b 100644
--- a/test/cider-tests.el
+++ b/test/cider-tests.el
@@ -112,7 +112,7 @@
   (describe "when there is a single dependency"
     (before-each
       (setq-local cider-injected-nrepl-version "0.9.0")
-      (setq-local cider-injected-middleware-version "0.28.1")
+      (setq-local cider-injected-middleware-version "0.28.3")
       (setq-local cider-jack-in-nrepl-middlewares 
'("cider.nrepl/cider-middleware"))
       (setq-local cider-jack-in-dependencies-exclusions '())
       (setq-local cider-enrich-classpath t))
@@ -122,7 +122,7 @@
               :to-equal (concat "update-in :dependencies conj "
                                 (shell-quote-argument "[nrepl/nrepl 
\"0.9.0\"]")
                                 " -- update-in :plugins conj "
-                                (shell-quote-argument "[cider/cider-nrepl 
\"0.28.1\"]")
+                                (shell-quote-argument "[cider/cider-nrepl 
\"0.28.3\"]")
                                 " -- update-in :plugins conj "
                                 (shell-quote-argument 
"[mx.cider/enrich-classpath \"1.9.0\"]")
                                 " -- update-in :middleware conj 
cider.enrich-classpath/middleware"
@@ -135,7 +135,7 @@
                          "update-in :dependencies conj "
                          (shell-quote-argument "[nrepl/nrepl \"0.9.0\" 
:exclusions [org.clojure/clojure]]")
                          " -- update-in :plugins conj "
-                         (shell-quote-argument "[cider/cider-nrepl 
\"0.28.1\"]")
+                         (shell-quote-argument "[cider/cider-nrepl 
\"0.28.3\"]")
                          " -- update-in :plugins conj "
                          (shell-quote-argument "[mx.cider/enrich-classpath 
\"1.9.0\"]")
                          " -- update-in :middleware conj 
cider.enrich-classpath/middleware"
@@ -147,7 +147,7 @@
               :to-equal (concat "update-in :dependencies conj "
                                 (shell-quote-argument "[nrepl/nrepl \"0.9.0\" 
:exclusions [org.clojure/clojure foo.bar/baz]]")
                                 " -- update-in :plugins conj "
-                                (shell-quote-argument "[cider/cider-nrepl 
\"0.28.1\"]")
+                                (shell-quote-argument "[cider/cider-nrepl 
\"0.28.3\"]")
                                 " -- update-in :plugins conj "
                                 (shell-quote-argument 
"[mx.cider/enrich-classpath \"1.9.0\"]")
                                 " -- update-in :middleware conj 
cider.enrich-classpath/middleware"
@@ -160,7 +160,7 @@
                          " -d "
                          (shell-quote-argument "nrepl/nrepl:0.9.0")
                          " -d "
-                         (shell-quote-argument "cider/cider-nrepl:0.28.1")
+                         (shell-quote-argument "cider/cider-nrepl:0.28.3")
                          " cider.tasks/add-middleware"
                          " -m "
                          (shell-quote-argument "cider.nrepl/cider-middleware")
@@ -183,7 +183,7 @@
                                 " -- update-in :plugins conj "
                                 (shell-quote-argument "[refactor-nrepl 
\"2.0.0\"]")
                                 " -- update-in :plugins conj "
-                                (shell-quote-argument "[cider/cider-nrepl 
\"0.28.1\"]")
+                                (shell-quote-argument "[cider/cider-nrepl 
\"0.28.3\"]")
                                 " -- update-in :plugins conj "
                                 (shell-quote-argument 
"[mx.cider/enrich-classpath \"1.9.0\"]")
                                 " -- update-in :middleware conj 
cider.enrich-classpath/middleware"
@@ -196,7 +196,7 @@
                                 " -d "
                                 (shell-quote-argument "nrepl/nrepl:0.9.0")
                                 " -d "
-                                (shell-quote-argument 
"cider/cider-nrepl:0.28.1")
+                                (shell-quote-argument 
"cider/cider-nrepl:0.28.3")
                                 " -d "
                                 (shell-quote-argument "refactor-nrepl:2.0.0")
                                 " cider.tasks/add-middleware"
@@ -217,7 +217,7 @@
               :to-equal (concat "-o -U update-in :dependencies conj "
                                 (shell-quote-argument "[nrepl/nrepl 
\"0.9.0\"]")
                                 " -- update-in :plugins conj "
-                                (shell-quote-argument "[cider/cider-nrepl 
\"0.28.1\"]")
+                                (shell-quote-argument "[cider/cider-nrepl 
\"0.28.3\"]")
                                 " -- update-in :plugins conj "
                                 (shell-quote-argument 
"[mx.cider/enrich-classpath \"1.9.0\"]")
                                 " -- update-in :middleware conj 
cider.enrich-classpath/middleware"
@@ -228,7 +228,7 @@
                                 " -d "
                                 (shell-quote-argument "nrepl/nrepl:0.9.0")
                                 " -d "
-                                (shell-quote-argument 
"cider/cider-nrepl:0.28.1")
+                                (shell-quote-argument 
"cider/cider-nrepl:0.28.3")
                                 " cider.tasks/add-middleware"
                                 " -m "
                                 (shell-quote-argument 
"cider.nrepl/cider-middleware")
@@ -248,14 +248,14 @@
       (setq-local cider-jack-in-nrepl-middlewares 
'(("refactor-nrepl.middleware/wrap-refactor" :predicate middlewares-predicate) 
"cider.nrepl/cider-middleware" ("another/middleware"))))
     (it "includes plugins whose predicates return true"
       (expect (cider-jack-in-normalized-lein-plugins)
-              :to-equal '(("refactor-nrepl" "2.0.0") ("cider/cider-nrepl" 
"0.28.1"))))
+              :to-equal '(("refactor-nrepl" "2.0.0") ("cider/cider-nrepl" 
"0.28.3"))))
     (it "includes middlewares whose predicates return true"
       (expect (cider-jack-in-normalized-nrepl-middlewares)
               :to-equal '("refactor-nrepl.middleware/wrap-refactor" 
"cider.nrepl/cider-middleware" "another/middleware")))
     (it "ignores plugins whose predicates return false"
       (spy-on 'plugins-predicate :and-return-value nil)
       (expect (cider-jack-in-normalized-lein-plugins)
-              :to-equal '(("cider/cider-nrepl" "0.28.1")))
+              :to-equal '(("cider/cider-nrepl" "0.28.3")))
       (spy-on 'middlewares-predicate :and-return-value nil)
       (expect (cider-jack-in-normalized-nrepl-middlewares)
               :to-equal '("cider.nrepl/cider-middleware" 
"another/middleware")))
@@ -284,7 +284,7 @@
               :and-return-value '("refactor-nrepl.middleware/wrap-refactor" 
"cider.nrepl/cider-middleware"))
       (spy-on 'cider-jack-in-normalized-lein-plugins
               :and-return-value '(("refactor-nrepl" "2.0.0")
-                                  ("cider/cider-nrepl" "0.28.1")
+                                  ("cider/cider-nrepl" "0.28.3")
                                   ("mx.cider/enrich-classpath" "1.9.0")))
       (setq-local cider-jack-in-dependencies-exclusions '())
       (setq-local cider-enrich-classpath t))
@@ -295,7 +295,7 @@
                                 " -- update-in :plugins conj "
                                 (shell-quote-argument "[refactor-nrepl 
\"2.0.0\"]")
                                 " -- update-in :plugins conj "
-                                (shell-quote-argument "[cider/cider-nrepl 
\"0.28.1\"]")
+                                (shell-quote-argument "[cider/cider-nrepl 
\"0.28.3\"]")
                                 " -- update-in :plugins conj "
                                 (shell-quote-argument 
"[mx.cider/enrich-classpath \"1.9.0\"]")
                                 " -- update-in :middleware conj 
cider.enrich-classpath/middleware"
@@ -313,7 +313,7 @@
                                 " -d "
                                 (shell-quote-argument "nrepl/nrepl:0.9.0")
                                 " -d "
-                                (shell-quote-argument 
"cider/cider-nrepl:0.28.1")
+                                (shell-quote-argument 
"cider/cider-nrepl:0.28.3")
                                 " -d "
                                 (shell-quote-argument "refactor-nrepl:2.0.0")
                                 " cider.tasks/add-middleware"
@@ -399,7 +399,7 @@
     (it "uses main opts in an alias to prevent other mains from winning"
       (setq-local cider-jack-in-nrepl-middlewares 
'("cider.nrepl/cider-middleware"))
       (let ((expected (string-join '("clojure -Sdeps '{:deps {nrepl/nrepl 
{:mvn/version \"0.9.0\"} "
-                                     "cider/cider-nrepl {:mvn/version 
\"0.28.1\"}} "
+                                     "cider/cider-nrepl {:mvn/version 
\"0.28.3\"}} "
                                      ":aliases {:cider/nrepl {:main-opts 
[\"-m\" \"nrepl.cmdline\" \"--middleware\""
                                      " \"[cider.nrepl/cider-middleware]\"]}}}' 
-M:cider/nrepl")
                                    "")))
@@ -413,7 +413,7 @@
                 :to-equal expected)))
     (it "allows specifying custom aliases with `cider-clojure-cli-aliases`"
       (let ((expected (string-join '("clojure -Sdeps '{:deps {nrepl/nrepl 
{:mvn/version \"0.9.0\"} "
-                                     "cider/cider-nrepl {:mvn/version 
\"0.28.1\"}} "
+                                     "cider/cider-nrepl {:mvn/version 
\"0.28.3\"}} "
                                      ":aliases {:cider/nrepl {:main-opts 
[\"-m\" \"nrepl.cmdline\" \"--middleware\""
                                      " \"[cider.nrepl/cider-middleware]\"]}}}' 
-M:dev:test:cider/nrepl")
                                    "")))
@@ -426,7 +426,7 @@
         (expect (plist-get (cider--update-jack-in-cmd nil) :jack-in-cmd)
                 :to-equal expected)))
     (let ((expected (string-join '("-Sdeps '{:deps {nrepl/nrepl {:mvn/version 
\"0.9.0\"} "
-                                   "cider/cider-nrepl {:mvn/version 
\"0.28.1\"}} "
+                                   "cider/cider-nrepl {:mvn/version 
\"0.28.3\"}} "
                                    ":aliases {:cider/nrepl {:main-opts [\"-m\" 
\"nrepl.cmdline\" \"--middleware\""
                                    " \"[cider.nrepl/cider-middleware]\"]}}}' 
-M:cider/nrepl")
                                  "")))
@@ -436,7 +436,7 @@
                         :to-equal expected)))
     (it "handles aliases correctly"
       (let ((expected (string-join '("-Sdeps '{:deps {nrepl/nrepl 
{:mvn/version \"0.9.0\"} "
-                                     "cider/cider-nrepl {:mvn/version 
\"0.28.1\"}} "
+                                     "cider/cider-nrepl {:mvn/version 
\"0.28.3\"}} "
                                      ":aliases {:cider/nrepl {:main-opts 
[\"-m\" \"nrepl.cmdline\" \"--middleware\""
                                      " \"[cider.nrepl/cider-middleware]\"]}}}' 
-M:test:cider/nrepl")
                                    ""))
@@ -459,7 +459,7 @@
                     :to-equal expected)))))
     (it "allows for global options"
       (let ((expected (string-join '("-J-Djdk.attach.allowAttachSelf -Sdeps 
'{:deps {nrepl/nrepl {:mvn/version \"0.9.0\"} "
-                                     "cider/cider-nrepl {:mvn/version 
\"0.28.1\"}} "
+                                     "cider/cider-nrepl {:mvn/version 
\"0.28.3\"}} "
                                      ":aliases {:cider/nrepl {:main-opts 
[\"-m\" \"nrepl.cmdline\" \"--middleware\""
                                      " \"[cider.nrepl/cider-middleware]\"]}}}' 
-M:test:cider/nrepl")
                                    ""))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]