json-to-type 4.0.0 → 4.0.1
raw patch · 2 files changed
+5/−4 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- json-to-type.cabal +4/−3
- test/gen/GenerateTestJSON.hs +1/−1
json-to-type.cabal view
@@ -5,7 +5,7 @@ -- see: https://github.com/sol/hpack name: json-to-type-version: 4.0.0+version: 4.0.1 synopsis: Automatic type declaration for JSON input data description: Generates datatype declarations with Aeson''s ''Data.Aeson.FromJSON'' .@@ -40,10 +40,10 @@ . (If you want your favourite programming language supported too — .- name your price and mail the author.)+ name your price and mail the maintainer.) . .- See introduction on <https://github.com/mgajda/json-to-type> for details.'+ See introduction on <https://github.com/jappeace/json-to-type> for details.' . homepage: https://github.com/jappeace/json-to-type.git#readme license: BSD-3-Clause@@ -52,6 +52,7 @@ author: Michal J. Gajda maintainer: simons@cryp.to, mjgajda@gmail.com+ hi@jappie.me copyright: Copyright by Migamake '2014-'2020 category: Data, Tools build-type: Simple
test/gen/GenerateTestJSON.hs view
@@ -15,7 +15,7 @@ import System.FilePath (splitExtension, (<.>), (</>)) import System.Directory (removeFile, createDirectoryIfMissing) import System.Process (system)-import Control.Monad (forM_, forM, when)+import Control.Monad (forM_, forM, when, filterM) import Control.Exception (assert) import qualified Data.ByteString.Lazy.Char8 as BSL import qualified Data.HashMap.Strict as Map