collection-json 1.0.0.0 → 1.0.1.0
raw patch · 6 files changed
+23/−14 lines, 6 filesdep ~aesondep ~basePVP ok
version bump matches the API change (PVP)
Dependency ranges changed: aeson, base
API changes (from Hackage documentation)
Files
- ChangeLog.md +9/−0
- collection-json.cabal +7/−7
- src/Internal/Network/URI.hs +1/−1
- test/Data/CollectionJSON/Tests.hs +3/−3
- test/Internal/Network/URI/Tests.hs +2/−3
- test/Main.hs +1/−0
ChangeLog.md view
@@ -1,5 +1,14 @@ # Revision history for collection-json +## 1.0.1.0 -- 2017-08-08++* increase aeson upper bound to 1.2+* increase base upper bound to 4.11+* reduce maxSize in quickcheck tests+* cleanup unused pragmas+* update travis configuration+* add travis deployemnt section+ ## 1.0.0.0 -- 2017-08-05 * Add Property Test Suite
collection-json.cabal view
@@ -1,5 +1,5 @@ name: collection-json-version: 1.0.0.0+version: 1.0.1.0 synopsis: Collection+JSON—Hypermedia Type Tools description:@@ -15,8 +15,8 @@ copyright: (c) 2017 Alex Brandt category: Data build-type: Simple-cabal-version: >=1.10-tested-with: GHC ==8.0.2+cabal-version: >= 1.10+tested-with: GHC >= 7.6 && < 9.0 extra-source-files: ChangeLog.md@@ -47,8 +47,8 @@ Internal.Network.URI build-depends:- aeson >= 0.8 && < 1.1- , base >= 4.6 && < 4.10+ aeson >= 0.8 && < 1.2+ , base >= 4.6 && < 4.11 , network-uri == 2.6.* , text == 1.2.* @@ -74,8 +74,8 @@ Internal.Network.URI.Tests build-depends:- aeson >= 0.8 && < 1.1- , base >= 4.6 && < 4.10+ aeson >= 0.8 && < 1.2+ , base >= 4.6 && < 4.11 , network-uri == 2.6.* , QuickCheck == 2.9.* , quickcheck-instances == 0.3.*
src/Internal/Network/URI.hs view
@@ -1,4 +1,4 @@-{-# OPTIONS_GHC -Wno-orphans #-}+{-# OPTIONS_GHC -fno-warn-orphans #-} {-# LANGUAGE OverloadedStrings #-}
test/Data/CollectionJSON/Tests.hs view
@@ -1,4 +1,4 @@-{-# OPTIONS_GHC -Wno-orphans #-}+{-# OPTIONS_GHC -fno-warn-orphans #-} {-# LANGUAGE RecordWildCards #-} {-# LANGUAGE TemplateHaskell #-}@@ -17,7 +17,7 @@ import Data.Maybe (fromJust) import Data.Text (pack) import Test.Invariant ((<=>))-import Test.QuickCheck (Arbitrary (arbitrary), quickCheckAll)+import Test.QuickCheck (Arbitrary (arbitrary), forAllProperties, maxSize, stdArgs, quickCheckWithResult) import Test.QuickCheck.Instances () import Data.CollectionJSON@@ -46,7 +46,7 @@ return [] runTests :: IO Bool-runTests = $quickCheckAll+runTests = $forAllProperties $ quickCheckWithResult $ stdArgs {maxSize = 50} instance Arbitrary Collection where arbitrary =
test/Internal/Network/URI/Tests.hs view
@@ -1,6 +1,4 @@-{-# OPTIONS_GHC -Wno-orphans #-}--{-# LANGUAGE RecordWildCards #-}+{-# OPTIONS_GHC -fno-warn-orphans #-} {-| Module : Internal.Network.URI.Tests@@ -12,6 +10,7 @@ -} module Internal.Network.URI.Tests where +import Control.Applicative ((<$>)) import Data.Maybe (fromJust) import Network.URI (parseURIReference, URI) import Test.QuickCheck (Arbitrary (arbitrary), elements)
test/Main.hs view
@@ -7,6 +7,7 @@ -} module Main where +import Control.Applicative ((<$>)) import System.Exit (exitFailure, exitSuccess) import qualified Data.CollectionJSON.Tests