servant-mock 0.7.1 → 0.8
raw patch · 2 files changed
+10/−3 lines, 2 filesdep ~servantdep ~servant-server
Dependency ranges changed: servant, servant-server
Files
- servant-mock.cabal +7/−3
- src/Servant/Mock.hs +3/−0
servant-mock.cabal view
@@ -1,5 +1,5 @@ name: servant-mock-version: 0.7.1+version: 0.8 synopsis: Derive a mock server for free from your servant API types description: Derive a mock server for free from your servant API types@@ -15,6 +15,10 @@ build-type: Simple extra-source-files: include/*.h cabal-version: >=1.10+bug-reports: http://github.com/haskell-servant/servant/issues+source-repository head+ type: git+ location: http://github.com/haskell-servant/servant.git flag example description: Build the example too@@ -27,8 +31,8 @@ base >=4.7 && <5, bytestring >= 0.10 && <0.11, http-types >= 0.8 && <0.10,- servant == 0.7.*,- servant-server == 0.7.*,+ servant == 0.8.*,+ servant-server == 0.8.*, transformers >= 0.3 && <0.6, QuickCheck >= 2.7 && <2.9, wai >= 3.0 && <3.3
src/Servant/Mock.hs view
@@ -180,3 +180,6 @@ instance (Arbitrary a, Arbitrary (HList hs)) => Arbitrary (HList (Header h a ': hs)) where arbitrary = HCons <$> fmap Header arbitrary <*> arbitrary++instance Arbitrary NoContent where+ arbitrary = pure NoContent