packages feed

hjsonpointer 1.2.0 → 1.3.0

raw patch · 4 files changed

+17/−19 lines, 4 filesdep ~QuickCheckdep ~aesondep ~basePVP ok

version bump matches the API change (PVP)

Dependency ranges changed: QuickCheck, aeson, base, hjsonpointer, text, unordered-containers, vector

API changes (from Hackage documentation)

Files

changelog.md view
@@ -1,3 +1,11 @@+# 1.3.0+++ Test with GHC 8.2. Drop GHC 7.8.++# 1.2.0+++ Track upper bounds in a Hackage revision instead of source code.+ # 1.1.1  + Bump aeson.
hjsonpointer.cabal view
@@ -1,5 +1,5 @@ name:               hjsonpointer-version:            1.2.0+version:            1.3.0 synopsis:           JSON Pointer library homepage:           https://github.com/seagreen/hjsonpointer license:            MIT@@ -9,6 +9,8 @@ category:           Data build-type:         Simple cabal-version:      >=1.10+-- Rerun multi-ghc-travis (executable make-travis-yml-2) after changing:+Tested-With:        GHC == 7.10.3, GHC == 8.0.1, GHC == 8.2.1 extra-source-files:   changelog.md   README.md@@ -22,7 +24,7 @@   exposed-modules:     JSONPointer   build-depends:-      base                 >= 4.6 && < 4.10+      base                 >= 4.6 && < 4.11     , aeson                >= 0.7     , hashable             >= 1.2     , QuickCheck           >= 2.8@@ -54,7 +56,3 @@     , unordered-containers     , text     , vector--source-repository head-  type: git-  location: git://github.com/seagreen/hjsonpointer.git
src/JSONPointer.hs view
@@ -16,11 +16,6 @@ import           Test.QuickCheck import           Text.Read           (readMaybe) --- For GHCs before 7.10:-import           Control.Applicative-import           Data.Monoid-import           Data.Traversable- -------------------------------------------------- -- * Resolution --------------------------------------------------@@ -112,7 +107,7 @@ -------------------------------------------------- -- * Wrapper Types ----- These aren't used by the rest of the library+-- $ These aren't used by the rest of the library -- (as explained in the docs for 'Token'). -- -- However, they might be useful if you need to distinguish JSON Pointer
test/Unit.hs view
@@ -1,22 +1,19 @@  module Main where -import           Control.Arrow import           Data.Aeson+import           Data.Bifunctor         (first)+import           Data.Foldable+import           Data.Monoid import           Data.Text              (Text) import qualified Data.Text              as T-import           Data.Text.Encoding+import           Data.Text.Encoding     (decodeUtf8, encodeUtf8) import qualified Data.Vector            as V import qualified JSONPointer            as JP import           Network.HTTP.Types.URI (urlDecode)  import           Test.Hspec import           Test.QuickCheck        (property)---- For GHCs before 7.10:-import           Control.Applicative-import           Data.Foldable-import           Data.Monoid  import qualified Example