packages feed

streamly-archive 0.0.1 → 0.0.2

raw patch · 4 files changed

+24/−17 lines, 4 filesdep ~QuickCheckdep ~streamly-archivedep ~tasty

Dependency ranges changed: QuickCheck, streamly-archive, tasty

Files

ChangeLog.md view
@@ -1,3 +1,7 @@-# Changelog for streamly-archive+## 0.0.2 -## Unreleased changes+* Allow QuickCheck <2.15 and tasty <1.5.++## 0.0.1++* Initial release.
README.md view
@@ -1,5 +1,8 @@ # streamly-archive +[![Hackage](https://img.shields.io/hackage/v/streamly-archive.svg?style=flat)](https://hackage.haskell.org/package/streamly-archive)+[![Build Status](https://travis-ci.org/shlok/streamly-archive.svg?branch=master)](https://travis-ci.org/shlok/streamly-archive)+ Stream data from archives (tar, tar.gz, zip, or any other format [supported by libarchive](https://github.com/libarchive/libarchive/wiki/LibarchiveFormats)) using the Haskell [streamly](https://hackage.haskell.org/package/streamly) library.  ## Requirements
streamly-archive.cabal view
@@ -1,13 +1,13 @@ cabal-version: 1.12 --- This file has been generated from package.yaml by hpack version 0.33.0.+-- This file has been generated from package.yaml by hpack version 0.34.4. -- -- see: https://github.com/sol/hpack ----- hash: 5da7b897c9948b1a21fdedb2baab24ef18e4505b4cc95d4a80edb7ab6e4254b7+-- hash: d1bdeda7161e474d2faae54074a27a35ecd88370e604246d11b83a5f54a66471  name:           streamly-archive-version:        0.0.1+version:        0.0.2 synopsis:       Stream data from archives using the streamly library. description:    Please see the README on GitHub at <https://github.com/shlok/streamly-archive#readme> category:       Archive, Codec, Streaming, Streamly@@ -42,8 +42,8 @@       archive   build-depends:       base >=4.7 && <5-    , bytestring >=0.10 && <0.11-    , streamly >=0.7 && <0.8+    , bytestring ==0.10.*+    , streamly ==0.7.*   default-language: Haskell2010  test-suite streamly-archive-test@@ -58,18 +58,18 @@   extra-libraries:       archive   build-depends:-      QuickCheck >=2.13.2 && <2.14+      QuickCheck >=2.13.2 && <2.15     , base >=4.7 && <5-    , bytestring >=0.10 && <0.11+    , bytestring ==0.10.*     , cryptonite >=0.26     , directory >=1.3.6.0 && <1.4     , filepath >=1.4.2.1 && <1.5-    , streamly >=0.7 && <0.8-    , streamly-archive ==0.0.1+    , streamly ==0.7.*+    , streamly-archive     , tar >=0.5.1.1 && <0.6-    , tasty >=1.2.3 && <1.3+    , tasty >=1.2.3 && <1.5     , tasty-hunit >=0.10.0.2 && <0.11     , tasty-quickcheck >=0.10.1.1 && <0.11-    , temporary >=1.3 && <1.4+    , temporary ==1.3.*     , zlib >=0.6.2.1 && <0.7   default-language: Haskell2010
test/Streamly/External/Archive/Tests.hs view
@@ -135,10 +135,10 @@     let zero = B.replicate tenMb 0     let asdf = "asdf" -    assertBool "unexpected bytestring (1)" $ (snd $ archive !! 0) == zero-    assertBool "unexpected bytestring (2)" $ (snd $ archive !! 1) == zero `B.append` zero-    assertBool "unexpected bytestring (3)" $ (snd $ archive !! 2) == zero `B.append` asdf-    assertBool "unexpected bytestring (4)" $ (snd $ archive !! 3) == asdf `B.append` zero+    assertBool "unexpected bytestring (1)" $ snd (head archive) == zero+    assertBool "unexpected bytestring (2)" $ snd (archive !! 1) == zero `B.append` zero+    assertBool "unexpected bytestring (3)" $ snd (archive !! 2) == zero `B.append` asdf+    assertBool "unexpected bytestring (4)" $ snd (archive !! 3) == asdf `B.append` zero  --------------------------------------------------------------------------------