apiary 0.11.2 → 0.11.3
raw patch · 3 files changed
+8/−3 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
+ Control.Monad.Apiary.Action: type StreamingBody = (Builder -> IO ()) -> IO () -> IO ()
Files
- apiary.cabal +1/−1
- src/Control/Monad/Apiary/Action.hs +6/−2
- test/main.hs +1/−0
apiary.cabal view
@@ -1,5 +1,5 @@ name: apiary-version: 0.11.2+version: 0.11.3 synopsis: Simple web framework inspired by scotty. description: Simple web framework inspired by scotty.
src/Control/Monad/Apiary/Action.hs view
@@ -26,9 +26,7 @@ , stream , response -#ifndef WAI3 , StreamingBody-#endif -- ** monolithic action -- *** redirect@@ -36,6 +34,7 @@ , redirectWith -- * Reexport , module Data.Default.Class+ , module Network.HTTP.Types.Status -- * deprecated , redirectFound, redirectSeeOther, source@@ -43,3 +42,8 @@ import Control.Monad.Apiary.Action.Internal import Data.Default.Class+import Network.HTTP.Types.Status hiding (mkStatus)++#ifdef WAI3+import Network.Wai+#endif
test/main.hs view
@@ -1,5 +1,6 @@ {-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE QuasiQuotes #-}+{-# OPTIONS_GHC -fno-warn-missing-signatures #-} import Test.Framework import Test.Framework.Providers.HUnit