packages feed

genvalidity-hspec-aeson 0.1.0.1 → 0.1.0.2

raw patch · 4 files changed

+78/−61 lines, 4 filesdep ~aesondep ~doctestPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: aeson, doctest

API changes (from Hackage documentation)

Files

+ doctest/DocTest.hs view
@@ -0,0 +1,4 @@+import Test.DocTest++main :: IO ()+main = doctest ["-isrc", "src", "-XTypeApplications"]
genvalidity-hspec-aeson.cabal view
@@ -1,63 +1,79 @@-name: genvalidity-hspec-aeson-version: 0.1.0.1-cabal-version: >=1.10-build-type: Simple-license: MIT-license-file: LICENSE-copyright: Copyright: (c) 2016 Tom Sydney Kerckhove-maintainer: syd.kerckhove@gmail.com-homepage: http://cs-syd.eu-synopsis: Standard spec's for aeson-related instances-description:-    Standard spec's for aeson-related Instances-category: Testing-author: Tom Sydney Kerckhove+-- This file has been generated from package.yaml by hpack version 0.20.0.+--+-- see: https://github.com/sol/hpack+--+-- hash: ad1b7fb65d8bc1185cd740fbee4f451978e4bb9de895ff3a38614e42a8c92275 +name:           genvalidity-hspec-aeson+version:        0.1.0.2+synopsis:       Standard spec's for aeson-related instances+description:    Standard spec's for aeson-related Instances+category:       Testing+homepage:       http://cs-syd.eu+bug-reports:    https://github.com/NorfairKing/validity/issues+author:         Tom Sydney Kerckhove+maintainer:     syd.kerckhove@gmail.com+copyright:      Copyright: (c) 2016 Tom Sydney Kerckhove+license:        MIT+license-file:   LICENSE+build-type:     Simple+cabal-version:  >= 1.10+ source-repository head-    type: git-    location: https://github.com/NorfairKing/validity+  type: git+  location: https://github.com/NorfairKing/validity  library-    exposed-modules:-        Test.Validity.Aeson-    build-depends:-        base >=4.9 && <=5,-        genvalidity-hspec >=0.5 && <0.6,-        genvalidity >=0.4 && <0.5,-        hspec -any,-        aeson >=0.11 && <1.3,-        QuickCheck -any,-        deepseq >=1.4 && <1.5,-        bytestring -any-    default-language: Haskell2010-    hs-source-dirs: src/-    ghc-options: -Wall+  hs-source-dirs:+      src/+  ghc-options: -Wall+  build-depends:+      QuickCheck+    , aeson+    , base >=4.9 && <=5+    , bytestring+    , deepseq >=1.4 && <1.5+    , genvalidity >=0.4 && <0.5+    , genvalidity-hspec >=0.5 && <0.6+    , hspec+  exposed-modules:+      Test.Validity.Aeson+  other-modules:+      Paths_genvalidity_hspec_aeson+  default-language: Haskell2010  test-suite genvalidity-hspec-aeson-doctests-    type: exitcode-stdio-1.0-    main-is: DocTest.hs-    build-depends:-        base -any,-        doctest >=0.11 && <0.12,-        genvalidity-hspec-aeson -any-    default-language: Haskell2010-    hs-source-dirs: test-    ghc-options: -threaded+  type: exitcode-stdio-1.0+  main-is: DocTest.hs+  hs-source-dirs:+      doctest+  ghc-options: -threaded+  build-depends:+      base+    , doctest >=0.11 && <0.14+    , genvalidity-hspec-aeson+    , hspec+  other-modules:+      Paths_genvalidity_hspec_aeson+  default-language: Haskell2010+ test-suite genvalidity-hspec-aeson-test-    type: exitcode-stdio-1.0-    main-is: Spec.hs-    build-depends:-        aeson -any,-        base -any,-        genvalidity -any,-        genvalidity-aeson -any,-        genvalidity-hspec -any,-        genvalidity-hspec-aeson -any,-        genvalidity-text -any,-        hspec -any,-        text -any-    default-language: Haskell2010-    hs-source-dirs: test/-    other-modules:-        Test.Validity.AesonSpec-    ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall+  type: exitcode-stdio-1.0+  main-is: Spec.hs+  hs-source-dirs:+      test/+  ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall+  build-depends:+      aeson+    , base+    , genvalidity+    , genvalidity-aeson+    , genvalidity-hspec+    , genvalidity-hspec-aeson+    , genvalidity-text+    , hspec+    , text+  other-modules:+      Test.Validity.AesonSpec+      Paths_genvalidity_hspec_aeson+  default-language: Haskell2010
src/Test/Validity/Aeson.hs view
@@ -82,7 +82,8 @@                          ]) $                 neverFailsToEncodeOnGen gen s             describe-                ("decode :: " ++ name ++ " -> Data.ByteString.Lazy.ByteString") $+                ("decode :: Data.ByteString.Lazy.ByteString -> Either String " +++                 name) $                 it                     (unwords                          [ "ensures that encode and decode are inverses for"
− test/DocTest.hs
@@ -1,4 +0,0 @@-import Test.DocTest--main :: IO ()-main = doctest ["-isrc", "src", "-XTypeApplications"]