attomail 0.1.0.1 → 0.1.0.2
raw patch · 6 files changed
+23/−12 lines, 6 filesdep ~basedep ~directorydep ~email-validate
Dependency ranges changed: base, directory, email-validate
Files
- ChangeLog.md +2/−0
- README.md +2/−2
- attomail.cabal +8/−6
- src/CmdArgs.hs +10/−2
- src/DeliveryHeaders.hs +1/−0
- src/Main.hs +0/−2
ChangeLog.md view
@@ -2,4 +2,6 @@ * Unleashed on the world. +## 0.1.0.2 +* Tighten bounds, fix missing imports from some versions of dependencies.
README.md view
@@ -10,7 +10,7 @@ mailDir = /path/to/my/home/dir/Maildir/new userName = myuserid EOF-mkdir -p /path/to/my/home/dir/Maildir/new+$ mkdir -p /path/to/my/home/dir/Maildir/new ~~~ ## prerequisites@@ -112,5 +112,5 @@ ## API None, yet, there's only an executable, not a library. But (*sssh*) take a peek-[here](https://hackage.haskell.org/package/attomail-0.1.0.1/candidate/docs) if you like, there should be some minimal documentation of the internal modules.+[here](https://hackage.haskell.org/package/attomail-0.1.0.2/docs) if you like, there should be some minimal documentation of the internal modules.
attomail.cabal view
@@ -1,5 +1,5 @@ name: attomail-version: 0.1.0.1+version: 0.1.0.2 category: Network, Email build-type: Simple cabal-version: >=1.10@@ -27,9 +27,9 @@ main-is: Main.hs default-language: Haskell2010 build-depends: - base >= 4.0 && < 5+ base >= 4.4 && < 5 , bytestring- , directory+ , directory >= 1.2.2.0 , MissingH -- used for Data.Either.Utils , mtl@@ -44,7 +44,7 @@ , unix-time -- , ConfigFile- , email-validate+ , email-validate >= 2.2.0 , hsemail-ns >= 1.7.7 , optparse-applicative other-modules:@@ -52,8 +52,10 @@ , EmailAddress , ConfigLocation , DeliveryHeaders- ghc-options: -Wall - + if impl(ghc >=8)+ ghc-options: -Wall -Wno-name-shadowing -Wno-deprecations+ else+ ghc-options: -Wall test-suite attomail-doctest type: exitcode-stdio-1.0
src/CmdArgs.hs view
@@ -21,13 +21,21 @@ ) where -import Options.Applicative hiding (helper)+import Data.Monoid ( (<>), mconcat )+ -- needed - Data.Monoid+ -- not imported by all versions of Options++import Options.Applicative hiding (helper, strOption)+import qualified Options.Applicative as Op import Options.Applicative.Types (readerAsk) import System.Environment import DeliveryHeaders ( Addr(..) ) +strOption :: Mod OptionFields String -> Parser String+strOption = Op.strOption+ -- | A hidden \"helper\" option which always fails. helper :: Parser (a -> a) helper = abortOption ShowHelpText $ mconcat@@ -110,7 +118,7 @@ -- | program version version :: String-version = "0.1.0.1"+version = "0.1.0.2" -- | just here for testing
src/DeliveryHeaders.hs view
@@ -26,6 +26,7 @@ ) where import Control.Arrow (left)+import Control.Applicative ( (<$>) ) import Data.ByteString.Char8 (unpack) import Data.Char (isSpace)
src/Main.hs view
@@ -1,8 +1,6 @@ {-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE BangPatterns #-}-{-# OPTIONS_GHC -Wno-name-shadowing -Wno-deprecations #-}- {- |