packages feed

hs-opentelemetry-instrumentation-hspec 0.0.1.1 → 0.0.1.2

raw patch · 5 files changed

+10/−36 lines, 5 filesdep −hs-opentelemetry-instrumentation-hspecdep −hspecdep −resourcetdep ~hs-opentelemetry-apinew-uploaderPVP ok

version bump matches the API change (PVP)

Dependencies removed: hs-opentelemetry-instrumentation-hspec, hspec, resourcet, unliftio, vault

Dependency ranges changed: hs-opentelemetry-api

API changes (from Hackage documentation)

Files

ChangeLog.md view
@@ -1,7 +1,9 @@ # Changelog for hs-opentelemetry-instrumentation-hspec +## 0.0.1.2++- Support newer dependencies+ ## 0.0.1.0  - Initial release--## Unreleased changes
README.md view
@@ -7,4 +7,3 @@  See the example in [examples/hspec](../../examples/hspec) for an instrumented test suite.-
hs-opentelemetry-instrumentation-hspec.cabal view
@@ -1,17 +1,17 @@ cabal-version: 1.12 --- This file has been generated from package.yaml by hpack version 0.35.2.+-- This file has been generated from package.yaml by hpack version 0.36.0. -- -- see: https://github.com/sol/hpack  name:               hs-opentelemetry-instrumentation-hspec-version:            0.0.1.1+version:            0.0.1.2 description:        Please see the README on GitHub at <https://github.com/iand675/hs-opentelemetry/tree/main/instrumentation/hspec#readme> homepage:           https://github.com/iand675/hs-opentelemetry#readme bug-reports:        https://github.com/iand675/hs-opentelemetry/issues author:             Ian Duncan, Jade Lovelace maintainer:         ian@iankduncan.com-copyright:          2023 Ian Duncan, Mercury Technologies+copyright:          2024 Ian Duncan, Mercury Technologies license:            BSD3 license-file:       LICENSE build-type:         Simple@@ -32,33 +32,8 @@       src   build-depends:       base >=4.7 && <5-    , hs-opentelemetry-api >=0.0.3 && <0.2-    , hspec >=2.9.4+    , hs-opentelemetry-api ==0.2.*     , hspec-core >=2.9.4     , mtl-    , resourcet     , text-    , unliftio-    , vault-  default-language: Haskell2010--test-suite hs-opentelemetry-hspec-test-  type: exitcode-stdio-1.0-  main-is: Spec.hs-  other-modules:-      Paths_hs_opentelemetry_instrumentation_hspec-  hs-source-dirs:-      test-  ghc-options: -threaded -rtsopts -with-rtsopts=-N-  build-depends:-      base >=4.7 && <5-    , hs-opentelemetry-api >=0.0.3 && <0.2-    , hs-opentelemetry-instrumentation-hspec-    , hspec >=2.9.4-    , hspec-core >=2.9.4-    , mtl-    , resourcet-    , text-    , unliftio-    , vault   default-language: Haskell2010
src/OpenTelemetry/Instrumentation/Hspec.hs view
@@ -1,4 +1,5 @@ {-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE TemplateHaskell #-}  -- | Instrumentation for Hspec test suites module OpenTelemetry.Instrumentation.Hspec (@@ -31,7 +32,7 @@ wrapSpec :: (MonadIO m) => m (SpecWith a -> SpecWith a) wrapSpec = do   tp <- getGlobalTracerProvider-  let tracer = makeTracer tp "hs-opentelemetry-instrumentation-hspec" tracerOptions+  let tracer = makeTracer tp $detectInstrumentationLibrary tracerOptions   context <- getContext    -- FIXME: this kind of just dumps everything flat into one span per `it`. We
− test/Spec.hs
@@ -1,3 +0,0 @@--main :: IO ()-main = putStrLn "Test suite not yet implemented"