Skip to content

Commit

Permalink
Fix missing default value for :patch-enacted?
Browse files Browse the repository at this point in the history
  • Loading branch information
ordnungswidrig committed Jul 7, 2017
1 parent 2f29688 commit cb6c4cb
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
8 changes: 6 additions & 2 deletions CHANGES.markdown
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# Changelog

# Unreleased
# New in 0.15.1

## Bugs fixed

* A default value for :patch-enacted? was missing.

# New in 0.15.0

Expand All @@ -11,7 +15,7 @@
a Location for `moved` handlers
* Posting to an existing resource checks for conflicts.
* Add `:post-enacted?`, `:put-enacted?` and `:patch-enacted?`
which return status 202 accepted if true.
which return status 202 accepted if false.
* Add leiningen alias `graph` to generate `trace.svg`
* Add lein profile `1.9a` to test compatibility with clojure 1.9 alphas

Expand Down
2 changes: 1 addition & 1 deletion project.clj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(defproject liberator "0.14.2"
(defproject liberator "0.15.1"
:description "Liberator - A REST library for Clojure."
:url "http://clojure-liberator.github.io/liberator"
:dependencies [[org.clojure/clojure "1.8.0"]
Expand Down
3 changes: 2 additions & 1 deletion src/liberator/core.clj
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,8 @@
:moved-permanently? false
:moved-temporarily? false
:post-enacted? true
:put-enacted? true
:put-enacted? true
:patch-enacted? true
:delete-enacted? true
:processable? true

Expand Down

0 comments on commit cb6c4cb

Please sign in to comment.