packages feed

hslua-aeson 1.0.0 → 1.0.1

raw patch · 5 files changed

+15/−8 lines, 5 filesdep ~hsluaPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: hslua

API changes (from Hackage documentation)

Files

LICENSE view
@@ -1,4 +1,4 @@-Copyright © 2017–2018 Albert Krewinkel+Copyright © 2017–2019 Albert Krewinkel  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal
changelog.md view
@@ -1,5 +1,12 @@ # hslua-aeson +## v1.0.1++Released 2020-04-03++- Relax version constraint for packages hashable and hslua, allow+  `hashable-1.3` and `hslua-1.1.*`.+ ## v1.0.0  - Update to hslua 1.0.0
hslua-aeson.cabal view
@@ -1,5 +1,5 @@ name:                hslua-aeson-version:             1.0.0+version:             1.0.1 synopsis:            Allow aeson data types to be used with lua. description:         This package provides instances to push and receive any                      datatype encodable as JSON to and from the Lua stack.@@ -8,7 +8,7 @@ license-file:        LICENSE author:              Albert Krewinkel maintainer:          tarleb+hslua@zeitkraut.de-copyright:           © 2017–2018 Albert Krewinkel+copyright:           © 2017–2020 Albert Krewinkel category:            Foreign build-type:          Simple extra-source-files:  README.md@@ -24,8 +24,8 @@   exposed-modules:     Foreign.Lua.Aeson   build-depends:       base                 >= 4.7     && < 5                      , aeson                >= 0.11    && < 1.5-                     , hashable             >= 1.2     && < 1.3-                     , hslua                >= 1.0     && < 1.1+                     , hashable             >= 1.2     && < 1.4+                     , hslua                >= 1.0     && < 1.2                      , scientific           >= 0.3     && < 0.4                      , text                 >= 1.1.1.0 && < 1.3                      , unordered-containers >= 0.2     && < 0.3
src/Foreign/Lua/Aeson.hs view
@@ -2,7 +2,7 @@ {-# LANGUAGE LambdaCase #-} {-| Module      :  Foreign.Lua.Aeson-Copyright   :  © 2017–2018 Albert Krewinkel+Copyright   :  © 2017–2020 Albert Krewinkel License     :  MIT  Maintainer  :  Albert Krewinkel <tarleb@zeitkraut.de>
test/AesonSpec.hs view
@@ -1,6 +1,6 @@ {-# OPTIONS_GHC -fno-warn-orphans #-} {-|-Copyright   :  © 2017–2018 Albert Krewinkel+Copyright   :  © 2017–2020 Albert Krewinkel License     :  MIT  Tests for Aeson–Lua glue.@@ -121,7 +121,7 @@     [ (1, return Aeson.Null)     , (4, Aeson.Bool <$> arbitrary)     -- FIXME: this is cheating: we don't draw numbers from the whole possible-    -- range, but only fro the range of nubers that can pass through the lua+    -- range, but only from the range of nubers that can pass through the Lua     -- stack without rounding errors. Good enough for now, but we still might     -- want to do better in the future.     , (4, Aeson.Number . luaNumberToScientific . Lua.Number <$> arbitrary)