From 7065a8cc1b8b01cd32d4b1d5317b323fec5238bd Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Tue, 7 Mar 2017 14:16:21 +0100 Subject: Bump versions --- server/src/Thermoprint/Server/Push.hs | 2 +- server/thermoprint-server.cabal | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'server') diff --git a/server/src/Thermoprint/Server/Push.hs b/server/src/Thermoprint/Server/Push.hs index 07b81fb..7ae03a6 100644 --- a/server/src/Thermoprint/Server/Push.hs +++ b/server/src/Thermoprint/Server/Push.hs @@ -32,7 +32,7 @@ import qualified Data.Text as Text type Notification = URI withPush :: TChan Notification -> Application -> Application -withPush chan = websocketsOr defaultConnectionOptions $ flip acceptRequestWith (AcceptRequest $ Just protocolSpec) >=> handleClient chan +withPush chan = websocketsOr defaultConnectionOptions $ flip acceptRequestWith (AcceptRequest (Just protocolSpec) []) >=> handleClient chan protocolSpec :: ByteString protocolSpec = CBS.pack $ "thermoprint-server.notification." ++ showVersion version diff --git a/server/thermoprint-server.cabal b/server/thermoprint-server.cabal index eae3754..1ed55a6 100644 --- a/server/thermoprint-server.cabal +++ b/server/thermoprint-server.cabal @@ -50,7 +50,7 @@ library , servant-server >=0.4.4 && <1 , stm >=2.4.4 && <3 , text >=1.2.1 && <2 - , thermoprint-spec ==5.0.* + , thermoprint-spec ==6.0.* , time >=1.5.0 && <2 , wai >=3.0.4 && <4 , warp >=3.1.9 && <4 @@ -76,7 +76,7 @@ Test-Suite tests main-is: Spec.hs build-depends: base >=4.8.1 && <5 , thermoprint-server ==2.0.* - , thermoprint-client ==1.0.* + , thermoprint-client ==2.0.* , thermoprint-spec -any , hspec >=2.2.1 && <3 , QuickCheck >=2.8.1 && <3 -- cgit v1.2.3