packages feed

katip-wai 0.1.1.0 → 0.1.2.0

raw patch · 3 files changed

+4/−12 lines, 3 filesdep ~textPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: text

API changes (from Hackage documentation)

Files

− ChangeLog.md
@@ -1,3 +0,0 @@-# Changelog for katip-wai--## Unreleased changes
katip-wai.cabal view
@@ -1,7 +1,7 @@ cabal-version: 2.2  name: katip-wai-version: 0.1.1.0+version: 0.1.2.0  synopsis: WAI middleware for logging request and response info through katip. description: WAI middleware for logging request and response info through katip. Please see the README on GitHub at <https://github.com/Disco-Dave/katip-wai#readme>@@ -20,12 +20,7 @@  extra-source-files:     README.md-    ChangeLog.md -source-repository head-  type: git-  location: https://github.com/Disco-Dave/katip-wai- common shared   default-language: Haskell2010 @@ -57,7 +52,7 @@     , bytestring >=0.9 && <0.12     , http-types >=0.12 && <0.13     , katip >=0.8 && <0.9-    , text >=0.11 && <1.3+    , text >=0.11 && <2.1     , uuid >=1.3 && <1.4     , wai >=3.0 && <3.3 
test/LogEntry.hs view
@@ -80,8 +80,8 @@  isMostlySameAs :: LogEntry -> LogEntry -> Bool isMostlySameAs log1 log2 =-  let compareResponse resp1 resp2 =-        on (==) (fmap status) resp1 resp2+  let compareResponse =+        on (==) (fmap status)       compareHeaders head1 head2 =         on (==) (fmap referer) head1 head2           && on (==) (fmap userAgent) head1 head2