This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "snap".
The branch, master has been updated
via d9b140591e35ae8a149f06b9442b2525ecd7dfa8 (commit)
from d39397538f979f34262bb86f44fef001d59e2063 (commit)
Summary of changes:
snap.cabal | 2 +-
src/Snap/Extension/Heist/Impl.hs | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit d9b140591e35ae8a149f06b9442b2525ecd7dfa8
Author: Mighty Byte <[email protected]>
Date: Sun Dec 12 09:34:14 2010 -0500
Updated to use the new version of Heist.
diff --git a/snap.cabal b/snap.cabal
index aadfae5..fbb719e 100644
--- a/snap.cabal
+++ b/snap.cabal
@@ -63,7 +63,7 @@ Library
filepath >= 1.0 && < 1.2,
MonadCatchIO-transformers >= 0.2.1 && < 0.3,
snap-core == 0.3.*,
- heist >= 0.3 && < 0.4,
+ heist >= 0.4 && < 0.5,
hint >= 0.3.3.1 && < 0.4,
template-haskell >= 2.3 && < 2.5,
time >= 1.0 && < 1.3
diff --git a/src/Snap/Extension/Heist/Impl.hs b/src/Snap/Extension/Heist/Impl.hs
index 8ad1d3f..77d701b 100644
--- a/src/Snap/Extension/Heist/Impl.hs
+++ b/src/Snap/Extension/Heist/Impl.hs
@@ -115,7 +115,7 @@ class MonadSnap m => HasHeistState m s | s -> m where
heistInitializer :: MonadSnap m => FilePath -> Initializer (HeistState m)
heistInitializer p = do
heistState <- liftIO $ do
- (origTs,sts) <- bindStaticTag emptyTemplateState
+ (origTs,sts) <- bindStaticTag $ emptyTemplateState p
loadTemplates p origTs >>= either error (\ts -> do
tsMVar <- newMVar ts
return $ HeistState p origTs tsMVar sts id)
-----------------------------------------------------------------------
hooks/post-receive
--
snap
_______________________________________________
Snap mailing list
[email protected]
http://mailman-mail5.webfaction.com/listinfo/snap