packages feed

configurator-pg 0.2.0 → 0.2.1

raw patch · 11 files changed

+41/−1 lines, 11 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

CHANGELOG.md view
@@ -1,5 +1,9 @@ # Revision history for configurator-pg +## 0.2.1 -- 2020-03-11++* Include test output files in source release.+ ## 0.2.0 -- 2020-03-10  * Rewrite file parser with Megaparsec instead of
configurator-pg.cabal view
@@ -1,6 +1,6 @@ cabal-version:       1.12 name:                configurator-pg-version:             0.2.0+version:             0.2.1 synopsis:            Reduced parser for configurator-ng config files description:   This module provides a simplified and updated interface to the@@ -23,6 +23,7 @@ category:            Configuration, Data extra-source-files:  CHANGELOG.md, README.md,                      tests/resources/*.cfg,+                     tests/resources/*.cfg.err,                      tests/resources/secrets/passwords.txt build-type:          Simple 
+ tests/resources/err-import-2.cfg.err view
@@ -0,0 +1,6 @@+tests/resources/err-single-quote.cfg:1:36:+  |+1 | app.settings.external_api_secret = 'some_value'+  |                                    ^^^^^+unexpected "'some"+expecting "false", "off", "on", "true", '"', '[', or digit
+ tests/resources/err-import.cfg.err view
@@ -0,0 +1,1 @@+tests/resources/not-exist.cfg: openFile: does not exist (No such file or directory)
+ tests/resources/err-interpolate-1.cfg.err view
@@ -0,0 +1,2 @@+<third>:+no such variable: 'three'
+ tests/resources/err-interpolate-2.cfg.err view
@@ -0,0 +1,2 @@+<third>:+variable 'first' is not a string or number
+ tests/resources/err-parse-interp-1.cfg.err view
@@ -0,0 +1,5 @@+<a>:1:2:+  |+1 | $x+  |  ^+unexpected 'x'
+ tests/resources/err-parse-interp-2.cfg.err view
@@ -0,0 +1,5 @@+<b>:1:4:+  |+1 | $$$+  |    ^+unexpected end of input
+ tests/resources/err-parse-interp-3.cfg.err view
@@ -0,0 +1,6 @@+<c>:1:26:+  |+1 | $( let's never close this+  |                          ^+unexpected end of input+expecting ')'
+ tests/resources/err-parse-interp-4.cfg.err view
@@ -0,0 +1,2 @@+<d>:+no such variable: 'a second $( is probably fine'
+ tests/resources/err-single-quote.cfg.err view
@@ -0,0 +1,6 @@+tests/resources/err-single-quote.cfg:1:36:+  |+1 | app.settings.external_api_secret = 'some_value'+  |                                    ^^^^^+unexpected "'some"+expecting "false", "off", "on", "true", '"', '[', or digit