hledger-iadd 1.3.11 → 1.3.12
raw patch · 3 files changed
+12/−5 lines, 3 filesdep ~hledger-libdep ~megaparsecPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: hledger-lib, megaparsec
API changes (from Hackage documentation)
Files
- ChangeLog.md +4/−0
- hledger-iadd.cabal +4/−4
- tests/ModelSpec.hs +4/−1
ChangeLog.md view
@@ -1,3 +1,7 @@+# 1.3.12 [2020-08-31]++ - dependencies: Fix tests build with hledger-lib-1.19+ # 1.3.11 [2020-06-04] - bugfix: Fix check for balanced transactions in the presence of commodities.
hledger-iadd.cabal view
@@ -1,5 +1,5 @@ name: hledger-iadd-version: 1.3.11+version: 1.3.12 synopsis: A terminal UI as drop-in replacement for hledger add description: This is a terminal UI as drop-in replacement for hledger add. .@@ -61,7 +61,7 @@ , Data.Time.Ext default-language: Haskell2010 build-depends: base >= 4.9 && < 5- , hledger-lib >= 1.14 && < 1.19+ , hledger-lib >= 1.14 && < 1.20 , brick >= 0.27 , vty >= 5.4 , text@@ -88,7 +88,7 @@ default-language: Haskell2010 build-depends: base >= 4.9 && < 5 , hledger-iadd- , hledger-lib >= 1.14 && < 1.19+ , hledger-lib >= 1.14 && < 1.20 , brick >= 0.27 , vty >= 5.4 , text@@ -116,7 +116,7 @@ default-language: Haskell2010 build-depends: base >= 4.9 && < 5 , hledger-iadd- , hledger-lib >= 1.14 && < 1.19+ , hledger-lib >= 1.14 && < 1.20 , text , transformers >= 0.3 , time >= 1.5
tests/ModelSpec.hs view
@@ -190,7 +190,10 @@ it "ignores amount presentation" $ do let a1 = (HL.eur 0.5) { HL.astyle = HL.amountstyle}- a2 = (HL.eur 0.5) { HL.astyle = HL.amountstyle { HL.asprecision = 15} }+ -- We use 'read' in the following because hledger-lib 1.19 changed the+ -- type of 'asprecision' from Int to 'AmountPrecision'. 'read' works in+ -- both cases.+ a2 = (HL.eur 0.5) { HL.astyle = HL.amountstyle { HL.asprecision = read "15"} } p1 = mkPosting ("Test", -1) p2 = HL.nullposting { HL.paccount = "Toast", HL.pamount = HL.Mixed [a1] }