Skip to content

Commit

Permalink
Exclude clojure.core/update from client ns
Browse files Browse the repository at this point in the history
Clojure 1.7.0-alpha2 added the update method, this removes the warning
when using clj-http with it.

Fixes #222
  • Loading branch information
dakrone committed Sep 8, 2014
1 parent 38bb7e5 commit 98a8d00
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
[ring/ring-jetty-adapter "1.3.0"]
[ring/ring-devel "1.3.0"]]}
:1.5 {:dependencies [[org.clojure/clojure "1.5.1"]]}
:1.7 {:dependencies [[org.clojure/clojure "1.7.0-alpha1"]]}}
:1.7 {:dependencies [[org.clojure/clojure "1.7.0-alpha2"]]}}
:aliases {"all" ["with-profile" "dev,1.5:dev:dev,1.7"]}
:plugins [[codox "0.6.4"]]
:test-selectors {:default #(not (:integration %))
Expand Down
2 changes: 1 addition & 1 deletion src/clj_http/client.clj
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
(java.net URL UnknownHostException)
(org.apache.http.entity BufferedHttpEntity ByteArrayEntity
InputStreamEntity FileEntity StringEntity))
(:refer-clojure :exclude (get)))
(:refer-clojure :exclude (get update)))

;; Cheshire is an optional dependency, so we check for it at compile time.
(def json-enabled?
Expand Down

0 comments on commit 98a8d00

Please sign in to comment.