packages feed

hledger-interest 1.6.0 → 1.6.1

raw patch · 2 files changed

+7/−7 lines, 2 filesdep ~hledger-lib

Dependency ranges changed: hledger-lib

Files

Main.hs view
@@ -95,12 +95,12 @@   jnl' <- readJournalFiles ledgerInputOptions (reverse (optInput opts)) >>= either fail return   interestAcc <- case args of                    []    -> commandLineError "required argument ACCOUNT is missing\n"-                   [acc] -> return acc+                   [acc] -> return $ T.pack acc                    _     -> commandLineError "only one interest ACCOUNT may be specified\n"   let jnl = filterJournalTransactions (Acct (toRegex' interestAcc)) jnl'       ts  = sortOn tdate (jtxns jnl)       cfg = Config-            { interestAccount = T.pack interestAcc+            { interestAccount = interestAcc             , sourceAccount = T.pack (optSourceAcc opts)             , targetAccount = T.pack (optTargetAcc opts)             , dayCountConvention = fromJust (optDCC opts)@@ -114,4 +114,4 @@       result         | optVerbose opts = ts' ++ ts         | otherwise       = ts'-  mapM_ (putStr . showTransactionUnelided) (sortOn tdate result)+  mapM_ (putStr . T.unpack . showTransaction) (sortOn tdate result)
hledger-interest.cabal view
@@ -1,5 +1,5 @@ Name:                   hledger-interest-Version:                1.6.0+Version:                1.6.1 Synopsis:               computes interest for a given account License:                BSD3 License-file:           LICENSE@@ -11,8 +11,8 @@ Cabal-version:          >= 1.10 Extra-source-files:     README.md Stability:              stable-tested-with:            GHC == 8.0.2, GHC == 8.2.2, GHC == 8.4.4, GHC == 8.6.5-                      , GHC == 8.8.4, GHC == 8.10.2+tested-with:            GHC == 8.2.2, GHC == 8.4.4, GHC == 8.6.5, GHC == 8.8.4+                      , GHC == 8.10.4  Description:  hledger-interest is a small command-line utility based on Simon@@ -119,7 +119,7 @@ Executable hledger-interest   default-language:     Haskell2010   Main-is:              Main.hs-  Build-depends:        base >= 3 && < 5, hledger-lib == 1.19.*, time, mtl, Cabal, Decimal, text+  Build-depends:        base >= 3 && < 5, hledger-lib == 1.21.*, time, mtl, Cabal, Decimal, text   other-modules:        Hledger.Interest                         Hledger.Interest.DayCountConvention                         Hledger.Interest.Rate