Skip to content

Commit

Permalink
Bump to nREPL 0.4.3
Browse files Browse the repository at this point in the history
  • Loading branch information
bbatsov committed Jul 26, 2018
1 parent 27bdbdb commit 7c8ee90
Show file tree
Hide file tree
Showing 5 changed files with 9 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 @@ -553,7 +553,7 @@
:test-selectors {:default (with-meta '(constantly true)
{:displace true})}
;; bump deps in leiningen's own project.clj with these
:dependencies '[^:displace [nrepl/nrepl "0.4.1"
:dependencies '[^:displace [nrepl/nrepl "0.4.3"
:exclusions [org.clojure/clojure]]
^:displace [clojure-complete "0.2.5"
:exclusions [org.clojure/clojure]]]
Expand Down
4 changes: 2 additions & 2 deletions leiningen-core/test/leiningen/core/test/project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
[stencil/stencil "0.2.0"]
[~(symbol "net.3scale" "3scale-api") "3.0.2"]
[clj-http/clj-http "3.4.1"]
[nrepl/nrepl "0.4.1"
[nrepl/nrepl "0.4.3"
:exclusions [[org.clojure/clojure]]]
[clojure-complete/clojure-complete "0.2.5"
:exclusions [[org.clojure/clojure]]]],
Expand Down Expand Up @@ -286,7 +286,7 @@
(def test-profiles (atom {:qa {:resource-paths ["/etc/myapp"]}
:test {:resource-paths ["test/hi"]}
:repl {:dependencies
'[[nrepl/nrepl "0.4.1"
'[[nrepl/nrepl "0.4.3"
:exclusions [org.clojure/clojure]]
[org.thnetos/cd-client "0.3.4"
:exclusions [org.clojure/clojure]]]}
Expand Down
2 changes: 1 addition & 1 deletion project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
;; needed for uberjar
[commons-lang "2.6"]
;; needed for repl
[nrepl "0.4.1"]
[nrepl "0.4.3"]
;; needed for change
[net.cgrand/sjacket "0.1.1" :exclusions [org.clojure/clojure]]
;; bump versions of various common transitive deps
Expand Down
2 changes: 1 addition & 1 deletion resources/leiningen/bootclasspath-deps.clj
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
org.apache.maven/maven-resolver-provider "3.5.0"
org.clojure/data.xml "0.0.8"
org.clojure/tools.macro "0.1.5"
nrepl "0.4.1"
nrepl "0.4.3"
org.codehaus.plexus/plexus-component-annotations "1.7.1"
org.codehaus.plexus/plexus-interpolation "1.24"
org.codehaus.plexus/plexus-utils "3.0.24"
Expand Down
8 changes: 4 additions & 4 deletions test/leiningen/test/pom.clj
Original file line number Diff line number Diff line change
Expand Up @@ -367,19 +367,19 @@
(testing "leaky explicit profile"
(let [p (make-pom (with-profile-merged sample-project
^:leaky
{:dependencies [['nrepl/nrepl "0.4.1"]]}))
{:dependencies [['nrepl/nrepl "0.4.3"]]}))
deps (deep-content (xml/parse-str p) [:project :dependencies])
nrepls (filter #(re-find #"nrepl" (pr-str %)) deps)
versions (map #(deep-content % [:dependency :version]) nrepls)]
(is (= [["0.4.1"]] versions))))
(is (= [["0.4.3"]] versions))))
(testing "pom-scope"
(let [p (make-pom (with-profile-merged sample-project
^{:pom-scope :test}
{:dependencies [['nrepl/nrepl "0.4.1"]]}))
{:dependencies [['nrepl/nrepl "0.4.3"]]}))
deps (deep-content (xml/parse-str p) [:project :dependencies])
nrepls (filter #(re-find #"nrepl" (pr-str %)) deps)
versions (map #(deep-content % [:dependency :version]) nrepls)]
(is (= [["0.4.1"]] versions)))))
(is (= [["0.4.3"]] versions)))))

(deftest test-leaky-profile
(let [p (make-pom sample-profile-meta-project)
Expand Down

0 comments on commit 7c8ee90

Please sign in to comment.