wai-predicates 0.8.5 → 0.8.6
raw patch · 4 files changed
+13/−9 lines, 4 files
Files
- CHANGELOG.md +4/−0
- README.md +0/−4
- test/Tests/Data/Predicate.hs +4/−0
- wai-predicates.cabal +5/−5
CHANGELOG.md view
@@ -1,3 +1,7 @@+0.8.6+-----------------------------------------------------------------------------+- Bugfix release (Github issue #2)+ 0.8.5 ----------------------------------------------------------------------------- - Update `singletons` upper bound.
README.md view
@@ -1,9 +1,5 @@-[][1]- Evaluate predicate functions against WAI requests and receive metadata in addition to a success/failure indicator. Predicates can be combined using logical connectives and the metadata are passed on accordingly.--[1]: https://travis-ci.org/twittner/wai-predicates
test/Tests/Data/Predicate.hs view
@@ -48,7 +48,11 @@ , Fail <$> (arbitrary :: Gen Int) ] +#if __GLASGOW_HASKELL__ < 710 instance Arbitrary (Predicate () Int Char) where+#else+instance {-# OVERLAPPING #-} Arbitrary (Predicate () Int Char) where+#endif arbitrary = (\r -> const r) <$> (arbitrary :: Gen (Result Int Char)) instance Show (Predicate () Int Char) where
wai-predicates.cabal view
@@ -1,13 +1,13 @@ name: wai-predicates-version: 0.8.5+version: 0.8.6 synopsis: WAI request predicates license: MPL-2.0 license-file: LICENSE.txt author: Toralf Wittner maintainer: Toralf Wittner <tw@dtex.org>-copyright: (C) 2014-2015 Toralf Wittner-homepage: https://github.com/twittner/wai-predicates/-bug-reports: https://github.com/twittner/wai-predicates/issues+copyright: (C) 2014-2016 Toralf Wittner+homepage: https://gitlab.com/twittner/wai-predicates/+bug-reports: https://gitlab.com/twittner/wai-predicates/issues stability: experimental category: Web build-type: Simple@@ -29,7 +29,7 @@ source-repository head type: git- location: git://github.com/twittner/wai-predicates.git+ location: git@gitlab.com:twittner/wai-predicates.git library default-language: Haskell2010