packages feed

hakyll 4.9.0.0 → 4.9.1.0

raw patch · 8 files changed

+82/−12 lines, 8 filesdep ~QuickCheckdep ~http-conduitdep ~optparse-applicativePVP ok

version bump matches the API change (PVP)

Dependency ranges changed: QuickCheck, http-conduit, optparse-applicative, pandoc, yaml

API changes (from Hackage documentation)

Files

hakyll.cabal view
@@ -1,5 +1,5 @@ Name:    hakyll-Version: 4.9.0.0+Version: 4.9.1.0  Synopsis: A static website compiler library Description:@@ -65,8 +65,13 @@   tests/data/example.md   tests/data/example.md.metadata   tests/data/images/favicon.ico+  tests/data/partial-helper.html+  tests/data/partial.html+  tests/data/partial.html.out   tests/data/posts/2010-08-26-birthday.md   tests/data/russian.md+  tests/data/strip.html+  tests/data/strip.html.out   tests/data/template.html   tests/data/template.html.out @@ -159,7 +164,7 @@     mtl                  >= 1      && < 2.3,     network              >= 2.6    && < 2.7,     network-uri          >= 2.6    && < 2.7,-    pandoc               >= 1.14   && < 1.18,+    pandoc               >= 1.14   && < 1.19,     pandoc-citeproc      >= 0.4    && < 0.11,     parsec               >= 3.0    && < 3.2,     process              >= 1.0    && < 1.5,@@ -174,8 +179,8 @@     time-locale-compat   >= 0.1    && < 0.2,     unordered-containers >= 0.2    && < 0.3,     vector               >= 0.11   && < 0.12,-    yaml                 >= 0.8    && < 0.9,-    optparse-applicative >= 0.12   && < 0.13+    yaml                 >= 0.8.11 && < 0.9,+    optparse-applicative >= 0.12   && < 0.14    If flag(previewServer)     Build-depends:@@ -202,7 +207,7 @@    If flag(checkExternal)     Build-depends:-      http-conduit >= 2.1    && < 2.2,+      http-conduit >= 2.2    && < 2.3,       http-types   >= 0.7    && < 0.10     Cpp-options:       -DCHECK_EXTERNAL@@ -232,7 +237,7 @@     TestSuite.Util    Build-Depends:-    QuickCheck                 >= 2.8  && < 2.9,+    QuickCheck                 >= 2.8  && < 2.10,     tasty                      >= 0.11 && < 0.12,     tasty-hunit                >= 0.9  && < 0.10,     tasty-quickcheck           >= 0.8  && < 0.9,@@ -252,7 +257,7 @@     mtl                  >= 1      && < 2.3,     network              >= 2.6    && < 2.7,     network-uri          >= 2.6    && < 2.7,-    pandoc               >= 1.14   && < 1.18,+    pandoc               >= 1.14   && < 1.19,     pandoc-citeproc      >= 0.4    && < 0.11,     parsec               >= 3.0    && < 3.2,     process              >= 1.0    && < 1.5,@@ -268,7 +273,7 @@     unordered-containers >= 0.2    && < 0.3,     vector               >= 0.11   && < 0.12,     yaml                 >= 0.8.11 && < 0.9,-    optparse-applicative >= 0.12   && < 0.13+    optparse-applicative >= 0.12   && < 0.14    If flag(previewServer)     Build-depends:@@ -295,7 +300,7 @@    If flag(checkExternal)     Build-depends:-      http-conduit >= 2.1    && < 2.2,+      http-conduit >= 2.2    && < 2.3,       http-types   >= 0.7    && < 0.10     Cpp-options:       -DCHECK_EXTERNAL
src/Hakyll/Check.hs view
@@ -236,8 +236,7 @@      -- Convert exception to a concise form     showException e = case cast e of-        Just (Http.StatusCodeException (Http.Status code msg) _ _) ->-            show code ++ " " ++ unpack msg+        Just (Http.HttpExceptionRequest _ e') -> show e'         _ -> head $ words $ show e #else checkExternalUrl _ = return ()
src/Hakyll/Main.hs view
@@ -16,7 +16,8 @@   ---------------------------------------------------------------------------------import Options.Applicative+import           Data.Monoid                     ((<>))+import           Options.Applicative   --------------------------------------------------------------------------------
+ tests/data/partial-helper.html view
@@ -0,0 +1,3 @@+<p>This is an included partial.</p>++$body$
+ tests/data/partial.html view
@@ -0,0 +1,3 @@+<p>This is a file that includes a partial.</p>++$partial("partial-helper.html")$
+ tests/data/partial.html.out view
@@ -0,0 +1,7 @@+<p>This is a file that includes a partial.</p>++<p>This is an included partial.</p>++This is an example.++
+ tests/data/strip.html view
@@ -0,0 +1,34 @@+<div>+    I'm so rich I have $$3.++    $rev("foo")$+    $-rev(rev("foo"))$++    $if(body)-$+    I have body+    $else-$+    or no+    $-endif-$++    $if(unbound)$+    should not be printed+    $endif$++    $-if(body)-$+    should be printed+    $-endif$++    <ul>+    $for(authors)-$+        <li>$name$</li>+    $endfor-$+    </ul>++    $for(authors)-$+        $name-$+        $sep$,+    $-endfor$++    $body$+</div>+
+ tests/data/strip.html.out view
@@ -0,0 +1,18 @@+<div>+    I'm so rich I have $3.++    ooffoo++    I have body+    should be printed++    <ul>+    <li>Jan</li>+    <li>Piet</li>+    </ul>++    Jan,Piet++    <p>This is an example.</p>+</div>+