sandwich-slack 0.1.1.0 → 0.1.2.0
raw patch · 8 files changed
+49/−25 lines, 8 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- CHANGELOG.md +4/−0
- LICENSE +1/−1
- sandwich-slack.cabal +37/−4
- src/Test/Sandwich/Formatters/Slack.hs +0/−7
- src/Test/Sandwich/Formatters/Slack/Internal/Core.hs +7/−3
- src/Test/Sandwich/Formatters/Slack/Internal/Markdown.hs +0/−4
- src/Test/Sandwich/Formatters/Slack/Internal/ProgressBar.hs +0/−4
- src/Test/Sandwich/Formatters/Slack/Internal/Types.hs +0/−2
CHANGELOG.md view
@@ -2,6 +2,10 @@ ## Unreleased changes +## 0.1.2.0++* GHC 9.6 support+ ## 0.1.1.0 * Windows support.
LICENSE view
@@ -1,4 +1,4 @@-Copyright Tom McLaughlin (c) 2022+Copyright Tom McLaughlin (c) 2023 All rights reserved.
sandwich-slack.cabal view
@@ -1,13 +1,13 @@ cabal-version: 1.12 --- This file has been generated from package.yaml by hpack version 0.34.4.+-- This file has been generated from package.yaml by hpack version 0.35.2. -- -- see: https://github.com/sol/hpack ----- hash: 422cdfb1fbcf3689b33a4017ebe648ea8705988b81842a18176a442681037e9d+-- hash: 6138f55d728f79ee3b7afe065d16ee37a3b075445596cb82a236df8f0e23bf47 name: sandwich-slack-version: 0.1.1.0+version: 0.1.2.0 synopsis: Sandwich integration with Slack description: Please see the <https://codedownio.github.io/sandwich/docs/extensions/sandwich-slack documentation>. category: Testing@@ -15,7 +15,7 @@ bug-reports: https://github.com/codedownio/sandwich/issues author: Tom McLaughlin maintainer: tom@codedown.io-copyright: 2022 Tom McLaughlin+copyright: 2023 Tom McLaughlin license: BSD3 license-file: LICENSE build-type: Simple@@ -38,6 +38,17 @@ Paths_sandwich_slack hs-source-dirs: src+ default-extensions:+ FlexibleContexts+ FlexibleInstances+ LambdaCase+ MultiWayIf+ NamedFieldPuns+ OverloadedStrings+ QuasiQuotes+ RecordWildCards+ ScopedTypeVariables+ ViewPatterns ghc-options: -W build-depends: aeson@@ -65,6 +76,17 @@ Paths_sandwich_slack hs-source-dirs: app+ default-extensions:+ FlexibleContexts+ FlexibleInstances+ LambdaCase+ MultiWayIf+ NamedFieldPuns+ OverloadedStrings+ QuasiQuotes+ RecordWildCards+ ScopedTypeVariables+ ViewPatterns ghc-options: -threaded -rtsopts -with-rtsopts=-N build-depends: aeson@@ -94,6 +116,17 @@ Paths_sandwich_slack hs-source-dirs: test+ default-extensions:+ FlexibleContexts+ FlexibleInstances+ LambdaCase+ MultiWayIf+ NamedFieldPuns+ OverloadedStrings+ QuasiQuotes+ RecordWildCards+ ScopedTypeVariables+ ViewPatterns ghc-options: -threaded -rtsopts -with-rtsopts=-N build-depends: aeson
src/Test/Sandwich/Formatters/Slack.hs view
@@ -1,11 +1,4 @@-{-# LANGUAGE LambdaCase #-}-{-# LANGUAGE MultiWayIf #-}-{-# LANGUAGE QuasiQuotes #-} {-# LANGUAGE OverloadedLists #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE ViewPatterns #-}-{-# LANGUAGE FlexibleContexts #-} -- | The Slack formatter shows live-updating test progress and failures by sending messages to a Slack channel. --
src/Test/Sandwich/Formatters/Slack/Internal/Core.hs view
@@ -1,6 +1,4 @@-{-# LANGUAGE FlexibleContexts #-}-{-# LANGUAGE LambdaCase #-}-{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE CPP #-} module Test.Sandwich.Formatters.Slack.Internal.Core where @@ -15,6 +13,12 @@ import qualified Data.Vector as V import qualified Network.Wreq as W import Test.Sandwich.Formatters.Slack.Internal.Types++#if MIN_VERSION_mtl(2,3,0)+import Control.Monad+import Control.Monad.IO.Class+#endif+ postMessage :: (MonadError T.Text m, MonadIO m) => SlackConfig -> ChannelName -> T.Text -> [A.Value] -> Maybe [A.Value] -> m Value postMessage conf cid msg as maybeBlocks =
src/Test/Sandwich/Formatters/Slack/Internal/Markdown.hs view
@@ -1,7 +1,3 @@-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE QuasiQuotes #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE ViewPatterns #-} {-# LANGUAGE CPP #-} module Test.Sandwich.Formatters.Slack.Internal.Markdown where
src/Test/Sandwich/Formatters/Slack/Internal/ProgressBar.hs view
@@ -1,7 +1,3 @@-{-# LANGUAGE LambdaCase #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE QuasiQuotes #-}-{-# LANGUAGE RecordWildCards #-} module Test.Sandwich.Formatters.Slack.Internal.ProgressBar where
src/Test/Sandwich/Formatters/Slack/Internal/Types.hs view
@@ -1,5 +1,3 @@-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-} module Test.Sandwich.Formatters.Slack.Internal.Types where