Skip to content

Commit

Permalink
Release 0.3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
weavejester committed Apr 23, 2011
1 parent 3813159 commit 9149d47
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 18 deletions.
7 changes: 7 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## 0.3.8 (2011-04-23)

* resource-response returns File object when possible
* Added resource middleware
* Stacktrace middleware displays causes (nested exceptions)
* Bug fixes and refactor of stacktrace middleware

## 0.3.7 (2011-03-05)

* Lint middleware recognises ISeq as valid response body
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ To see a more sophisticated Ring app, run:
### ring-core

* `ring.middleware.file`: Serve static files out of a public directory.
* `ring.middleware.resource`: Serve static classpath resources.
* `ring.middleware.static`: Serve static files with specified prefixes out of a public directory.
* `ring.middleware.file-info`: Augment response headers with info about File responses.
* `ring.middleware.content-type`: Augment response headers with a content-type based on the file extension.
Expand All @@ -72,7 +73,6 @@ To see a more sophisticated Ring app, run:
* `ring.util.codec`: Encode and decode string data.
* `ring.util.mime-type`: Guess the mime-type from a file extension.


### ring-devel

* `ring.handler.dump`: Dumps request maps as HTML responses for debugging.
Expand All @@ -92,11 +92,11 @@ To see a more sophisticated Ring app, run:

To include one of the above libraries in your Leiningen project, for example `ring-core`, add the following to your `:dependencies`:

[ring/ring-core "0.3.7"]
[ring/ring-core "0.3.8"]

To include all of them, add:

[ring "0.3.7"]
[ring "0.3.8"]

## Development

Expand All @@ -115,6 +115,6 @@ This project borrows heavily from Ruby's Rack and Python's WSGI; thanks to those

## License

Copyright (c) 2009-2010 Mark McGranaghan and released under an MIT license.
Copyright (c) 2009-2011 Mark McGranaghan and released under an MIT license.

Clojure logo by Tom Hickey.
10 changes: 5 additions & 5 deletions project.clj
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
(defproject ring "0.3.7"
(defproject ring "0.3.8"
:description "A Clojure web applications library."
:url "http://github.com/mmcgrana/ring"
:dependencies
[[ring/ring-core "0.3.7"]
[ring/ring-devel "0.3.7"]
[ring/ring-jetty-adapter "0.3.7"]
[ring/ring-servlet "0.3.7"]]
[[ring/ring-core "0.3.8"]
[ring/ring-devel "0.3.8"]
[ring/ring-jetty-adapter "0.3.8"]
[ring/ring-servlet "0.3.8"]]
:dev-dependencies
[[autodoc "0.7.1" :exclusions [org.clojure/clojure
org.clojure/clojure-contrib]]]
Expand Down
2 changes: 1 addition & 1 deletion ring-core/project.clj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(defproject ring/ring-core "0.3.7"
(defproject ring/ring-core "0.3.8"
:description "Ring core libraries."
:url "http://github.com/mmcgrana/ring"
:dependencies [[org.clojure/clojure "1.2.0"]
Expand Down
4 changes: 2 additions & 2 deletions ring-devel/project.clj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
(defproject ring/ring-devel "0.3.7"
(defproject ring/ring-devel "0.3.8"
:description "Ring development and debugging libraries."
:url "http://github.com/mmcgrana/ring"
:dependencies [[ring/ring-core "0.3.7"]
:dependencies [[ring/ring-core "0.3.8"]
[hiccup "0.3.4"]
[clj-stacktrace "0.2.0"]])
8 changes: 4 additions & 4 deletions ring-jetty-adapter/project.clj
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
(defproject ring/ring-jetty-adapter "0.3.7"
(defproject ring/ring-jetty-adapter "0.3.8"
:description "Ring Jetty adapter."
:url "http://github.com/mmcgrana/ring"
:dependencies [[ring/ring-core "0.3.7"]
[ring/ring-servlet "0.3.7"]
:dependencies [[ring/ring-core "0.3.8"]
[ring/ring-servlet "0.3.8"]
[org.mortbay.jetty/jetty "6.1.26"]
[org.mortbay.jetty/jetty-util "6.1.26"]]
:dev-dependencies [[clj-http "0.1.1"]])
:dev-dependencies [[clj-http "0.1.3"]])
4 changes: 2 additions & 2 deletions ring-servlet/project.clj
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
(defproject ring/ring-servlet "0.3.7"
(defproject ring/ring-servlet "0.3.8"
:description "Ring servlet utilities."
:url "http://github.com/mmcgrana/ring"
:dependencies [[ring/ring-core "0.3.7"]
:dependencies [[ring/ring-core "0.3.8"]
[javax.servlet/servlet-api "2.5"]])

0 comments on commit 9149d47

Please sign in to comment.