packages feed

hspec-wai 0.11.1 → 0.12.0

raw patch · 4 files changed

+12/−7 lines, 4 filesdep ~wai-extraPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: wai-extra

API changes (from Hackage documentation)

- Test.Hspec.Wai.QuickCheck: type family State a;
+ Test.Hspec.Wai: SResponse :: Status -> ResponseHeaders -> ByteString -> SResponse
+ Test.Hspec.Wai: [simpleBody] :: SResponse -> ByteString
+ Test.Hspec.Wai: [simpleHeaders] :: SResponse -> ResponseHeaders
+ Test.Hspec.Wai: [simpleStatus] :: SResponse -> Status
+ Test.Hspec.Wai: data SResponse
+ Test.Hspec.Wai.QuickCheck: type State a;

Files

hspec-wai.cabal view
@@ -1,11 +1,11 @@ cabal-version: 1.12 --- This file has been generated from package.yaml by hpack version 0.34.3.+-- This file has been generated from package.yaml by hpack version 0.39.1. -- -- see: https://github.com/sol/hpack  name:             hspec-wai-version:          0.11.1+version:          0.12.0 homepage:         https://github.com/hspec/hspec-wai#readme bug-reports:      https://github.com/hspec/hspec-wai/issues license:          MIT@@ -43,7 +43,7 @@     , text     , transformers     , wai >=3-    , wai-extra >=3+    , wai-extra >=3.1.14   exposed-modules:       Test.Hspec.Wai       Test.Hspec.Wai.QuickCheck@@ -61,6 +61,8 @@       src       test   ghc-options: -Wall+  build-tool-depends:+      hspec-discover:hspec-discover   build-depends:       QuickCheck     , base >=4.9.1.0 && <5@@ -74,7 +76,7 @@     , text     , transformers     , wai >=3.2.2-    , wai-extra >=3+    , wai-extra >=3.1.14   other-modules:       Test.Hspec.Wai       Test.Hspec.Wai.Internal
src/Test/Hspec/Wai.hs view
@@ -1,3 +1,4 @@+{-# LANGUAGE PackageImports #-} {-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE ConstraintKinds #-}@@ -36,10 +37,11 @@ , getState , pending , pendingWith+, SResponse(..) ) where  import           Prelude ()-import           Prelude.Compat+import "base-compat" Prelude.Compat  import           Data.Foldable import           Data.ByteString (ByteString)
src/Test/Hspec/Wai/Internal.hs view
@@ -22,7 +22,7 @@ import           Test.Hspec.Core.Spec import           Test.Hspec.Wai.Util (formatHeader) -#if MIN_VERSION_base(4,9,0)+#if MIN_VERSION_base(4,9,0) && !MIN_VERSION_base(4,13,0) import           Control.Monad.Fail #endif 
src/Test/Hspec/Wai/Matcher.hs view
@@ -1,3 +1,4 @@+{-# LANGUAGE PackageImports #-} {-# LANGUAGE ViewPatterns #-} module Test.Hspec.Wai.Matcher (   ResponseMatcher(..)@@ -11,7 +12,7 @@ ) where  import           Prelude ()-import           Prelude.Compat+import "base-compat" Prelude.Compat  import           Control.Monad import           Data.Maybe