packages feed

morph 0.1.1.2 → 0.1.1.3

raw patch · 2 files changed

+8/−9 lines, 2 filesdep ~basePVP ok

version bump matches the API change (PVP)

Dependency ranges changed: base

API changes (from Hackage documentation)

Files

morph.cabal view
@@ -1,8 +1,5 @@--- Initial morph.cabal generated by cabal init.  For further documentation,---  see http://haskell.org/cabal/users-guide/- name:                  morph-version:               0.1.1.2+version:               0.1.1.3 synopsis:              A simple database migrator for PostgreSQL description:           Morph is a tool to migrate your PostgreSQL databases                        safely which supports rollbacks.@@ -12,11 +9,12 @@ maintainer:            tho.feron@gmail.com build-type:            Simple cabal-version:         >=1.10+category:              Database  source-repository head-  type:                darcs-  location:            http://darcs.redspline.com/morph-  tag:                 0.1.1.2+  type:                git+  location:            http://github.com/thoferon/morph+  tag:                 0.1.1.3  library   hs-source-dirs:      src@@ -29,7 +27,7 @@                        Morph.Migrator                        Morph.Options -  build-depends:       base >=4.8 && <4.11+  build-depends:       base >=4.8 && <5                      , optparse-applicative                      , aeson                      , yaml
src/Morph/Config.hs view
@@ -8,6 +8,7 @@ import           Data.Maybe import qualified Data.Aeson                 as J import qualified Data.Aeson.Types           as J hiding (Options)+import qualified Data.Bifunctor             as B import qualified Data.Yaml                  as Y import qualified Data.ByteString.Lazy.Char8 as BSL import qualified Data.Text                  as T@@ -59,7 +60,7 @@             val <- J.eitherDecode contents             J.parseEither (parseJSONConfig (optsKeysPath opts)) val         | otherwise = do-            val <- Y.decodeEither $ BSL.toStrict contents+            val <- B.first show . Y.decodeEither' . BSL.toStrict $ contents             Y.parseEither (parseYAMLConfig (optsKeysPath opts)) val    case eConfig of