rspec-mergify 0.0.4 → 0.0.5

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: 6620dc68c37035d9a03d498baaa8d190df7d27ab7d31fdab36b08ae7b937b382
4
- data.tar.gz: c67c51eec28faf72ad4840571107b251bb6eff923e96274be2c3345fdd672d1d
3
+ metadata.gz: 35ec8faffe9634381a055b5c1ddf2af4013beb7ba471960d4bee74092ef001e2
4
+ data.tar.gz: 889c157a6fafedb35f55b439ce20d486c4362a299cd8b39c2297b9c4d9c4164d
5
5
  SHA512:
6
- metadata.gz: 485019cda8980abe528dcc4833eec21c662f209e2c7b7ae966ecc32ce284b06eb25e3c919496329d94eea8f70e1b7dc889a770e42e4cec40f6db3d9cd1763882
7
- data.tar.gz: 9552f28c2d015ce6aa70f81cb50c021037c971619a3cafa19269654f997afb30540293426d18d3bcc8236e945aeaea2bc49d86ba43c57c71dff26e048112f260
6
+ metadata.gz: a55e1c6cf12c3bc602d087f6cb201d580af2c8f08c8c315999d07be5757313e5b687052d4afe05fd5da611e6984291f04e4f38cb31729297ebf410fecd997127
7
+ data.tar.gz: db519180deccb74eab7ad930a84ad65c69e0034b730a25c3a515e39dbd07f1203b929237f56fecca6de7c37c23fd8ff7cec98808c057ccf76d0b2155150884b9
@@ -75,7 +75,13 @@ module Mergify
75
75
  end
76
76
 
77
77
  example.run
78
- distinct_outcomes.add(example.execution_result.status)
78
+
79
+ # Feed rerun metrics so budget/deadline tracking stays accurate
80
+ rerun_time = example.execution_result.run_time || 0.0
81
+ rerun_status = example.execution_result.status
82
+ fd.fill_metrics_from_report(example.id, 'call', rerun_time, rerun_status)
83
+
84
+ distinct_outcomes.add(rerun_status)
79
85
  rerun_count += 1
80
86
  end
81
87
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec-mergify
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mergify