packages feed

crypto-conduit 0.4.0.1 → 0.4.1

raw patch · 2 files changed

+6/−7 lines, 2 filesdep ~hspecPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: hspec

API changes (from Hackage documentation)

Files

crypto-conduit.cabal view
@@ -1,6 +1,6 @@ Cabal-version:       >= 1.8 Name:                crypto-conduit-Version:             0.4.0.1+Version:             0.4.1 Synopsis:            Conduit interface for cryptographic operations (from crypto-api). Homepage:            https://github.com/meteficha/crypto-conduit License:             BSD3@@ -57,7 +57,7 @@     cryptocipher == 0.3.*,     cryptohash   == 0.7.*,     skein        == 0.1.*,-    hspec        == 0.9.*,+    hspec        >= 1.3,      -- finally, our own package     crypto-conduit
tests/runtests.hs view
@@ -44,9 +44,8 @@ import qualified Crypto.Skein as Skein  -- from hspec-import Test.Hspec.Monadic+import Test.Hspec import Test.Hspec.QuickCheck-import Test.Hspec.HUnit ()  -- from this package import Crypto.Conduit@@ -54,7 +53,7 @@   main :: IO ()-main = hspecX $ do+main = hspec $ do   describe "cryptohash's MD2"        $ testHash (undefined :: MD2)   describe "cryptohash's MD4"        $ testHash (undefined :: MD4)   describe "cryptohash's MD5"        $ testHash (undefined :: MD5)@@ -88,7 +87,7 @@ ----------------------------------------------------------------------  -testHash :: C.Hash ctx d => d -> Specs+testHash :: C.Hash ctx d => d -> Spec testHash d = do   prop "works with sinkHash" $     \str -> prop_sinkHash d (L.pack str)@@ -113,7 +112,7 @@ ----------------------------------------------------------------------  -testBlockCipher :: C.BlockCipher k => k -> Specs+testBlockCipher :: C.BlockCipher k => k -> Spec testBlockCipher undefinedKey = do   let Just k =           let len = (C.keyLength .::. k) `div` 8