packages feed

web-routes 0.26.2 → 0.26.3

raw patch · 2 files changed

+4/−4 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

Web/Routes/PathInfo.hs view
@@ -25,7 +25,7 @@ import Data.List as List (stripPrefix, tails) import Data.Text as Text (Text, pack, unpack, null, tails, stripPrefix) import Data.Text.Encoding (decodeUtf8)-import Data.Text.Read (decimal)+import Data.Text.Read (decimal, signed) import Data.Maybe (fromJust) import Network.HTTP.Types  import Text.ParserCombinators.Parsec.Combinator (notFollowedBy)@@ -229,7 +229,7 @@   toPathSegments i = [pack $ show i]   fromPathSegments = pToken (const "Int") checkInt    where checkInt txt =-           case decimal txt of+           case signed decimal txt of              (Left e) -> Nothing              (Right (n, r))                  | Text.null r -> Just n@@ -239,7 +239,7 @@   toPathSegments i = [pack $ show i]   fromPathSegments = pToken (const "Integer") checkInt    where checkInt txt =-           case decimal txt of+           case signed decimal txt of              (Left e) -> Nothing              (Right (n, r))                  | Text.null r -> Just n
web-routes.cabal view
@@ -1,5 +1,5 @@ Name:             web-routes-Version:          0.26.2+Version:          0.26.3 License:          BSD3 License-File:     LICENSE Author:           jeremy@seereason.com