packages feed

apiary-websockets 1.2.0 → 1.3.0

raw patch · 2 files changed

+5/−4 lines, 2 filesdep +web-routingdep ~apiaryPVP ok

version bump matches the API change (PVP)

Dependencies added: web-routing

Dependency ranges changed: apiary

API changes (from Hackage documentation)

Files

apiary-websockets.cabal view
@@ -1,5 +1,5 @@ name:                apiary-websockets-version:             1.2.0+version:             1.3.0 synopsis:            websockets support for apiary web framework. description:   example: <https://github.com/philopon/apiary/blob/master/examples/websockets.hs>@@ -9,7 +9,7 @@ maintainer:          HirotomoMoriwaki<philopon.dependence@gmail.com> Homepage:            https://github.com/philopon/apiary Bug-reports:         https://github.com/philopon/apiary/issues-copyright:           (c) 2014 Hirotomo Moriwaki+copyright:           (c) 2014-2015 Hirotomo Moriwaki category:            Web build-type:          Simple stability:           stable@@ -20,9 +20,10 @@   exposed-modules:     Web.Apiary.WebSockets   other-modules:          build-depends:       base               >=4.6   && <4.8-                     , apiary             >=1.1   && <1.3+                     , apiary             >=1.1   && <1.4                      , wai-websockets     >=2.1   && <3.1                      , websockets         >=0.8   && <0.10+                     , web-routing    hs-source-dirs:      src   ghc-options:         -O2 -Wall
src/Web/Apiary/WebSockets.hs view
@@ -17,7 +17,7 @@ import Control.Monad.Apiary(ApiaryT, action) import Control.Monad.Apiary.Action(ActionT, getRequest, getParams, stopWith) -import qualified Data.Apiary.Dict as Dict+import qualified Network.Routing.Dict as Dict import qualified Network.Wai.Handler.WebSockets as WS import qualified Network.WebSockets as WS