git.iko.soy/servant-quickcheck
on master help sign in
Allow base-compat-0.10 and temporary-1.3

Use base-compat-batteries

commit26523832f8377b5a0c7ba516e7679f2895928c81 authorOleg Grenrus <oleg.grenrus@iki.fi> dateWed 11 Apr 2018, 22:33 (9 years ago) parentd262cea
4 files changed+11−8
CHANGELOG.yaml+8 servant-quickcheck.cabal+3−3 src/Servant/QuickCheck/Internal/ErrorTypes.hs−4 src/Servant/QuickCheck/Internal/HasGenRequest.hs−1
CHANGELOG.yaml+8
@@ -1,5 +1,13 @@
11releases:
22
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+
311 - version: "0.0.7.0"
412 changes:
513
servant-quickcheck.cabal+3−3
@@ -1,5 +1,5 @@
11name: servant-quickcheck
2−version: 0.0.7.0
2+version: 0.0.7.1
33synopsis: QuickCheck entire APIs
44description:
55 This packages provides QuickCheck properties that are tested across an entire
@@ -37,7 +37,7 @@ library
3737 , Servant.QuickCheck.Internal.Equality
3838 , Servant.QuickCheck.Internal.ErrorTypes
3939 build-depends: base >=4.8 && <4.12
40− , base-compat == 0.9.*
40+ , base-compat-batteries >= 0.10.1 && <0.11
4141 , aeson > 0.8 && < 2
4242 , bytestring == 0.10.*
4343 , case-insensitive == 1.2.*
@@ -56,7 +56,7 @@ library
5656 , servant-server >= 0.13 && < 0.14
5757 , split == 0.2.*
5858 , string-conversions > 0.3 && < 0.5
59− , temporary == 1.2.*
59+ , temporary >= 1.2 && <1.4
6060 , text == 1.*
6161 , time >= 1.5 && < 1.9
6262 , warp >= 3.2.4 && < 3.3
src/Servant/QuickCheck/Internal/ErrorTypes.hs−4
@@ -11,11 +11,7 @@ import qualified Network.HTTP.Client as C
1111import Network.HTTP.Types (Header, statusCode)
1212import Text.PrettyPrint
1313
14−#if MIN_VERSION_base(4,11,0)
1514import Prelude.Compat hiding ((<>))
16−#else
17−import Prelude.Compat
18−#endif
1915
2016data PredicateFailure
2117 = PredicateFailure T.Text (Maybe C.Request) (C.Response LBS.ByteString)
src/Servant/QuickCheck/Internal/HasGenRequest.hs−1
@@ -2,7 +2,6 @@
22{-# LANGUAGE PolyKinds #-}
33module Servant.QuickCheck.Internal.HasGenRequest where
44
5−import Data.Monoid ((<>))
65import Data.String (fromString)
76import Data.String.Conversions (cs)
87import GHC.TypeLits (KnownSymbol, Nat, symbolVal)