servant-mock 0.7 → 0.7.1
raw patch · 2 files changed
+10/−6 lines, 2 filesdep ~transformers
Dependency ranges changed: transformers
Files
- example/main.hs +3/−0
- servant-mock.cabal +7/−6
example/main.hs view
@@ -2,6 +2,9 @@ {-# LANGUAGE DeriveGeneric #-} {-# LANGUAGE GeneralizedNewtypeDeriving #-} {-# LANGUAGE TypeOperators #-}++{-# OPTIONS_GHC -fno-warn-unused-binds #-}+ import Data.Aeson import GHC.Generics import Network.Wai.Handler.Warp
servant-mock.cabal view
@@ -1,5 +1,5 @@ name: servant-mock-version: 0.7+version: 0.7.1 synopsis: Derive a mock server for free from your servant API types description: Derive a mock server for free from your servant API types@@ -27,14 +27,15 @@ base >=4.7 && <5, bytestring >= 0.10 && <0.11, http-types >= 0.8 && <0.10,- servant >= 0.4,- servant-server >= 0.4,- transformers >= 0.3 && <0.5,+ servant == 0.7.*,+ servant-server == 0.7.*,+ transformers >= 0.3 && <0.6, QuickCheck >= 2.7 && <2.9, wai >= 3.0 && <3.3 hs-source-dirs: src default-language: Haskell2010 include-dirs: include+ ghc-options: -Wall executable mock-app main-is: main.hs@@ -45,11 +46,11 @@ buildable: True else buildable: False+ ghc-options: -Wall test-suite spec type: exitcode-stdio-1.0- ghc-options:- -Wall -fno-warn-name-shadowing+ ghc-options: -Wall default-language: Haskell2010 hs-source-dirs: test main-is: Spec.hs