yesod-rst 0.2.1 → 0.2.2
raw patch · 2 files changed
+7/−6 lines, 2 filesdep ~hamletdep ~persistentdep ~yesod-corePVP ok
version bump matches the API change (PVP)
Dependency ranges changed: hamlet, persistent, yesod-core, yesod-form
API changes (from Hackage documentation)
Files
- Yesod/RST.hs +2/−1
- yesod-rst.cabal +5/−5
Yesod/RST.hs view
@@ -50,11 +50,12 @@ rstField :: RenderMessage master FormMessage => Field sub master RST rstField = Field- { fieldParse = blank $ Right . RST . unlines . lines' . unpack+ { fieldParse = \values _ -> (blank $ Right . RST . unlines . lines' . unpack) values , fieldView = \theId name attrs val _isReq -> toWidget [hamlet| <textarea id="#{theId}" name="#{name}" *{attrs}>#{either id unRST val} |]+ , fieldEnctype = UrlEncoded } where unRST :: RST -> Text
yesod-rst.cabal view
@@ -1,5 +1,5 @@ name: yesod-rst-version: 0.2.1+version: 0.2.2 synopsis: Tools for using reStructuredText (RST) in a yesod application description: A subset of pandoc functionality useful for RST processing in yesod applications homepage: http://github.com/pSub/yesod-rst@@ -20,10 +20,10 @@ , blaze-html >= 0.5 && < 0.6 , xss-sanitize >= 0.3.1 && < 0.4 , directory- , yesod-core >= 1.0 && < 1.1- , yesod-form >= 1.0 && < 1.1- , hamlet >= 1.0 && < 1.1- , persistent >= 0.9 && < 0.10+ , yesod-core >= 1.1.5 && < 1.2+ , yesod-form >= 1.2 && < 1.3+ , hamlet >= 1.1 && < 1.2+ , persistent >= 0.9 && < 1.1 ghc-options: -Wall