datadog-ci 1.38.0 → 1.38.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4a6bdfb71fe5140388ad8b1ea7a086977ba9a4a69c86fdc1b465746f287ba2ec
4
- data.tar.gz: 27615bb724035bc22617b7495cac97cac343fac08da9363fba31e7a4fc21a84e
3
+ metadata.gz: f4dd154e6dcabba4e7cdaf9a886fef6cc7c75087848e6e8fadadadfede53875c
4
+ data.tar.gz: a668428a02e681d00cd9c2b7780d5661af2ec743f6f6c0ce1f8396dec634224b
5
5
  SHA512:
6
- metadata.gz: 9ae087aef544b7775bb9784fb64a27a836e3181076229cac5c814d4263ecb02432f723d9e136350aba020d6ad67820a8658edcce62fb3dcccea5d5efff999820
7
- data.tar.gz: aca348e24dba29c5a98fe60fe7e89879257e1466bce6b179c9efd43c40e4f3f1cffb2641f1d35fd54adbd111ba0c1f957db144848702fb51b0bf567282508ace
6
+ metadata.gz: cb58faace75e6406b996c68f936d5ccbceed04ca3b651c8d747c208c127812dbeb73804e663cae19e1185238da2a2a98469a861ff54dceb7ec094c8d90ea9067
7
+ data.tar.gz: 2ab27ce6a1522e135d96ccabdb000dcb45acf7d38035790cb83daeea928b2f97c7c8ae092c638da8759d97c550a6ddb3d131e2232db120c65f58bc7c5aad001c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ## [1.38.1] - 2026-09-07
4
+
5
+ ### Fixed
6
+ * Fix: SimpleCov 1.2 compatibility for code coverage report uploads ([#606][])
7
+
3
8
  ## [1.38.0] - 2026-08-28
4
9
 
5
10
  ### Added
@@ -699,7 +704,8 @@ Currently test suite level visibility is not used by our instrumentation: it wil
699
704
 
700
705
  - Ruby versions < 2.7 no longer supported ([#8][])
701
706
 
702
- [Unreleased]: https://github.com/DataDog/datadog-ci-rb/compare/v1.38.0...main
707
+ [Unreleased]: https://github.com/DataDog/datadog-ci-rb/compare/v1.38.1...main
708
+ [1.38.1]: https://github.com/DataDog/datadog-ci-rb/compare/v1.38.0...v1.38.1
703
709
  [1.38.0]: https://github.com/DataDog/datadog-ci-rb/compare/v1.37.0...v1.38.0
704
710
  [1.37.0]: https://github.com/DataDog/datadog-ci-rb/compare/v1.36.1...v1.37.0
705
711
  [1.36.1]: https://github.com/DataDog/datadog-ci-rb/compare/v1.36.0...v1.36.1
@@ -990,4 +996,5 @@ Currently test suite level visibility is not used by our instrumentation: it wil
990
996
  [#589]: https://github.com/DataDog/datadog-ci-rb/issues/589
991
997
  [#593]: https://github.com/DataDog/datadog-ci-rb/issues/593
992
998
  [#594]: https://github.com/DataDog/datadog-ci-rb/issues/594
993
- [#595]: https://github.com/DataDog/datadog-ci-rb/issues/595
999
+ [#595]: https://github.com/DataDog/datadog-ci-rb/issues/595
1000
+ [#606]: https://github.com/DataDog/datadog-ci-rb/issues/606
@@ -6,19 +6,19 @@ module Datadog
6
6
  module CI
7
7
  module Contrib
8
8
  module Simplecov
9
- # Module that hooks into SimpleCov.process_results_and_report_error to upload coverage reports
9
+ # Module that hooks into SimpleCov.process_result to upload coverage reports
10
10
  module ReportUploader
11
11
  def self.included(base)
12
12
  base.singleton_class.prepend(ClassMethods)
13
13
  end
14
14
 
15
15
  module ClassMethods
16
- def process_results_and_report_error(*args)
17
- result = super
16
+ def process_result(*args)
17
+ exit_status = super
18
18
 
19
- upload_coverage_report
19
+ upload_coverage_report if exit_status == 0
20
20
 
21
- result
21
+ exit_status
22
22
  end
23
23
 
24
24
  private
@@ -5,7 +5,7 @@ module Datadog
5
5
  module VERSION
6
6
  MAJOR = 1
7
7
  MINOR = 38
8
- PATCH = 0
8
+ PATCH = 1
9
9
  PRE = nil
10
10
  BUILD = nil
11
11
  # PRE and BUILD above are modified for dev gems during gem build GHA workflow
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: datadog-ci
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.38.0
4
+ version: 1.38.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Datadog, Inc.