wai-predicates 0.7 → 0.8
raw patch · 5 files changed
+25/−21 lines, 5 filesdep +bytestring-conversiondep −HUnitdep −QuickCheckdep −bytestring-fromdep ~blaze-builderdep ~tasty-hunit
Dependencies added: bytestring-conversion
Dependencies removed: HUnit, QuickCheck, bytestring-from
Dependency ranges changed: blaze-builder, tasty-hunit
Files
- CHANGELOG.md +5/−0
- src/Network/Wai/Predicate.hs +1/−1
- src/Network/Wai/Predicate/Utility.hs +1/−1
- test/Tests/Data/Predicate.hs +3/−1
- wai-predicates.cabal +15/−18
CHANGELOG.md view
@@ -1,3 +1,8 @@+0.8+-----------------------------------------------------------------------------+- Replace `bytestring-from` with `bytestring-conversion` and update+ test dependencies.+ 0.7 ----------------------------------------------------------------------------- - Update dependencies to include WAI 3.0.x
src/Network/Wai/Predicate.hs view
@@ -34,7 +34,7 @@ import Control.Monad (when) import Data.ByteString (ByteString)-import Data.ByteString.From+import Data.ByteString.Conversion import Data.CaseInsensitive (original) import Data.List (find) import Data.Maybe (isNothing)
src/Network/Wai/Predicate/Utility.hs view
@@ -7,7 +7,7 @@ module Network.Wai.Predicate.Utility (readValues, (&)) where import Data.ByteString (ByteString)-import Data.ByteString.From+import Data.ByteString.Conversion import Data.List (foldl') import Data.String (fromString)
test/Tests/Data/Predicate.hs view
@@ -6,7 +6,6 @@ import Control.Applicative hiding (Const, empty) import Data.Predicate-import Test.QuickCheck hiding (Result, (.&.)) import Test.Tasty import Test.Tasty.QuickCheck hiding ((.&.)) @@ -46,3 +45,6 @@ instance Arbitrary (Predicate () Int Char) where arbitrary = (\r -> const r) <$> (arbitrary :: Gen (Result Int Char))++instance Show (Predicate () Int Char) where+ show _ = "Predicate () Int Char"
wai-predicates.cabal view
@@ -1,5 +1,5 @@ name: wai-predicates-version: 0.7+version: 0.8 synopsis: WAI request predicates license: OtherLicense license-file: LICENSE@@ -53,18 +53,18 @@ Network.Wai.Predicate.Parser.MediaType build-depends:- attoparsec >= 0.10 && < 0.13- , base == 4.*- , bytestring >= 0.9 && < 0.11- , bytestring-from >= 0.2 && < 0.4- , cookie == 0.4.*- , case-insensitive >= 1.1 && < 1.3- , http-types == 0.8.*- , singletons >= 0.10 && < 1.1- , transformers >= 0.3 && < 0.5- , vault == 0.3.*- , vector == 0.10.*- , wai >= 2.0 && < 3.1+ attoparsec >= 0.10 && < 0.13+ , base == 4.*+ , bytestring >= 0.9 && < 0.11+ , bytestring-conversion == 0.1.*+ , cookie == 0.4.*+ , case-insensitive >= 1.1 && < 1.3+ , http-types == 0.8.*+ , singletons >= 0.10 && < 1.1+ , transformers >= 0.3 && < 0.5+ , vault == 0.3.*+ , vector == 0.10.*+ , wai >= 2.0 && < 3.1 test-suite wai-predicate-tests type: exitcode-stdio-1.0@@ -81,15 +81,12 @@ build-depends: base == 4.*- , blaze-builder == 0.3.*+ , blaze-builder >= 0.3 , bytestring , case-insensitive , http-types- , HUnit- , QuickCheck , tasty >= 0.8- , tasty-hunit >= 0.8+ , tasty-hunit >= 0.9 , tasty-quickcheck >= 0.8 , wai , wai-predicates-