hakyll 3.5.2.0 → 3.5.2.1
raw patch · 2 files changed
+9/−5 lines, 2 filesdep ~cryptohashPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: cryptohash
API changes (from Hackage documentation)
Files
- hakyll.cabal +3/−3
- tests/Hakyll/Core/Rules/Tests.hs +6/−2
hakyll.cabal view
@@ -1,5 +1,5 @@ Name: hakyll-Version: 3.5.2.0+Version: 3.5.2.1 Synopsis: A static website compiler library Description:@@ -71,7 +71,7 @@ bytestring >= 0.9 && < 0.11, citeproc-hs >= 0.3.2 && < 0.4, containers >= 0.3 && < 0.6,- cryptohash >= 0.7 && < 0.8,+ cryptohash >= 0.7 && < 0.9, directory >= 1.0 && < 1.3, filepath >= 1.0 && < 1.4, hamlet >= 1.0 && < 1.2,@@ -179,7 +179,7 @@ bytestring >= 0.9 && < 0.11, citeproc-hs >= 0.3.2 && < 0.4, containers >= 0.3 && < 0.6,- cryptohash >= 0.7 && < 0.8,+ cryptohash >= 0.7 && < 0.9, directory >= 1.0 && < 1.3, filepath >= 1.0 && < 1.4, hamlet >= 1.0 && < 1.2,
tests/Hakyll/Core/Rules/Tests.hs view
@@ -38,8 +38,12 @@ case01 :: Assertion case01 = do p <- provider- let ruleSet = runRules rules p- expected @=? S.fromList (map fst (rulesCompilers ruleSet))+ let ruleSet = runRules rules p+ identifiers = map fst $ rulesCompilers ruleSet+ routes = rulesRoutes ruleSet+ expected @=? S.fromList identifiers+ Just "posts/a-post.markdown" @=?+ runRoutes routes (Identifier (Just "nav") "posts/a-post.markdown") where expected = S.fromList [ Identifier Nothing "posts/a-post.markdown"