packages feed

hledger 0.19 → 0.19.1

raw patch · 7 files changed

+12/−12 lines, 7 filesdep ~hledger-libPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: hledger-lib

API changes (from Hackage documentation)

Files

Hledger/Cli/Add.hs view
@@ -117,7 +117,7 @@                 | otherwise = Nothing                 where Just ps = historicalps       defaultaccount = maybe Nothing (Just . showacctname) bestmatch-      ordot | null enteredps || length enteredrealps == 1 = ""+      ordot | null enteredps || length enteredrealps == 1 = "" :: String             | otherwise = ", or . to record"   account <- runInteraction j $ askFor (printf "account %d%s" n ordot) defaultaccount (Just accept)   if account=="."
Hledger/Cli/Balancesheet.hs view
@@ -1,4 +1,4 @@-{-# LANGUAGE QuasiQuotes, RecordWildCards #-}+{-# LANGUAGE QuasiQuotes, RecordWildCards, NoCPP #-} {-|  The @balancesheet@ command prints a simple balance sheet.
Hledger/Cli/Cashflow.hs view
@@ -1,4 +1,4 @@-{-# LANGUAGE QuasiQuotes, RecordWildCards #-}+{-# LANGUAGE QuasiQuotes, RecordWildCards, NoCPP #-} {-|  The @cashflow@ command prints a simplified cashflow statement.  It just
Hledger/Cli/Incomestatement.hs view
@@ -1,4 +1,4 @@-{-# LANGUAGE QuasiQuotes, TemplateHaskell, OverloadedStrings #-}+{-# LANGUAGE QuasiQuotes, TemplateHaskell, OverloadedStrings, NoCPP #-} {-|  The @incomestatement@ command prints a simple income statement (profit & loss) report.
Hledger/Cli/Stats.hs view
@@ -41,7 +41,7 @@       w1 = maximum $ map (length . fst) stats       -- w2 = maximum $ map (length . show . snd) stats       stats = [-         ("Main journal file", path) -- ++ " (from " ++ source ++ ")")+         ("Main journal file" :: String, path) -- ++ " (from " ++ source ++ ")")         ,("Included journal files", unlines $ reverse $ -- cf journalAddFile                                     drop 1 $ journalFilePaths j)         ,("Transactions span", printf "%s to %s (%d days)" (start span) (end span) days)@@ -69,7 +69,7 @@              showelapsed Nothing = ""              showelapsed (Just days) = printf " (%d %s)" days' direction                                        where days' = abs days-                                             direction | days >= 0 = "days ago"+                                             direction | days >= 0 = "days ago" :: String                                                        | otherwise = "days from now"              tnum = length ts              start (DateSpan (Just d) _) = show d
Hledger/Cli/Version.hs view
@@ -55,7 +55,7 @@                                 | patches/="0" = '+' : patches                                 | otherwise = ""                             (os',suffix)-                                | os == "darwin"  = ("mac","")+                                | os == "darwin"  = ("mac","" :: String)                                 | os == "mingw32" = ("windows",".exe")                                 | otherwise       = (os,"")                   prettify (major:minor:bugfix:[]) = prettify [major,minor,bugfix,"0"]
hledger.cabal view
@@ -1,6 +1,6 @@ name:           hledger -- also in cpp-options below-version: 0.19+version: 0.19.1 category:       Finance synopsis:       The main command-line interface for the hledger accounting tool. description:@@ -41,7 +41,7 @@     Default:       True  library-  cpp-options:    -DVERSION="0.19"+  cpp-options:    -DVERSION="0.19.1"   ghc-options:    -W   -- should be the same as below   exposed-modules:@@ -62,7 +62,7 @@                   Hledger.Cli.Stats   -- should be the same as below   build-depends:-                  hledger-lib == 0.19+                  hledger-lib == 0.19.1                  ,base >= 4.3 && < 5                  -- ,cabal-file-th                  ,containers@@ -110,13 +110,13 @@                   Hledger.Cli.Print                   Hledger.Cli.Register                   Hledger.Cli.Stats-  cpp-options:    -DVERSION="0.19"+  cpp-options:    -DVERSION="0.19.1"   ghc-options:    -W   if flag(threaded)        ghc-options:   -threaded  -- should be the same as above   build-depends:-                  hledger-lib == 0.19+                  hledger-lib == 0.19.1                  ,base >= 4.3 && < 5                  ,containers                  ,cmdargs >= 0.10 && < 0.11