From 7cc9700774c9b8e4d18827f015786f7aa761efee Mon Sep 17 00:00:00 2001 From: Michael Snoyman Date: Sun, 8 Feb 2015 09:58:24 +0200 Subject: [PATCH] Updated scaffolding --- yesod-bin/ChangeLog.md | 4 ++++ yesod-bin/hsfiles/mongo.hsfiles | 4 ++-- yesod-bin/hsfiles/mysql.hsfiles | 4 ++-- yesod-bin/hsfiles/postgres-fay.hsfiles | 4 ++-- yesod-bin/hsfiles/postgres.hsfiles | 4 ++-- yesod-bin/hsfiles/simple.hsfiles | 4 ++-- yesod-bin/hsfiles/sqlite.hsfiles | 4 ++-- yesod-bin/yesod-bin.cabal | 2 +- 8 files changed, 17 insertions(+), 13 deletions(-) diff --git a/yesod-bin/ChangeLog.md b/yesod-bin/ChangeLog.md index 06340dec..85c44701 100644 --- a/yesod-bin/ChangeLog.md +++ b/yesod-bin/ChangeLog.md @@ -1,3 +1,7 @@ +## 1.4.3.6 + +* Scaffold update: use `addToken` instead of `addNonce` + ## 1.4.3.5 * Fix add-handler putting two routes on one line [#922](https://github.com/yesodweb/yesod/pull/922) diff --git a/yesod-bin/hsfiles/mongo.hsfiles b/yesod-bin/hsfiles/mongo.hsfiles index 2d46d213..2951781e 100644 --- a/yesod-bin/hsfiles/mongo.hsfiles +++ b/yesod-bin/hsfiles/mongo.hsfiles @@ -557,7 +557,7 @@ test-suite test build-depends: base , PROJECTNAME - , yesod-test >= 1.4.2 && < 1.5 + , yesod-test >= 1.4.3 && < 1.5 , yesod-core , yesod , persistent @@ -9059,7 +9059,7 @@ spec = withApp $ do request $ do setMethod "POST" setUrl HomeR - addNonce + addToken fileByLabel "Choose a file" "test/Spec.hs" "text/plain" -- talk about self-reference byLabel "What's on the file?" "Some Content" diff --git a/yesod-bin/hsfiles/mysql.hsfiles b/yesod-bin/hsfiles/mysql.hsfiles index 01409649..348e501d 100644 --- a/yesod-bin/hsfiles/mysql.hsfiles +++ b/yesod-bin/hsfiles/mysql.hsfiles @@ -568,7 +568,7 @@ test-suite test build-depends: base , PROJECTNAME - , yesod-test >= 1.4.2 && < 1.5 + , yesod-test >= 1.4.3 && < 1.5 , yesod-core , yesod , persistent @@ -9069,7 +9069,7 @@ spec = withApp $ do request $ do setMethod "POST" setUrl HomeR - addNonce + addToken fileByLabel "Choose a file" "test/Spec.hs" "text/plain" -- talk about self-reference byLabel "What's on the file?" "Some Content" diff --git a/yesod-bin/hsfiles/postgres-fay.hsfiles b/yesod-bin/hsfiles/postgres-fay.hsfiles index 2ffd7fc7..8894266f 100644 --- a/yesod-bin/hsfiles/postgres-fay.hsfiles +++ b/yesod-bin/hsfiles/postgres-fay.hsfiles @@ -612,7 +612,7 @@ test-suite test build-depends: base , PROJECTNAME - , yesod-test >= 1.4.2 && < 1.5 + , yesod-test >= 1.4.3 && < 1.5 , yesod-core , yesod , persistent @@ -9189,7 +9189,7 @@ spec = withApp $ do request $ do setMethod "POST" setUrl HomeR - addNonce + addToken fileByLabel "Choose a file" "test/Spec.hs" "text/plain" -- talk about self-reference byLabel "What's on the file?" "Some Content" diff --git a/yesod-bin/hsfiles/postgres.hsfiles b/yesod-bin/hsfiles/postgres.hsfiles index 7e536c61..83aaec09 100644 --- a/yesod-bin/hsfiles/postgres.hsfiles +++ b/yesod-bin/hsfiles/postgres.hsfiles @@ -568,7 +568,7 @@ test-suite test build-depends: base , PROJECTNAME - , yesod-test >= 1.4.2 && < 1.5 + , yesod-test >= 1.4.3 && < 1.5 , yesod-core , yesod , persistent @@ -9069,7 +9069,7 @@ spec = withApp $ do request $ do setMethod "POST" setUrl HomeR - addNonce + addToken fileByLabel "Choose a file" "test/Spec.hs" "text/plain" -- talk about self-reference byLabel "What's on the file?" "Some Content" diff --git a/yesod-bin/hsfiles/simple.hsfiles b/yesod-bin/hsfiles/simple.hsfiles index 8777b75b..a699b014 100644 --- a/yesod-bin/hsfiles/simple.hsfiles +++ b/yesod-bin/hsfiles/simple.hsfiles @@ -481,7 +481,7 @@ test-suite test build-depends: base , PROJECTNAME - , yesod-test >= 1.4.2 && < 1.5 + , yesod-test >= 1.4.3 && < 1.5 , yesod-core , yesod , hspec >= 2.0.0 @@ -8950,7 +8950,7 @@ spec = withApp $ do request $ do setMethod "POST" setUrl HomeR - addNonce + addToken fileByLabel "Choose a file" "test/Spec.hs" "text/plain" -- talk about self-reference byLabel "What's on the file?" "Some Content" diff --git a/yesod-bin/hsfiles/sqlite.hsfiles b/yesod-bin/hsfiles/sqlite.hsfiles index a9888d02..f93740ba 100644 --- a/yesod-bin/hsfiles/sqlite.hsfiles +++ b/yesod-bin/hsfiles/sqlite.hsfiles @@ -568,7 +568,7 @@ test-suite test build-depends: base , PROJECTNAME - , yesod-test >= 1.4.2 && < 1.5 + , yesod-test >= 1.4.3 && < 1.5 , yesod-core , yesod , persistent @@ -9087,7 +9087,7 @@ spec = withApp $ do request $ do setMethod "POST" setUrl HomeR - addNonce + addToken fileByLabel "Choose a file" "test/Spec.hs" "text/plain" -- talk about self-reference byLabel "What's on the file?" "Some Content" diff --git a/yesod-bin/yesod-bin.cabal b/yesod-bin/yesod-bin.cabal index b067a325..8f1d476b 100644 --- a/yesod-bin/yesod-bin.cabal +++ b/yesod-bin/yesod-bin.cabal @@ -1,5 +1,5 @@ name: yesod-bin -version: 1.4.3.5 +version: 1.4.3.6 license: MIT license-file: LICENSE author: Michael Snoyman