taskwarrior 0.1.2.0 → 0.1.2.1
raw patch · 3 files changed
+8/−7 lines, 3 filesdep −string-interpolate
Dependencies removed: string-interpolate
Files
- CHANGELOG.md +4/−0
- src/Taskwarrior/Mask.hs +3/−4
- taskwarrior.cabal +1/−3
CHANGELOG.md view
@@ -1,5 +1,9 @@ # Revision history for taskwarrior +## 0.1.2.1++* Remove string-interpolate dependency+ ## 0.1.2.0 -- 2019-12-23 * Added `getUUIDs` function.
src/Taskwarrior/Mask.hs view
@@ -1,5 +1,5 @@-{-# LANGUAGE LambdaCase, QuasiQuotes #-}--- | The Mask module models the state a recurring parent saves about it‘s child tasks.+{-# LANGUAGE LambdaCase #-}+-- | The Mask module models the state a recurring parent saves about its child tasks. module Taskwarrior.Mask ( Mask(..) , MaskState@@ -7,7 +7,6 @@ where import qualified Data.Text as Text-import Data.String.Interpolate ( i ) import qualified Data.Aeson as Aeson import qualified Data.Aeson.Types as Aeson.Types @@ -34,7 +33,7 @@ '+' -> pure Completed 'X' -> pure Deleted 'W' -> pure Waiting- char -> fail [i|Not a Mask Char: '#{char}'|]+ char -> fail $ "Not a Mask Char: '"++[char]++"'" instance Aeson.ToJSON Mask where toJSON = Aeson.String . Text.pack . fmap toChar . mask
taskwarrior.cabal view
@@ -4,7 +4,7 @@ -- PVP summary: +-+------- breaking API changes -- | | +----- non-breaking API additions -- | | | +--- code changes with no API change-version: 0.1.2.0+version: 0.1.2.1 synopsis: Types and aeson instances for taskwarrior tasks description: Types and aeson instances for the https://taskwarrior.org task import/export feature@@ -35,7 +35,6 @@ default-extensions: LambdaCase OverloadedStrings- QuasiQuotes RecordWildCards build-depends:@@ -44,7 +43,6 @@ , bytestring ^>=0.10.8.2 , process ^>=1.6.5.0 , random ^>=1.1- , string-interpolate >=0.1.0.0 && <0.3 , text ^>=1.2.3.1 , time >=1.8.0.2 && <1.10 , unordered-containers ^>=0.2.9.0