Hello community, here is the log from the commit of package ghc-servant-swagger-ui for openSUSE:Factory checked in at 2017-06-22 10:38:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-servant-swagger-ui (Old) and /work/SRC/openSUSE:Factory/.ghc-servant-swagger-ui.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-servant-swagger-ui" Thu Jun 22 10:38:52 2017 rev:2 rq:504099 version:0.2.3.2.2.8 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-servant-swagger-ui/ghc-servant-swagger-ui.changes 2017-05-17 10:55:45.494975870 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-servant-swagger-ui.new/ghc-servant-swagger-ui.changes 2017-06-22 10:38:53.366341600 +0200 @@ -1,0 +2,5 @@ +Wed May 31 14:01:10 UTC 2017 - psim...@suse.com + +- Update to version 0.2.3.2.2.8. + +------------------------------------------------------------------- Old: ---- servant-swagger-ui-0.2.2.2.2.8.tar.gz New: ---- servant-swagger-ui-0.2.3.2.2.8.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-servant-swagger-ui.spec ++++++ --- /var/tmp/diff_new_pack.QjKxHi/_old 2017-06-22 10:38:54.126234469 +0200 +++ /var/tmp/diff_new_pack.QjKxHi/_new 2017-06-22 10:38:54.130233904 +0200 @@ -19,7 +19,7 @@ %global pkg_name servant-swagger-ui %bcond_with tests Name: ghc-%{pkg_name} -Version: 0.2.2.2.2.8 +Version: 0.2.3.2.2.8 Release: 0 Summary: Servant swagger ui License: BSD-3-Clause ++++++ servant-swagger-ui-0.2.2.2.2.8.tar.gz -> servant-swagger-ui-0.2.3.2.2.8.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/servant-swagger-ui-0.2.2.2.2.8/CHANGELOG.md new/servant-swagger-ui-0.2.3.2.2.8/CHANGELOG.md --- old/servant-swagger-ui-0.2.2.2.2.8/CHANGELOG.md 2017-02-02 05:48:45.000000000 +0100 +++ new/servant-swagger-ui-0.2.3.2.2.8/CHANGELOG.md 2017-05-24 13:36:17.000000000 +0200 @@ -1,3 +1,6 @@ +- 0.2.3.2.2.8 + - Support `servant-0.11` + - 0.2.2.2.2.8 - Support `servant-0.10` diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/servant-swagger-ui-0.2.2.2.2.8/README.md new/servant-swagger-ui-0.2.3.2.2.8/README.md --- old/servant-swagger-ui-0.2.2.2.2.8/README.md 2017-02-02 05:48:45.000000000 +0100 +++ new/servant-swagger-ui-0.2.3.2.2.8/README.md 2017-05-24 13:36:17.000000000 +0200 @@ -1,6 +1,8 @@ # servant-swagger-ui -> Servant support for yaml +*Provide a Swagger UI for your Servant API* + +"[Swagger UI](http://swagger.io/swagger-ui/) allows anyone — be it your development team or your end consumers — to visualize and interact with the API’s resources without having any of the implementation logic in place." [![Build Status](https://travis-ci.org/phadej/servant-swagger-ui.svg?branch=master)](https://travis-ci.org/phadej/servant-swagger-ui) [![Hackage](https://img.shields.io/hackage/v/servant-swagger-ui.svg)](http://hackage.haskell.org/package/servant-swagger-ui) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/servant-swagger-ui-0.2.2.2.2.8/servant-swagger-ui.cabal new/servant-swagger-ui-0.2.3.2.2.8/servant-swagger-ui.cabal --- old/servant-swagger-ui-0.2.2.2.2.8/servant-swagger-ui.cabal 2017-02-02 05:48:45.000000000 +0100 +++ new/servant-swagger-ui-0.2.3.2.2.8/servant-swagger-ui.cabal 2017-05-24 13:36:17.000000000 +0200 @@ -1,5 +1,5 @@ name: servant-swagger-ui -version: 0.2.2.2.2.8 +version: 0.2.3.2.2.8 synopsis: Servant swagger ui description: Provide embedded swagger UI for servant and swagger (i.e. servant-swagger) category: Web @@ -140,9 +140,9 @@ , file-embed >=0.0.9 && <0.1 , filepath >=1.3.0.2 && <1.5 , http-media >=0.6.2 && <0.8 - , servant >=0.4.4.5 && <0.11 + , servant >=0.4.4.5 && <0.12 , servant-blaze >=0.4.4.5 && <0.9 - , servant-server >=0.4.4.5 && <0.11 + , servant-server >=0.4.4.5 && <0.12 , servant-swagger >=1.0.3 && <1.2 , swagger2 >=2.0.1 && <2.2 , template-haskell >=2.9 && <2.12 @@ -176,7 +176,7 @@ , servant-swagger-ui , swagger2 , text - , aeson >=0.8.0.2 && <1.2 + , aeson >=0.8.0.2 && <1.3 , base-compat >=0.6.0 && <0.10 , lens >=4.7.0.1 && <4.16 , wai >=3.0.3.0 && <3.3 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/servant-swagger-ui-0.2.2.2.2.8/src/Servant/Swagger/UI.hs new/servant-swagger-ui-0.2.3.2.2.8/src/Servant/Swagger/UI.hs --- old/servant-swagger-ui-0.2.2.2.2.8/src/Servant/Swagger/UI.hs 2017-02-02 05:48:45.000000000 +0100 +++ new/servant-swagger-ui-0.2.3.2.2.8/src/Servant/Swagger/UI.hs 2017-05-24 13:36:17.000000000 +0200 @@ -30,7 +30,7 @@ -- :\<|> "cat" :> Capture ":name" CatName :> Get '[JSON] Cat -- -- -- | API type with bells and whistles, i.e. schema file and swagger-ui. --- type API = 'SwaggerSchemaUI' "swagger.json" "swagger-ui" +-- type API = 'SwaggerSchemaUI' "swagger-ui" "swagger.json" -- :\<|> BasicAPI -- -- -- | Servant server for an API @@ -167,7 +167,11 @@ :<|> return (SwaggerUiHtml indexTemplate) :<|> rest where - rest = staticApp $ embeddedSettings files + rest = +#if MIN_VERSION_servant_server(0,11,0) + Tagged $ +#endif + staticApp $ embeddedSettings files swaggerUiIndexTemplate :: T.Text swaggerUiIndexTemplate = $(embedStringFile "index.html.tmpl")