hledger-interest 1.6.1 → 1.6.2
raw patch · 3 files changed
+4/−4 lines, 3 filesdep ~hledger-lib
Dependency ranges changed: hledger-lib
Files
- Hledger/Interest.hs +1/−1
- Main.hs +1/−1
- hledger-interest.cabal +2/−2
Hledger/Interest.hs view
@@ -89,7 +89,7 @@ } pTarget = nullposting { paccount = targetAcc- , pamount = Mixed [ a { aquantity = (aquantity a * ratePerAnno) / fromInteger perDayScalar * fromInteger days } | a <- amounts bal ]+ , pamount = mixed [ a { aquantity = (aquantity a * ratePerAnno) / fromInteger perDayScalar * fromInteger days } | a <- amounts bal ] , ptype = RegularPosting , ptransaction = Just t }
Main.hs view
@@ -91,7 +91,7 @@ when (null (optTargetAcc opts)) (commandLineError "required --target option is missing\n") when (isNothing (optDCC opts)) (commandLineError "no day counting convention specified\n") when (isNothing (optRate opts)) (commandLineError "no interest rate specified\n")- let ledgerInputOptions = definputopts { ignore_assertions_ = optIgnoreAssertions opts }+ let ledgerInputOptions = definputopts { balancingopts_ = (balancingopts_ definputopts) { ignore_assertions_ = optIgnoreAssertions opts } } jnl' <- readJournalFiles ledgerInputOptions (reverse (optInput opts)) >>= either fail return interestAcc <- case args of [] -> commandLineError "required argument ACCOUNT is missing\n"
hledger-interest.cabal view
@@ -1,5 +1,5 @@ Name: hledger-interest-Version: 1.6.1+Version: 1.6.2 Synopsis: computes interest for a given account License: BSD3 License-file: LICENSE@@ -119,7 +119,7 @@ Executable hledger-interest default-language: Haskell2010 Main-is: Main.hs- Build-depends: base >= 3 && < 5, hledger-lib == 1.21.*, time, mtl, Cabal, Decimal, text+ Build-depends: base >= 3 && < 5, hledger-lib == 1.22.*, time, mtl, Cabal, Decimal, text other-modules: Hledger.Interest Hledger.Interest.DayCountConvention Hledger.Interest.Rate