packages feed

crypto-enigma 0.1.1.5 → 0.1.1.6

raw patch · 5 files changed

+21/−21 lines, 5 filesdep ~basePVP ok

version bump matches the API change (PVP)

Dependency ranges changed: base

API changes (from Hackage documentation)

Files

CHANGELOG.md view
@@ -8,13 +8,19 @@ * [closed milestones]; and * [issues]. -### (0.1.1.6)+### (0.1.1.7)  Current [development version] +### [0.1.1.6]++Latest [release version], including+* minor bug fixes and tidying, including improved error reporting; and+* compatability with GHC 8.8.1.+ ### [0.1.1.5] -Latest [release version], including version CLI option and improved CLI error reporting.+Add version CLI option and improved CLI error reporting.  ### [0.1.1.4] @@ -164,6 +170,7 @@ [development version]: https://github.com/orome/crypto-enigma-hs/tree/develop [new CLI]: https://github.com/orome/crypto-enigma-hs/tree/new/cli +[0.1.1.6]: https://github.com/orome/crypto-enigma-hs/releases/tag/0.1.1.6 [0.1.1.5]: https://github.com/orome/crypto-enigma-hs/releases/tag/0.1.1.5 [0.1.1.4]: https://github.com/orome/crypto-enigma-hs/releases/tag/0.1.1.4 [0.1.1.3]: https://github.com/orome/crypto-enigma-hs/releases/tag/0.1.1.3
Crypto/Enigma/Display.hs view
@@ -589,7 +589,7 @@ >>> putStr $ displayEnigmaEncoding cfg "FOLGENDES IST SOFORT BEKANNTZUGEBEN" RBBF PMHP HGCZ XTDY GAHG UFXG EWKB LKGJ -}--- TBD: Add new arguments for formatting (and use in cli)+-- TBD: Add new arguments for formatting, and use in cli (#33) <<< displayEnigmaEncoding :: EnigmaConfig -> Message -> String displayEnigmaEncoding ec str = postproc $ enigmaEncoding ec (message str)         where
README.md view
@@ -14,7 +14,7 @@ [I], [M3], and [M4].  This is adapted, as an exercise in learning Haskell, from an earlier learning project written in Mathematica. It is my-first Haskell program. A [Python version] with substantially the same API, plus a command line interface, is also+first Haskell program. A [Python version] with substantially the same API and command line interface, is also available.  ### Functionality: package API@@ -64,10 +64,10 @@ Encode messages:      $ enigma encode "B-I-III-I EMO UX.MO.AY 13.04.11" "TESTINGXTESTINGUD"-    OZQKPFLPYZRPYTFVU+    OZQK PFLP YZRP YTFV U      $ enigma encode "B-I-III-I EMO UX.MO.AY 13.04.11" "OZQKPFLPYZRPYTFVU"-    TESTINGXTESTINGUD+    TEST INGX TEST INGU D  Show configuration details (explained in more detail in the command line help): 
cli/enigma.hs view
@@ -276,8 +276,7 @@  topExamples = unlines [         "    $ enigma encode \"B-I-III-I EMO UX.MO.AY 13.04.11\" \"TESTINGXTESTINGUD\"",-        "    $ enigma encode \"B-I-III-I EMO UX.MO.AY 13.04.11\" \"TESTINGXTESTINGUD\" -f",-        "    $ enigma encode \"B-I-III-I EMO UX.MO.AY 13.04.11\" \"TESTING! testing?\" -f",+        "    $ enigma encode \"B-I-III-I EMO UX.MO.AY 13.04.11\" \"TESTING! testing?\"",         "    $ enigma show \"B-I-III-I EMO UX.MO.AY 13.04.11\" -l 'X'",         "    $ enigma show \"B-I-III-I EMO UX.MO.AY 13.04.11\" -l 'X' -H '()'",         "    $ enigma show \"B-I-III-I EMO UX.MO.AY 13.04.11\" -l 'X' -H '()' -f internal",@@ -295,17 +294,11 @@ encodeCmdExamples = init $ unlines [         "  Encode a message:",         "    $ enigma encode \"B-I-III-I EMO UX.MO.AY 13.04.11\" \"TESTINGXTESTINGUD\"",-        "    OZQKPFLPYZRPYTFVU",-        "    $ enigma encode \"B-I-III-I EMO UX.MO.AY 13.04.11\" \"OZQKPFLPYZRPYTFVU\"",-        "    TESTINGXTESTINGUD",-        "",-        "  Encode a message and break the output into blocks of 4:",-        "    $ enigma encode \"B-I-III-I EMO UX.MO.AY 13.04.11\" \"TESTINGXTESTINGUD\" -f",         "    OZQK PFLP YZRP YTFV U",         "",         "  Standard Naval subistitutions for non-letter characters are performed",         "  before encoding:",-        "    $ enigma encode \"B-I-III-I EMO UX.MO.AY 13.04.11\" \"TESTING! testing?\" -f",+        "    $ enigma encode \"B-I-III-I EMO UX.MO.AY 13.04.11\" \"TESTING! testing?\"",         "    OZQK PFLP YZRP YTFV U"]  showCmdExamples = init $ unlines [
crypto-enigma.cabal view
@@ -3,7 +3,7 @@ -- PVP summary:         +-+------- breaking API changes --                      | | +----- non-breaking API additions --                      | | | +--- code changes with no API change-version:                0.1.1.5+version:                0.1.1.6 synopsis:               An Enigma machine simulator with display.  description:            The crypto-enigma package is an Enigma machine simulator                         with rich display and machine state details.@@ -45,7 +45,7 @@         type:           git         location:       git://github.com/orome/crypto-enigma-hs.git         branch:         hackage-        tag:            0.1.1.5+        tag:            0.1.1.6  library     -- default-extensions: Safe@@ -53,7 +53,7 @@                         Crypto.Enigma.Display     other-modules:      Crypto.Enigma.Utils     -- other-extensions:-    build-depends:      base >=4.8.1.0 && <=4.12.0.0,+    build-depends:      base >=4.8.1.0 && <=4.13.0.0,                         containers >=0.5.5.1,                         split >=0.2.2,                         text >=1.2.2.0@@ -67,7 +67,7 @@                         Crypto.Enigma.Display,                         Crypto.Enigma.Utils,                         Paths_crypto_enigma-    build-depends:      base >=4.8.1.0 && <=4.12.0.0,+    build-depends:      base >=4.8.1.0 && <=4.13.0.0,                         containers >=0.5.5.1,                         split >=0.2.2,                         text >=1.2.2.0,@@ -80,7 +80,7 @@     type:               exitcode-stdio-1.0     hs-source-dirs:     test     main-is:            Check.hs-    build-depends:      base >=4.8.1.0 && <=4.12.0.0,+    build-depends:      base >=4.8.1.0 && <=4.13.0.0,                         QuickCheck >=2.8,                         crypto-enigma     -- ghc-options:        -threaded -rtsopts -with-rtsopts=-N@@ -90,7 +90,7 @@     type:               exitcode-stdio-1.0     hs-source-dirs:     test     main-is:            Test.hs-    build-depends:      base >=4.8.1.0 && <=4.12.0.0,+    build-depends:      base >=4.8.1.0 && <=4.13.0.0,                         HUnit >=1.2.5.2,                         crypto-enigma     -- ghc-options:        -threaded -rtsopts -with-rtsopts=-N