Skip to content
Browse files

Upgraded Hiccup dependency to 1.0.0-beta1

  • Loading branch information...
1 parent cfe0af3 commit b25e0e90a50db1392cf5f1e4d3bac5fe23813138 @weavejester weavejester committed
View
2 ring-devel/project.clj
@@ -2,6 +2,6 @@
:description "Ring development and debugging libraries."
:url "http://github.com/mmcgrana/ring"
:dependencies [[ring/ring-core "1.1.0-SNAPSHOT"]
- [hiccup "0.3.7"]
+ [hiccup "1.0.0-beta1"]
[clj-stacktrace "0.2.4"]
[ns-tracker "0.1.1"]])
View
3 ring-devel/src/ring/handler/dump.clj
@@ -1,7 +1,8 @@
(ns ring.handler.dump
"Reflect Ring requests into responses for debugging."
(:use hiccup.core
- hiccup.page-helpers
+ hiccup.page
+ hiccup.def
ring.util.response)
(:require [clojure.set :as set]
[clojure.pprint :as pprint]))
View
2 ring-devel/src/ring/middleware/stacktrace.clj
@@ -2,7 +2,7 @@
"Catch exceptions and render web and log stacktraces for debugging."
(:require [clojure.java.io :as io])
(:use hiccup.core
- hiccup.page-helpers
+ hiccup.page
clj-stacktrace.core
clj-stacktrace.repl
ring.util.response))

3 comments on commit b25e0e9

@rodnaph

haha - i've just spent the last hour trying to stop my eyes popping out over this!

rodnaph/ring@17eaacf

i learnt a lot though
:D

@weavejester
Collaborator

It looks like we both had the same idea, though I've been meaning to update the Ring master branch to use the new Hiccup for a while :)

@rodnaph

Indeed! I was trying to use the latest hiccup with my project and getting errors about page-helpers not being found. Took a while before I realised ring (via compojure) was also using hiccup. Then had a fun time trying to build and install a local dependency when I realised my OSX maven installation had crapped up, haha. But like I said, learnt a lot!

Please sign in to comment.
Something went wrong with that request. Please try again.