rspec-circleci-coverage 0.1.659 → 0.1.974

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: 91ab9bcc81b3771e5851a3df05984fe6d2afaf51f2352abfca882838dd908675
4
- data.tar.gz: 60268440fafc4c52434084db4f13ccb4908c2dc60e306d5eaea24abad768e561
3
+ metadata.gz: dfd7dae788c4669414abe7b368829a8fb456359c8e35f71674afcd8224693717
4
+ data.tar.gz: 5a6badc41b5bec9f0859a88c2c98678f84f75bafb2c914e69999b4854fa7efac
5
5
  SHA512:
6
- metadata.gz: f6fdb2bf8720f47eceb5e71559791425a7ad9235bb90e85f84c38e0be9817984604e2eb331343401980e92e4014e18b4d8e6fbac1095dd3021f71931b31205c7
7
- data.tar.gz: ab1a40f1ddc948b49ffb8a11e60d7f0c4d89d04804b35eb58184cc53fbe27b6e859bcbdce38afbf4ec7aa8933609a0794ddbdf0704316dbc38017e5106c64311
6
+ metadata.gz: aeef3edf47b7551d3a01c1c203756db647f0038a088d168904a1fb81207d04a0e2bd33d92690dbcf7b8a08bdc23811212fedbc9025758c7c34c10afc718d549d
7
+ data.tar.gz: 417c88fe588cc4773fe6d3764c9cda7390f69da08807e7506466eabb19be98da85504329d4fd2ab5755dd7839b878d9080c60b4bbef8ece56d1bc6498cdf3dc2
@@ -105,7 +105,9 @@ module RSpec
105
105
  end
106
106
 
107
107
  def format_test_key(example)
108
- file_path = example.metadata[:file_path]
108
+ # Examples from a shared group report the file defining the group as
109
+ # file_path; rerun_file_path is the spec file that includes it.
110
+ file_path = example.metadata[:rerun_file_path] || example.metadata[:file_path]
109
111
  # Clean path to remove ./ and other redundant components
110
112
  file_path = Pathname.new(file_path).cleanpath.to_s if file_path
111
113
  description = example.full_description
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec-circleci-coverage
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.659
4
+ version: 0.1.974
5
5
  platform: ruby
6
6
  authors:
7
7
  - CircleCI
@@ -51,7 +51,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
51
51
  - !ruby/object:Gem::Version
52
52
  version: '0'
53
53
  requirements: []
54
- rubygems_version: 4.0.20
54
+ rubygems_version: 4.0.23
55
55
  specification_version: 4
56
56
  summary: An RSpec plugin that generates coverage data for CircleCI's Smarter Testing
57
57
  test_files: []