packages feed

hakyll-ogmarkup 1.0 → 3.0

raw patch · 2 files changed

+5/−5 lines, 2 filesdep ~hakylldep ~ogmarkupPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: hakyll, ogmarkup

API changes (from Hackage documentation)

Files

hakyll-ogmarkup.cabal view
@@ -1,5 +1,5 @@ name:                hakyll-ogmarkup-version:             1.0+version:             3.0 synopsis:            Integrate ogmarkup document with Hakyll description:         Please see README.md homepage:            https://github.com/ogma-project/hakyll-ogmarkup#readme@@ -17,8 +17,8 @@   hs-source-dirs:      src   exposed-modules:     Hakyll.Ogmarkup   build-depends:       base >= 4.7 && < 5-                     , hakyll == 4.8.*-                     , ogmarkup >= 2.1 && < 3+                     , hakyll == 4.9.*+                     , ogmarkup >= 3 && < 4   default-language:    Haskell2010  source-repository head
src/Hakyll/Ogmarkup.hs view
@@ -14,5 +14,5 @@ ogmarkupCompile :: (GenConf c o)                 => c                 -> Compiler (Item o)-ogmarkupCompile conf = do getResourceBody >>= withItemBody (return . ogmarkup' ByLine conf)-    where ogmarkup' strat = flip $ ogmarkup strat+ogmarkupCompile conf = do getResourceBody >>= withItemBody (return . ogmarkup' conf)+    where ogmarkup' = flip $ ogmarkup