pms-ui-request 0.0.4.0 → 0.0.5.0
raw patch · 6 files changed
+17/−11 lines, 6 filesdep ~base
Dependency ranges changed: base
Files
- CHANGELOG.md +4/−0
- pms-ui-request.cabal +7/−7
- src/PMS/UI/Request/App/Control.hs +2/−0
- src/PMS/UI/Request/DS/Core.hs +1/−0
- src/PMS/UI/Request/DS/Utility.hs +1/−0
- test/PMS/UI/Request/App/ControlSpec.hs +2/−4
CHANGELOG.md view
@@ -1,5 +1,9 @@ # Revision history for pms-ui-request +## 0.0.5.0 -- 2025-07-13++* Added serial tool.+ ## 0.0.4.0 -- 2025-07-06 * Added resources interface.
pms-ui-request.cabal view
@@ -1,4 +1,4 @@-cabal-version: 3.12+cabal-version: 2.4 -- The cabal-version field refers to the version of the .cabal specification, -- and can be different from the cabal-install (the tool) version and the -- Cabal (the library) version you are using. As such, the Cabal (the library)@@ -20,7 +20,7 @@ -- PVP summary: +-+------- breaking API changes -- | | +----- non-breaking API additions -- | | | +--- code changes with no API change-version: 0.0.4.0+version: 0.0.5.0 -- A short (one-line) description of the package. synopsis: pms-ui-request@@ -75,7 +75,7 @@ -- other-extensions: -- Other library packages from which modules are imported.- build-depends: base ^>=4.21.0.0,+ build-depends: base >= 4.18 && < 5, data-default, monad-logger, mtl,@@ -94,15 +94,15 @@ hs-source-dirs: src -- Base language which the package is written in.- default-language: GHC2021- default-extensions: LambdaCase+ default-language: Haskell2010+ -- default-extensions: LambdaCase test-suite pms-ui-request-test -- Import common warning flags. ghc-options: -Wall -threaded -- Base language which the package is written in.- default-language: GHC2021+ default-language: Haskell2010 -- Modules included in this executable, other than Main. other-modules: PMS.UI.Request.App.ControlSpec@@ -120,7 +120,7 @@ main-is: Spec.hs -- Test dependencies.- build-depends: base ^>=4.21.0.0,+ build-depends: base >= 4.18 && < 5, hspec, hspec-discover, data-default,
src/PMS/UI/Request/App/Control.hs view
@@ -1,3 +1,5 @@+{-# LANGUAGE LambdaCase #-}+ module PMS.UI.Request.App.Control where import System.IO
src/PMS/UI/Request/DS/Core.hs view
@@ -1,5 +1,6 @@ {-# LANGUAGE TemplateHaskell #-} {-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE LambdaCase #-} module PMS.UI.Request.DS.Core where
src/PMS/UI/Request/DS/Utility.hs view
@@ -1,4 +1,5 @@ {-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE LambdaCase #-} module PMS.UI.Request.DS.Utility where
test/PMS/UI/Request/App/ControlSpec.hs view
@@ -1,6 +1,6 @@ {-# LANGUAGE TemplateHaskell #-} {-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE MultilineStrings #-}+-- {-# LANGUAGE MultilineStrings #-} module PMS.UI.Request.App.ControlSpec (spec) where @@ -100,9 +100,7 @@ domDat = ctx^.domainDataSpecContext appDat = ctx^.appDataSpecContext reqQ = domDat^.DM.requestQueueDomainData- input = """- {"jsonrpc":"2.0","id":1,"method":"initialize","params":{"capabilities":{"roots":{"listChanged":true}},"clientInfo":{"name":"Visual Studio Code","version":"1.99.2"},"protocolVersion":"2024-11-05"}}- """+ input = "{\"jsonrpc\":\"2.0\",\"id\":1,\"method\":\"initialize\",\"params\":{\"capabilities\":{\"roots\":{\"listChanged\":true}},\"clientInfo\":{\"name\":\"Visual Studio Code\",\"version\":\"1.99.2\"},\"protocolVersion\":\"2024-11-05\"}}" expect = "2.0" thId <- async $ SUT.runWithAppData appDat domDat