packages feed

rest-gen 0.16.1.7 → 0.16.1.8

raw patch · 3 files changed

+7/−5 lines, 3 filesdep −hsloggerPVP ok

version bump matches the API change (PVP)

Dependencies removed: hslogger

API changes (from Hackage documentation)

Files

CHANGELOG.md view
@@ -1,5 +1,9 @@ # Changelog +#### 0.16.1.8++* Remove dependency on hslogger.+ #### 0.16.1.7  * Allow base 4.8 and HStringTemplate 0.8 for GHC 7.10 compatibility.
rest-gen.cabal view
@@ -1,5 +1,5 @@ name:                rest-gen-version:             0.16.1.7+version:             0.16.1.8 description:         Documentation and client generation from rest definition. synopsis:            Documentation and client generation from rest definition. maintainer:          code@silk.co@@ -58,7 +58,6 @@     , filepath >= 1.2 && < 1.4     , hashable >= 1.1 && < 1.3     , haskell-src-exts >= 1.15.0 && < 1.17-    , hslogger >= 1.1 && < 1.3     , hxt >= 9.2 && < 9.4     , json-schema >= 0.6 && < 0.8     , pretty >= 1.0 && < 1.2
src/Rest/Gen/Docs.hs view
@@ -31,7 +31,6 @@ import Data.String import System.Directory import System.FilePath-import System.Log.Logger import Text.Blaze.Html import Text.Blaze.Html5 hiding (map, meta) import Text.Blaze.Html5.Attributes hiding (method, span, title)@@ -66,7 +65,7 @@ mkAllResources :: DocsContext -> ApiResource -> IO String mkAllResources ctx tree =   do tmpls <- directoryGroup (templates ctx)-     tmpl  <- maybe (errorM "Doc generation" "Couldn't find template api-docs-all" >> return (newSTMP "")) return $+     tmpl  <- maybe (putStrLn "Couldn't find template api-docs-all" >> return (newSTMP "")) return $                      getStringTemplate "api-docs-all" tmpls      return $ render             $ setManyAttrib@@ -80,7 +79,7 @@ mkSingleResource :: DocsContext -> ApiResource -> IO String mkSingleResource ctx tree =   do tmpls <- directoryGroup (templates ctx)-     tmpl  <- maybe (errorM "Doc Generation" "Couldn't find template api-docs-resource" >> return (newSTMP "")) return $+     tmpl  <- maybe (putStrLn "Couldn't find template api-docs-resource" >> return (newSTMP "")) return $                      getStringTemplate "api-docs-resource" tmpls      return $ render             $ setManyAttrib