packages feed

happstack-heist 7.0.0 → 7.0.1

raw patch · 2 files changed

+11/−11 lines, 2 filesdep ~bytestringdep ~happstack-serverPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: bytestring, happstack-server

API changes (from Hackage documentation)

Files

Happstack/Server/Heist.hs view
@@ -3,7 +3,7 @@ -- See the Heist Section of the Happstack Crash Course for detailed documentation: -- --  <http://happstack.com/docs/crashcourse/Templates.html#helloheist>-module Happstack.Server.Heist +module Happstack.Server.Heist     ( templateReloader     , templateServe     , render@@ -22,9 +22,9 @@  -- | serve the heist templates from the 'TemplateDirectory m' templateServe :: (ServerMonad m, MonadPlus m, MonadIO m) =>-                 TemplateDirectory m +                 TemplateDirectory m               -> m Response-templateServe td = +templateServe td =     msum [ nullDir >> render td (B.pack "index")          , do rq <- askRq               let safepath = joinPath $ filter (\x->not (null x) && x /= ".." && x /= ".") (rqPaths rq)@@ -32,8 +32,8 @@          ]  -- | force a reload of the templates from disk-templateReloader :: (MonadIO m, MonadIO n) => -                    TemplateDirectory m +templateReloader :: (MonadIO m, MonadIO n) =>+                    TemplateDirectory m                  -> n Response templateReloader td = do     e <- reloadTemplateDirectory td@@ -42,7 +42,7 @@   -- | render the specified template-render:: (MonadPlus m, MonadIO m) => +render:: (MonadPlus m, MonadIO m) =>          TemplateDirectory m  -- ^ 'TemplateDirectory' handle       -> ByteString           -- ^ template name       -> m Response
happstack-heist.cabal view
@@ -1,5 +1,5 @@ Name:                happstack-heist-Version:             7.0.0+Version:             7.0.1 Synopsis:            Support for using Heist templates in Happstack Description:         Happstack is a web application framework. Heist is an XML templating solution. This package makes it easy to use Heist templates with Happstack. Homepage:            http://www.happstack.com/@@ -8,21 +8,21 @@ Author:              Chris Smith, Jeremy Shaw Maintainer:          Happstack team <happs@googlegroups.com> -- Copyright:-Category:            Web+Category:            Web, Happstack Build-type:          Simple Cabal-version:       >=1.6  source-repository head     type:     darcs     subdir:   happstack-heist-    location: http://patch-tag.com/r/mae/happstack+    location: http://hub.darcs.net/stepcut/happstack  Library   Exposed-modules:     Happstack.Server.Heist   Build-depends:       base >= 3.0 && < 5.0,                        blaze-builder >= 0.2 && <0.4,-                       bytestring == 0.9.*,+                       bytestring >= 0.9 && < 0.11,                        filepath,-                       happstack-server >= 6.0 && < 7.1,+                       happstack-server >= 6.0 && < 7.2,                        heist >= 0.5 && < 0.9,                        mtl == 2.*