rspec_trunk_flaky_tests 0.7.9-x86_64-linux → 0.7.10.pre.alpha.1-x86_64-linux

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: 581b79f29bd57b9ffb1eeafc595c66ccf93b31b0e1a6666f0df1192666abcab1
4
- data.tar.gz: 479ea8e37722aea6e0bb4188a951db57eec7257ba26b6c4eed950a9d285742aa
3
+ metadata.gz: 19f58fd39cda6223e9b7d4ec15791a0efc60a77f3033d3c3137f6f4d4d8a9bcb
4
+ data.tar.gz: fae77d4076e3cb294e9965226d9a85ba1ba533c441c6b3fae70b280ba20a891c
5
5
  SHA512:
6
- metadata.gz: 53b4a8f6c2f9b4f27820bdde069cf30f38fd3d92425463689cbe1bde90bd09050cfeeeb4d6d2c3a23ceacea7306e4b6fc87588300b71d01853eff2d98dd8c91c
7
- data.tar.gz: d56344025337636fb0714d420b9ef7226bf2e2b413501ac7a54ed37cfbfa6000716bb3c3e175644eac4a49f85e9bd2ccd5670aad476db89bb14934c119f60c6a
6
+ metadata.gz: 0ce69a7c162fe93a7893116bf97ee971060105b4db50678b326989418ec18019b028c0ca02210c41f3c2b04052facf28a1f28de56e2c095cb528d1ba02482f9a
7
+ data.tar.gz: d0c3c636446c125c575ff4bf79b53cd0ce407b2d9c0f6d3f73ac7722ad5606b74dd991bdb8a0688b6c2f9d81cbfc54ce25365009a5e71e28ac5e8a9dd8061d8d
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -139,11 +139,17 @@ class TrunkAnalyticsListener
139
139
  add_test_case(notification.example)
140
140
  end
141
141
 
142
+ # trunk-ignore(rubocop/Metrics/CyclomaticComplexity,rubocop/Metrics/AbcSize)
142
143
  def close(_notification)
143
- if @testreport.publish
144
+ published = @testreport.publish
145
+ if published && !ENV['TRUNK_LOCAL_UPLOAD_DIR']
144
146
  puts 'Flaky tests report upload complete'.green
145
- else
147
+ elsif !published && !ENV['TRUNK_LOCAL_UPLOAD_DIR']
146
148
  puts 'Failed to publish flaky tests report'.red
149
+ elsif published && ENV['TRUNK_LOCAL_UPLOAD_DIR']
150
+ puts 'Local Flaky tests report generated'.green
151
+ elsif !published && ENV['TRUNK_LOCAL_UPLOAD_DIR']
152
+ puts 'Failed to generate local flaky tests report'.red
147
153
  end
148
154
  end
149
155
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec_trunk_flaky_tests
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.9
4
+ version: 0.7.10.pre.alpha.1
5
5
  platform: x86_64-linux
6
6
  authors:
7
7
  - Trunk Technologies, Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-04-22 00:00:00.000000000 Z
11
+ date: 2025-05-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec-core