packages feed

ginger 0.3.7.0 → 0.3.7.1

raw patch · 3 files changed

+8/−3 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

ginger.cabal view
@@ -2,7 +2,7 @@ -- documentation, see http://haskell.org/cabal/users-guide/  name:                ginger-version:             0.3.7.0+version:             0.3.7.1 synopsis:            An implementation of the Jinja2 template language in Haskell description:         Ginger is Jinja, minus the most blatant pythonisms. Wants                      to be feature complete, but isn't quite there yet.
src/Text/Ginger/Parse.hs view
@@ -706,6 +706,7 @@             c2 <- anyChar             case c2 of                 'n' -> return '\n'+                'r' -> return '\r'                 'b' -> return '\b'                 'v' -> return '\v'                 '0' -> return '\0'
test/Text/Ginger/SimulationTests.hs view
@@ -38,8 +38,12 @@             [] [] "- {%- set x=1 -%} -" "--"         ]     , testGroup "Literals"-        [ testCase "String: \"foobar\"" $ mkTestHtml-            [] [] "{{ \"foobar\" }}" "foobar"+        [ testGroup "Strings"+            [ testCase "String: \"foobar\"" $ mkTestHtml+                [] [] "{{ \"foobar\" }}" "foobar"+            , testCase "String: \"\\r\\n\\t\\b\"" $ mkTestHtml+                [] [] "{{ \"\\r\\n\\t\\b\" }}" "\r\n\t\b"+            ]         , testGroup "Numbers"             [ testCase "123" $ mkTestHtml                 [] [] "{{ 123 }}" "123"