packages feed

hledger 1.0 → 1.0.1

raw patch · 3 files changed

+39/−23 lines, 3 filesdep ~hledgerdep ~hledger-libdep ~megaparsecPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: hledger, hledger-lib, megaparsec

API changes (from Hackage documentation)

Files

CHANGES view
@@ -1,6 +1,14 @@ User-visible changes in the hledger and hledger-lib packages.+See also the project change log.  +# 1.0.1 (2016/10/27)++- allow megaparsec 5.0 or 5.1++- fix benchmark build failure (#423)++ # 1.0 (2016/10/26)  ## add@@ -44,6 +52,10 @@ ## misc  -   --pivot option added, groups postings by tag instead of account (#323) (Malte Brandy)++-   --anon option added, obfuscates account names and descriptions (#265) (Brian Scott)++    (Only affects the hledger tool, for now.)  -   try to clarify balance/register's various report modes, 
bench/bench.hs view
@@ -24,10 +24,14 @@  -- withArgs ["--criterion"] $ do   args <- getArgs   if "--criterion" `elem` args-    then withArgs [] benchWithCriterion-    else if "--quickbench" `elem` args-         then benchWithQuickbench-         else benchWithTimeit+  then+    withArgs [] benchWithCriterion+  else+--     if "--quickbench" `elem` args+--     then+--       benchWithQuickbench+--     else+      benchWithTimeit  benchWithTimeit = do   getCurrentDirectory >>= printf "Benchmarking hledger in %s with timeit\n"@@ -57,13 +61,13 @@     bench ("stats")            $ nfIO $ stats    opts j     ] -benchWithQuickbench = do-  let whichcmd = if os == "mingw32" then "where" else "which"-  exe <- init <$> readProcess whichcmd ["hledger"] ""-  pwd <- getCurrentDirectory-  printf "Benchmarking %s in %s with quickbench and shell\n" exe pwd-  flip withArgs QuickBench.defaultMain [-     "-fbench/default.bench"-    ,"-v"-    ,"hledger"-    ] +-- benchWithQuickbench = do+--   let whichcmd = if os == "mingw32" then "where" else "which"+--   exe <- init <$> readProcess whichcmd ["hledger"] ""+--   pwd <- getCurrentDirectory+--   printf "Benchmarking %s in %s with quickbench and shell\n" exe pwd+--   flip withArgs QuickBench.defaultMain [+--      "-fbench/default.bench"+--     ,"-v"+--     ,"hledger"+--     ]
hledger.cabal view
@@ -3,7 +3,7 @@ -- see: https://github.com/sol/hpack  name:           hledger-version:        1.0+version:        1.0.1 stability:      stable category:       Finance, Console synopsis:       Command-line interface for the hledger accounting tool@@ -80,7 +80,7 @@  library   ghc-options: -Wall -fno-warn-unused-do-bind -fno-warn-name-shadowing -fno-warn-missing-signatures -fno-warn-type-defaults -fno-warn-orphans-  cpp-options: -DVERSION="1.0"+  cpp-options: -DVERSION="1.0.1"   build-depends:       base >=4.3 && <5     , base-compat >=0.8.1@@ -91,7 +91,7 @@     , process     , temporary     , tabular >=0.2 && <0.3-    , hledger-lib ==1.0+    , hledger-lib ==1.0.1     , bytestring     , containers     , unordered-containers@@ -104,7 +104,7 @@     , mtl     , mtl-compat     , old-time-    , megaparsec >=5 && < 5.1+    , megaparsec >=5.0 && < 5.2     , regex-tdfa     , safe >=0.2     , split >=0.1 && <0.3@@ -163,7 +163,7 @@   hs-source-dirs:       app   ghc-options: -Wall -fno-warn-unused-do-bind -fno-warn-name-shadowing -fno-warn-missing-signatures -fno-warn-type-defaults -fno-warn-orphans-  cpp-options: -DVERSION="1.0"+  cpp-options: -DVERSION="1.0.1"   build-depends:       base >=4.3 && <5     , base-compat >=0.8.1@@ -174,8 +174,8 @@     , process     , temporary     , tabular >=0.2 && <0.3-    , hledger-lib >= 1.0 && < 1.1-    , hledger >= 1.0 && < 1.1+    , hledger-lib >= 1.0.1+    , hledger >= 1.0.1     , bytestring     , containers     , unordered-containers@@ -224,7 +224,7 @@   hs-source-dirs:       test   ghc-options: -Wall -fno-warn-unused-do-bind -fno-warn-name-shadowing -fno-warn-missing-signatures -fno-warn-type-defaults -fno-warn-orphans-  cpp-options: -DVERSION="1.0"+  cpp-options: -DVERSION="1.0.1"   build-depends:       base >=4.3 && <5     , base-compat >=0.8.1@@ -235,7 +235,7 @@     , process     , temporary     , tabular >=0.2 && <0.3-    , hledger-lib ==1.0+    , hledger-lib ==1.0.1     , hledger     , bytestring     , containers