packages feed

http-link-header 0.2.0 → 1.0.0

raw patch · 3 files changed

+14/−9 lines, 3 filesdep ~basePVP ok

version bump matches the API change (PVP)

Dependency ranges changed: base

API changes (from Hackage documentation)

Files

@@ -1,5 +1,5 @@ name:            http-link-header-version:         0.2.0+version:         1.0.0 synopsis:        A parser and writer for the HTTP Link header as specified in RFC 5988 "Web Linking". description:     https://github.com/myfreeweb/http-link-header category:        Web@@ -10,7 +10,7 @@ license:         PublicDomain license-file:    UNLICENSE build-type:      Simple-cabal-version:   >= 1.18+cabal-version:   >= 1.10 extra-source-files:     README.md tested-with:@@ -22,7 +22,7 @@  library     build-depends:-        base >= 4.0.0.0 && < 5+        base >= 4.3.0.0 && < 5       , text       , errors       , network-uri@@ -34,20 +34,21 @@         Network.HTTP.Link.Types         Network.HTTP.Link.Parser         Network.HTTP.Link.Writer-    ghc-prof-options: -auto-all -prof+    ghc-prof-options: -prof     ghc-options: -Wall     hs-source-dirs: library  test-suite tests     build-depends:-        base >= 4.0.0.0 && < 5+        base >= 4.3.0.0 && < 5       , text       , http-link-header       , hspec-        , QuickCheck+      , QuickCheck       , hspec-attoparsec     default-language: Haskell2010     ghc-options: -threaded -fhpc -Wall+    ghc-prof-options: -auto-all -prof     hs-source-dirs: test-suite     main-is: Spec.hs     other-modules:@@ -57,7 +58,7 @@  benchmark benchmarks     build-depends:-        base >= 4.0.0.0 && < 5+        base >= 4.3.0.0 && < 5       , text       , http-link-header       , directory
library/Network/HTTP/Link/Parser.hs view
@@ -1,4 +1,4 @@-{-# LANGUAGE OverloadedStrings, Safe #-}+{-# LANGUAGE OverloadedStrings, Safe, CPP #-} {-# OPTIONS_GHC -fno-warn-unused-do-bind #-}  -- | The parser for the HTTP Link header as defined in RFC 5988.@@ -16,7 +16,9 @@ import           Control.Error.Util (hush) import           Data.Text hiding (takeWhile, map, take) import           Data.Char (isSpace)+#if __GLASGOW_HASKELL__ < 709 import           Data.Monoid (mconcat)+#endif import           Data.Attoparsec.Text import           Network.URI import           Network.HTTP.Link.Types
library/Network/HTTP/Link/Writer.hs view
@@ -1,4 +1,4 @@-{-# LANGUAGE OverloadedStrings, Safe #-}+{-# LANGUAGE OverloadedStrings, Safe, CPP #-}  module Network.HTTP.Link.Writer (   writeLink@@ -6,7 +6,9 @@ ) where  import           Data.Text hiding (map)+#if __GLASGOW_HASKELL__ < 709 import           Data.Monoid (mconcat)+#endif import           Network.URI import           Network.HTTP.Link.Types