Bump standalone nrepl version as well, ref #1861.

This commit is contained in:
Jean Niklas L'orange 2015-03-21 00:37:46 +01:00
parent 00e4643168
commit 00e158f6f3
3 changed files with 11 additions and 9 deletions

View file

@ -480,7 +480,7 @@
:test-selectors {:default (with-meta '(constantly true)
{:displace true})}
;; bump deps in leiningen's own project.clj with these
:dependencies '[[org.clojure/tools.nrepl "0.2.7"
:dependencies '[[org.clojure/tools.nrepl "0.2.8"
:exclusions [org.clojure/clojure]]
[clojure-complete "0.2.3"
:exclusions [org.clojure/clojure]]]

View file

@ -41,7 +41,7 @@
[lancet/lancet "1.0.1"]
[robert/hooke "1.1.2"]
[stencil/stencil "0.2.0"]
[org.clojure/tools.nrepl "0.2.7"
[org.clojure/tools.nrepl "0.2.8"
:exclusions [[org.clojure/clojure]]
:scope "test"]
[clojure-complete/clojure-complete "0.2.3"

View file

@ -10,6 +10,8 @@
[leiningen.core.project :as project]
[leiningen.core.main :as main]))
(def nrepl-vsn "0.2.8") ;; bump me when tools.nrepl is bumped
(use-fixtures :once (fn [f]
(with-redefs [user/profiles (constantly {})]
(f))))
@ -111,7 +113,7 @@
(is (= ["clojure" "rome" "ring" "tools.nrepl" "clojure-complete"]
(map #(first-in % [:dependency :artifactId])
(deep-content xml [:project :dependencies]))))
(is (= ["1.3.0" "0.9" "1.0.0" "0.2.7" "0.2.3"]
(is (= ["1.3.0" "0.9" "1.0.0" nrepl-vsn "0.2.3"]
(map #(first-in % [:dependency :version])
(deep-content xml [:project :dependencies]))))))
@ -127,7 +129,7 @@
(is (= ["clojure" "rome" "ring" "tools.nrepl" "clojure-complete" "peridot"]
(map #(first-in % [:dependency :artifactId])
(deep-content xml [:project :dependencies]))))
(is (= ["1.3.0" "0.9" "1.0.0" "0.2.7" "0.2.3" "0.0.5"]
(is (= ["1.3.0" "0.9" "1.0.0" nrepl-vsn "0.2.3" "0.0.5"]
(map #(first-in % [:dependency :version])
(deep-content xml [:project :dependencies]))))
(is (= [nil nil nil "test" "test" "test"]
@ -147,7 +149,7 @@
(is (= ["clojure" "rome" "ring" "tools.nrepl" "clojure-complete" "peridot"]
(map #(first-in % [:dependency :artifactId])
(deep-content xml [:project :dependencies]))))
(is (= ["1.3.0" "0.9" "1.0.0" "0.2.7" "0.2.3" "0.0.5"]
(is (= ["1.3.0" "0.9" "1.0.0" nrepl-vsn "0.2.3" "0.0.5"]
(map #(first-in % [:dependency :version])
(deep-content xml [:project :dependencies]))))
(is (= [nil nil nil "test" "test" "test"]
@ -167,7 +169,7 @@
(is (= ["clojure" "rome" "ring" "tools.nrepl" "clojure-complete" "peridot"]
(map #(first-in % [:dependency :artifactId])
(deep-content xml [:project :dependencies]))))
(is (= ["1.3.0" "0.9" "1.0.0" "0.2.7" "0.2.3" "0.0.5"]
(is (= ["1.3.0" "0.9" "1.0.0" nrepl-vsn "0.2.3" "0.0.5"]
(map #(first-in % [:dependency :version])
(deep-content xml [:project :dependencies]))))
(is (= [nil nil nil "test" "test" "provided"]
@ -195,7 +197,7 @@
"tools.nrepl" "clojure-complete" "peridot"]
(map #(first-in % [:dependency :artifactId])
(deep-content xml [:project :dependencies]))))
(is (= ["1.3.0" "0.9" "1.0.0" "0.2.7" "0.2.3" "0.0.5"]
(is (= ["1.3.0" "0.9" "1.0.0" nrepl-vsn "0.2.3" "0.0.5"]
(map #(first-in % [:dependency :version])
(deep-content xml [:project :dependencies]))))
(is (= [nil nil nil "test" "test" "provided"]
@ -236,7 +238,7 @@
(is (= ["clojure" "rome" "ring" "tools.nrepl" "clojure-complete" "peridot"]
(map #(first-in % [:dependency :artifactId])
(deep-content xml [:project :dependencies]))))
(is (= ["1.3.0" "0.9" "1.0.0" "0.2.7" "0.2.3" "0.0.5"]
(is (= ["1.3.0" "0.9" "1.0.0" nrepl-vsn "0.2.3" "0.0.5"]
(map #(first-in % [:dependency :version])
(deep-content xml [:project :dependencies]))))
(is (= [nil nil nil "test" "test" "provided"]
@ -263,7 +265,7 @@
(is (= ["clojure" "rome" "ring" "tools.nrepl" "clojure-complete"]
(map #(first-in % [:dependency :artifactId])
(deep-content xml [:project :dependencies]))))
(is (= ["1.3.0" "0.8" "1.0.0" "0.2.7" "0.2.3"]
(is (= ["1.3.0" "0.8" "1.0.0" nrepl-vsn "0.2.3"]
(map #(first-in % [:dependency :version])
(deep-content xml [:project :dependencies]))))
(is (= [nil "test" nil "test" "test"]