Skip to content

Commit

Permalink
Bump standalone nrepl version as well, ref technomancy#1861.
Browse files Browse the repository at this point in the history
  • Loading branch information
hypirion committed Mar 20, 2015
1 parent 00e4643 commit 00e158f
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
2 changes: 1 addition & 1 deletion leiningen-core/src/leiningen/core/project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -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]]]
Expand Down
2 changes: 1 addition & 1 deletion leiningen-core/test/leiningen/core/test/project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
16 changes: 9 additions & 7 deletions test/leiningen/test/pom.clj
Original file line number Diff line number Diff line change
Expand Up @@ -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))))
Expand Down Expand Up @@ -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]))))))

Expand All @@ -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"]
Expand All @@ -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"]
Expand All @@ -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"]
Expand Down Expand Up @@ -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"]
Expand Down Expand Up @@ -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"]
Expand All @@ -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"]
Expand Down

0 comments on commit 00e158f

Please sign in to comment.