diff --git a/CHANGELOG.yaml b/CHANGELOG.yaml index bdeefe3..0d79a6a 100644 --- a/CHANGELOG.yaml +++ b/CHANGELOG.yaml @@ -1,27 +1,29 @@ upcoming: - changes: - - - description: Add notLongerThan predicate - pr: 17 - authors: jkarni - date: 2016-10-05 - - - description: Add getsHaveLastModifiedHeader predicate - pr: none - authors: jkarni - date: 2016-10-03 - - - description: Raise upper bounds - notes: > - For Quickcheck, aeson, http-client, servant, servant-client and - servant-server. - pr: none - authors: jkarni - date: 2016-10-03 - releases: + - version: "0.0.2.1" + changes: + + - description: Add notLongerThan predicate + pr: 17 + authors: jkarni + date: 2016-10-05 + + - description: Add getsHaveLastModifiedHeader predicate + pr: none + authors: jkarni + date: 2016-10-03 + + - description: Raise upper bounds + notes: > + For Quickcheck, aeson, http-client, servant, servant-client and + servant-server. + pr: none + authors: jkarni + date: 2016-10-03 + + - version: "0.0.2.0" changes: diff --git a/servant-quickcheck.cabal b/servant-quickcheck.cabal index 40f2bc4..d2d6751 100644 --- a/servant-quickcheck.cabal +++ b/servant-quickcheck.cabal @@ -1,5 +1,5 @@ name: servant-quickcheck -version: 0.0.2.0 +version: 0.0.2.1 synopsis: QuickCheck entire APIs description: This packages provides QuickCheck properties that are tested across an entire diff --git a/src/Servant/QuickCheck/Internal/Predicates.hs b/src/Servant/QuickCheck/Internal/Predicates.hs index 297760b..1fc4f90 100644 --- a/src/Servant/QuickCheck/Internal/Predicates.hs +++ b/src/Servant/QuickCheck/Internal/Predicates.hs @@ -46,7 +46,7 @@ not500 = ResponsePredicate $ \resp -> -- This function checks that the response from the server does not take longer -- than the specified number of nanoseconds. -- --- #SINCE# +-- /Since 0.0.2.1/ notLongerThan :: Integer -> RequestPredicate notLongerThan maxAllowed = RequestPredicate $ \req mgr -> do @@ -143,7 +143,7 @@ createContainsValidLocation -- * If-Unmodified-Since header: -- * Date format: -- --- #SINCE# +-- /Since 0.0.2.1/ getsHaveLastModifiedHeader :: RequestPredicate getsHaveLastModifiedHeader = RequestPredicate $ \req mgr ->