conferer-hspec 1.0.0.0 → 1.1.0.0
raw patch · 3 files changed
+15/−8 lines, 3 filesdep ~confererdep ~textPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: conferer, text
API changes (from Hackage documentation)
Files
- CHANGELOG.md +8/−1
- conferer-hspec.cabal +4/−4
- src/Conferer/FromConfig/Hspec.hs +3/−3
CHANGELOG.md view
@@ -8,9 +8,16 @@ Nothing +## [v1.1.0.0] 2021-03-07++### Changed++* Update lib to match `conferer`+ ## [v1.0.0.0] 2020-12-29 First release -[Unreleased]: https://github.com/ludat/conferer/compare/conferer-hspec_v1.0.0.0...HEAD+[Unreleased]: https://github.com/ludat/conferer/compare/conferer-hspec_v1.1.0.0...HEAD+[v1.1.0.0]: https://github.com/ludat/conferer/compare/conferer-hspec_v1.0.0.0...conferer-hspec_v1.1.0.0 [v1.0.0.0]: https://github.com/ludat/conferer/compare/v0.0.0.0...conferer-hspec_v1.0.0.0
conferer-hspec.cabal view
@@ -4,10 +4,10 @@ -- -- see: https://github.com/sol/hpack ----- hash: 8f226b4b1ae64ea15e4f2be1d5bdb7a15bb089fd67b8fa31c19953d5e8e4524c+-- hash: 0a45775b4c68336da7215641efede52ba91e29c0f2f67755988cd4d3b1206b57 name: conferer-hspec-version: 1.0.0.0+version: 1.1.0.0 synopsis: conferer's FromConfig instances for hspec Config description: Library to abstract the parsing of many haskell config values from different config sources@@ -35,7 +35,7 @@ ghc-options: -Wall -Wredundant-constraints -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns build-depends: base >=4.3 && <5- , conferer >=1.0.0.0 && <2.0.0.0+ , conferer >=1.1.0.0 && <2.0.0.0 , hspec-core >=2.0.0 && <2.8.0 , text >=1.1 && <1.3 if impl(ghc >= 8.4.1)@@ -53,7 +53,7 @@ ghc-options: -Wall -Wredundant-constraints -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns build-depends: base >=4.3 && <5- , conferer >=1.0.0.0 && <2.0.0.0+ , conferer >=1.1.0.0 && <2.0.0.0 , conferer-hspec , hspec , hspec-core >=2.0.0 && <2.8.0
src/Conferer/FromConfig/Hspec.hs view
@@ -19,7 +19,7 @@ import qualified Test.Hspec.Core.Formatters as Hspec instance FromConfig Hspec.ColorMode where- fetchFromConfig =+ fromConfig = fetchFromConfigWith $ (\case "auto" -> Just Hspec.ColorAuto@@ -29,7 +29,7 @@ ) . toLower instance FromConfig Hspec.Formatter where- fetchFromConfig =+ fromConfig = fetchFromConfigWith $ (\case "silent" -> Just Hspec.silent@@ -78,7 +78,7 @@ ] instance FromConfig Hspec.Config where- fetchFromConfig key originalConfig = do+ fromConfig key originalConfig = do config <- addDefaultsAfterDeconstructingToDefaults desconstructHspecConfigToDefaults key originalConfig