dhall-fly 0.2.1 → 0.2.2
raw patch · 4 files changed
+12/−9 lines, 4 filesdep ~dhalldep ~dhall-jsonPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: dhall, dhall-json
API changes (from Hackage documentation)
Files
- ChangeLog.md +4/−0
- dhall-fly.cabal +6/−6
- src/Fly/Internal/DhallOrphans.hs +1/−2
- src/Fly/Types.hs +1/−1
ChangeLog.md view
@@ -1,5 +1,9 @@ # Changelog for dhall-fly +## 0.2.2++* Upgrade dhall to 1.28 and dhall-json to 1.6+ ## 0.2.1 * Groups retain the order they are in list of grouped jobs
dhall-fly.cabal view
@@ -4,10 +4,10 @@ -- -- see: https://github.com/sol/hpack ----- hash: 124eab9f2a66b1fb1fe7643b0e3a4b7084264c70a29698980ec92909df051cdb+-- hash: b2ed122d2d0c3bbf57e02626a3e27ac9a0cc2145beb95e39423516100b1d656a name: dhall-fly-version: 0.2.1+version: 0.2.2 synopsis: Translate concourse config from Dhall to YAML description: Please see the README on GitHub at <https://github.com/akshaymankar/dhall-fly#readme> category: Concourse, YAML, JSON, Dhall@@ -157,7 +157,7 @@ aeson >=1.4.5.0 , aeson-casing >=0.2.0.0 , base >=4.7 && <5- , dhall >=1.27.0 && <1.28+ , dhall >=1.28.0 && <1.29 , optparse-applicative , ordered-containers >=0.2.2 , scientific >=0.3.6.2@@ -180,9 +180,9 @@ , aeson-yaml >=1.0.3.0 , base >=4.7 && <5 , bytestring >=0.10.8.2- , dhall >=1.27.0 && <1.28+ , dhall >=1.28.0 && <1.29 , dhall-fly- , dhall-json >=1.5.0 && <1.6+ , dhall-json >=1.6.0 && <1.7 , optparse-applicative , ordered-containers >=0.2.2 , scientific >=0.3.6.2@@ -208,7 +208,7 @@ aeson >=1.4.5.0 , aeson-casing >=0.2.0.0 , base >=4.7 && <5- , dhall >=1.27.0 && <1.28+ , dhall >=1.28.0 && <1.29 , dhall-fly , hspec , optparse-applicative
src/Fly/Internal/DhallOrphans.hs view
@@ -13,7 +13,7 @@ import qualified Data.Vector as V instance FromDhall Value where- autoWith _ = Dhall.Type{..} where+ autoWith _ = Dhall.Decoder{..} where expected = $(staticDhallExpression "let Prelude = ./dhall-concourse/lib/prelude.dhall in Prelude.JSON.Type") extract (Lam _ (Const Dhall.Core.Type) (Lam _ _ x)) = extractJSONFromApps x@@ -25,4 +25,3 @@ extractJSONFromApps (App (Field (Var (V _ 0)) "array") a) = Array . V.fromList <$> Dhall.extract auto a extractJSONFromApps (Field (Var (V _ 0)) "null") = pure Null extractJSONFromApps t = typeError expected t-
src/Fly/Types.hs view
@@ -243,7 +243,7 @@ deriving (Show, Generic, Eq) instance FromDhall Step where- autoWith _ = Dhall.Type{..} where+ autoWith _ = Dhall.Decoder{..} where expected = $(staticDhallExpression "./dhall-concourse/types/Step.dhall") extract (Lam _ _ --Step (Lam _ _ --Constructors