hslua-module-version 1.0.3 → 1.1.0
raw patch · 5 files changed
+23/−20 lines, 5 filesdep ~hslua-coredep ~hslua-marshallingdep ~hslua-packagingPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: hslua-core, hslua-marshalling, hslua-packaging, tasty-lua
API changes (from Hackage documentation)
Files
- CHANGELOG.md +7/−0
- LICENSE +1/−1
- hslua-module-version.cabal +10/−11
- src/HsLua/Module/Version.hs +3/−6
- test/test-hslua-module-version.hs +2/−2
CHANGELOG.md view
@@ -2,6 +2,13 @@ `hslua-module-version` uses [PVP Versioning][]. +## hslua-module-version-1.1.0++Released 2023-03-13.++- Update to hslua-2.3; this includes the addition of type+ initializers to the module.+ ## hslua-module-version-1.0.3 Released 2022-09-01.
LICENSE view
@@ -1,7 +1,7 @@ Copyright © 1994-2022 Lua.org, PUC-Rio. Copyright © 2007-2012 Gracjan Polak Copyright © 2012-2015 Ömer Sinan Ağacan-Copyright © 2016-2022 Albert Krewinkel+Copyright © 2016-2023 Albert Krewinkel Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the
hslua-module-version.cabal view
@@ -1,6 +1,6 @@ cabal-version: 2.2 name: hslua-module-version-version: 1.0.3+version: 1.1.0 synopsis: Lua module to work with version specifiers. description: Wrapper for the Data.Version.Version Haskell type. homepage: https://hslua.org/@@ -8,21 +8,20 @@ license: MIT license-file: LICENSE author: Albert Krewinkel-maintainer: Albert Krewinkel <albert@zeitkraut.de>-copyright: © 2019-2022 Albert Krewinkel+maintainer: Albert Krewinkel <tarleb@hslua.org>+copyright: © 2019-2023 Albert Krewinkel category: Foreign build-type: Simple extra-doc-files: README.md CHANGELOG.md extra-source-files: test/test-version.lua-tested-with: GHC == 8.0.2- , GHC == 8.2.2- , GHC == 8.4.4+tested-with: GHC == 8.4.4 , GHC == 8.6.5 , GHC == 8.8.4 , GHC == 8.10.7 , GHC == 9.0.2- , GHC == 9.2.3+ , GHC == 9.2.5+ , GHC == 9.4.4 source-repository head type: git@@ -32,9 +31,9 @@ common common-options build-depends: base >= 4.9.1 && < 5 , filepath >= 1.4 && < 1.5- , hslua-core >= 2.1 && < 2.3- , hslua-marshalling >= 2.1 && < 2.3- , hslua-packaging >= 2.1 && < 2.3+ , hslua-core >= 2.3 && < 2.4+ , hslua-marshalling >= 2.3 && < 2.4+ , hslua-packaging >= 2.3 && < 2.4 , text >= 1.2 && < 2.1 ghc-options: -Wall@@ -68,7 +67,7 @@ , hslua-module-version , tasty , tasty-hunit- , tasty-lua >= 1.0 && < 1.1+ , tasty-lua >= 1.0 && < 1.2 ghc-options: -threaded -rtsopts -with-rtsopts=-N
src/HsLua/Module/Version.hs view
@@ -1,11 +1,10 @@-{-# LANGUAGE CPP #-} {-# LANGUAGE LambdaCase #-} {-# LANGUAGE OverloadedStrings #-} {-| Module : HsLua.Module.Version-Copyright : © 2019-2022 Albert Krewinkel+Copyright : © 2019-2023 Albert Krewinkel License : MIT-Maintainer : Albert Krewinkel <albert+hslua@zeitkraut.de>+Maintainer : Albert Krewinkel <tarleb@hslua.org> Lua module to work with file paths. -}@@ -26,9 +25,6 @@ import Data.Version ( Version, makeVersion, parseVersion, showVersion, versionBranch ) import Data.List.NonEmpty as NonEmpty (last, nonEmpty)-#if !MIN_VERSION_base(4,12,0)-import Data.Semigroup (Semigroup ((<>)))-#endif import Data.Text (Text) import HsLua.Core ( LuaError, Type (..) , call, dostring, error, ltype )@@ -54,6 +50,7 @@ <#> versionParam "version" "version-like object" =#> udresult typeVersion "new Version object" ]+ , moduleTypeInitializers = [] } -- | Type definition of Lua Version values.
test/test-hslua-module-version.hs view
@@ -2,9 +2,9 @@ {-# LANGUAGE TypeApplications #-} {-| Module : Main-Copyright : © 2021-2022 Albert Krewinkel+Copyright : © 2021-2023 Albert Krewinkel License : MIT-Maintainer : Albert Krewinkel <albert+hslua@zeitkraut.de>+Maintainer : Albert Krewinkel <tarleb@hslua.org> Tests for the `version` Lua module. -}