linnet-conduit 0.3.0.0 → 0.4.0.0
raw patch · 3 files changed
+5/−4 lines, 3 filesdep ~linnetPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: linnet
API changes (from Hackage documentation)
Files
- linnet-conduit.cabal +3/−3
- src/Linnet/Conduit.hs +1/−0
- test/ConduitSpec.hs +1/−1
linnet-conduit.cabal view
@@ -1,6 +1,6 @@ cabal-version: 1.12 name: linnet-conduit-version: 0.3.0.0+version: 0.4.0.0 license: Apache license-file: LICENSE copyright: 2019 Sergey Kolbasov@@ -33,7 +33,7 @@ bytestring >=0.10.8.2, conduit >=1.3.1.1, http-types >=0.12.3,- linnet >=0.3.0.0,+ linnet >=0.4.0.0, wai >=3.2.2.1, warp >=3.2.28 @@ -53,7 +53,7 @@ conduit >=1.3.1.1, hspec >=2.7.1, http-types >=0.12.3,- linnet >=0.3.0.0,+ linnet >=0.4.0.0, linnet-conduit -any, quickcheck-classes >=0.6.1.0, quickcheck-instances >=0.3.22,
src/Linnet/Conduit.hs view
@@ -63,6 +63,7 @@ ChunkedBody -> Matched { matchedReminder = input+ , matchedTrace = [] , matchedOutput = do liftIO $ pauseTimeout req pure $ ok $ (fromLazyBody . lazyRequestBody) req
test/ConduitSpec.hs view
@@ -55,7 +55,7 @@ inputFromRequest $ defaultRequest {requestBodyLength = ChunkedBody, requestBody = atomicModifyIORef ref getChunk} let endpoint = streamBody @IO ~> (\stream -> ok <$> runConduit (stream .| sinkList))- let (Matched _ mOut) = runEndpoint endpoint streamed+ let (Matched _ _ mOut) = runEndpoint endpoint streamed output <- liftIO mOut assert $ output == ok (map BL.fromStrict nonEmpty) describe "ToResponse conduit" $ do