git.iko.soy/servant-quickcheck
on master help sign in
Allow base-compat-0.10 and temporary-1.3
2652383Oleg Grenrus
CHANGELOG.yaml+8
@@ -1,5 +1,13 @@
1releases:
1releases:
2
2
3+ - version: "0.0.7.0"
4+ changes:
5+
6+ - description: Support for base-compat-0.10
7+ issue: none
8+ authors: phadej
9+ date: 2018-04-12
10+
3 - version: "0.0.7.0"
11 - version: "0.0.7.0"
4 changes:
12 changes:
5
13
servant-quickcheck.cabal+3−3
@@ -1,5 +1,5 @@
1name: servant-quickcheck
1name: servant-quickcheck
2−version: 0.0.7.0
2+version: 0.0.7.1
3synopsis: QuickCheck entire APIs
3synopsis: QuickCheck entire APIs
4description:
4description:
5 This packages provides QuickCheck properties that are tested across an entire
5 This packages provides QuickCheck properties that are tested across an entire
@@ -37,7 +37,7 @@ library
37 , Servant.QuickCheck.Internal.Equality
37 , Servant.QuickCheck.Internal.Equality
38 , Servant.QuickCheck.Internal.ErrorTypes
38 , Servant.QuickCheck.Internal.ErrorTypes
39 build-depends: base >=4.8 && <4.12
39 build-depends: base >=4.8 && <4.12
40− , base-compat == 0.9.*
40+ , base-compat-batteries >= 0.10.1 && <0.11
41 , aeson > 0.8 && < 2
41 , aeson > 0.8 && < 2
42 , bytestring == 0.10.*
42 , bytestring == 0.10.*
43 , case-insensitive == 1.2.*
43 , case-insensitive == 1.2.*
@@ -56,7 +56,7 @@ library
56 , servant-server >= 0.13 && < 0.14
56 , servant-server >= 0.13 && < 0.14
57 , split == 0.2.*
57 , split == 0.2.*
58 , string-conversions > 0.3 && < 0.5
58 , string-conversions > 0.3 && < 0.5
59− , temporary == 1.2.*
59+ , temporary >= 1.2 && <1.4
60 , text == 1.*
60 , text == 1.*
61 , time >= 1.5 && < 1.9
61 , time >= 1.5 && < 1.9
62 , warp >= 3.2.4 && < 3.3
62 , warp >= 3.2.4 && < 3.3
src/Servant/QuickCheck/Internal/ErrorTypes.hs−4
@@ -11,11 +11,7 @@ import qualified Network.HTTP.Client as C
11import Network.HTTP.Types (Header, statusCode)
11import Network.HTTP.Types (Header, statusCode)
12import Text.PrettyPrint
12import Text.PrettyPrint
13
13
14−#if MIN_VERSION_base(4,11,0)
15import Prelude.Compat hiding ((<>))
14import Prelude.Compat hiding ((<>))
16−#else
17−import Prelude.Compat
18−#endif
19
15
20data PredicateFailure
16data PredicateFailure
21 = PredicateFailure T.Text (Maybe C.Request) (C.Response LBS.ByteString)
17 = PredicateFailure T.Text (Maybe C.Request) (C.Response LBS.ByteString)
src/Servant/QuickCheck/Internal/HasGenRequest.hs−1
@@ -2,7 +2,6 @@
2{-# LANGUAGE PolyKinds #-}
2{-# LANGUAGE PolyKinds #-}
3module Servant.QuickCheck.Internal.HasGenRequest where
3module Servant.QuickCheck.Internal.HasGenRequest where
4
4
5−import Data.Monoid ((<>))
6import Data.String (fromString)
5import Data.String (fromString)
7import Data.String.Conversions (cs)
6import Data.String.Conversions (cs)
8import GHC.TypeLits (KnownSymbol, Nat, symbolVal)
7import GHC.TypeLits (KnownSymbol, Nat, symbolVal)