packages feed

conduit-extra 1.3.1 → 1.3.1.1

raw patch · 3 files changed

+11/−3 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

ChangeLog.md view
@@ -1,3 +1,9 @@+# ChangeLog for conduit-extra++## 1.3.1.1++* Attempt to fix a test suite failure [#385](https://github.com/snoyberg/conduit/issues/385)+ ## 1.3.1  * Switched `gzip` to use zlib's default compression level.
conduit-extra.cabal view
@@ -1,5 +1,5 @@ Name:                conduit-extra-Version:             1.3.1+Version:             1.3.1.1 Synopsis:            Batteries included conduit: adapters for common libraries. Description:     The conduit package itself maintains relative small dependencies. The purpose of this package is to collect commonly used utility functions wrapping other library dependencies, without depending on heavier-weight dependencies. The basic idea is that this package should only depend on haskell-platform packages and conduit.
test/Data/Conduit/Process/TypedSpec.hs view
@@ -12,13 +12,15 @@     let fp = "ChangeLog.md"         pc = setStdout createSource $ proc "cat" [fp]     bs <- B.readFile fp-    bss <- withProcess_ pc $ \p -> runConduit $ getStdout p .| CL.consume+    bss <- withProcess_ pc $ \p ->+      runConduit (getStdout p .| CL.consume) <* waitExitCode p     B.concat bss `shouldBe` bs   it "cat works with withLoggedProcess_" $ do     let fp = "ChangeLog.md"         pc = proc "cat" [fp]     bs <- B.readFile fp-    bss <- withLoggedProcess_ pc $ \p -> runConduit $ getStdout p .| CL.consume+    bss <- withLoggedProcess_ pc $ \p ->+      runConduit (getStdout p .| CL.consume) <* waitExitCode p     B.concat bss `shouldBe` bs   it "failing process throws" $ do     (withLoggedProcess_ (proc "cat" ["does not exist"]) $ \p -> do