simplecov-rspec 0.4.0 → 0.4.2

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: f6700c02ee99fdfde4191bd23c07fe67cc573a53f088741a2c49d3d34c0a0633
4
- data.tar.gz: c9a373acb23929feb2c5688e10c584ecd1c37780a6f20db90c18df6940d6b256
3
+ metadata.gz: d3859bae4a7ca3615a70b85ecb7fbe6693ef9acd48bd70458a7487b4d58d8815
4
+ data.tar.gz: 6122ddfd08b1566bc2b27f4e46cdc5d64714d796a2c46c26b41ed4cc192cc85a
5
5
  SHA512:
6
- metadata.gz: 6ccc7d29d68e55668534b2e2cba528c38244beaceb7e24f386a0401e9cd0d008f2a23361b79ec94b786b3fdefb84ef37d1e1a0c36e0f97a0e19fbbd0ce2af261
7
- data.tar.gz: cf6c195cff9a812671d3e651f8c7dba561a4e76ade2a0313c166e1ee71362fe3df102c6759a705a70c7dca11b7cefdcf74297a9f78d11f280def0d0c83b2cf44
6
+ metadata.gz: ebdb3f63ed023bce8ce812f8055fa099b00eb28fc811ce3c988060de0a3a82f290381cac064d271f603b50409337de8803895e91be6eff4a8290c23af02a7c9f
7
+ data.tar.gz: 82cd1ac5aa92c65c0c1418a853cd6c622d63b8e68e367dfce68c9e5a4efae26139d6b7f0770bb3da63dcc7b97d0830cf04e96ffbb66099f329725929949236a4
@@ -0,0 +1,3 @@
1
+ {
2
+ ".": "0.4.2"
3
+ }
data/CHANGELOG.md CHANGED
@@ -4,6 +4,20 @@ Changes for each release are listed in this file.
4
4
 
5
5
  This project adheres to [Semantic Versioning](https://semver.org/) for its releases.
6
6
 
7
+ ## [0.4.2](https://github.com/main-branch/simplecov-rspec/compare/v0.4.1...v0.4.2) (2025-04-17)
8
+
9
+
10
+ ### Bug Fixes
11
+
12
+ * Do not trigger build workflows after merging to main or for release PRs ([6ff9a4c](https://github.com/main-branch/simplecov-rspec/commit/6ff9a4ca3cff10079f04e2dab4c6191e27dfa860))
13
+
14
+ ## [0.4.1](https://github.com/main-branch/simplecov-rspec/compare/v0.4.0...v0.4.1) (2025-04-16)
15
+
16
+
17
+ ### Bug Fixes
18
+
19
+ * Automate commit-to-publish workflow ([9594c8e](https://github.com/main-branch/simplecov-rspec/commit/9594c8e1c838e33abc16f844fd0ab4c445c94965))
20
+
7
21
  ## v0.4.0 (2024-10-10)
8
22
 
9
23
  [Full Changelog](https://github.com/main-branch/simplecov-rspec/compare/v0.3.2..v0.4.0)
data/README.md CHANGED
@@ -4,8 +4,6 @@
4
4
  [![Documentation](https://img.shields.io/badge/Documentation-Latest-green)](https://rubydoc.info/gems/simplecov-rspec/)
5
5
  [![Change Log](https://img.shields.io/badge/CHANGELOG-Latest-green)](https://rubydoc.info/gems/simplecov-rspec/file/CHANGELOG.md)
6
6
  [![Build Status](https://github.com/main-branch/simplecov-rspec/actions/workflows/continuous_integration.yml/badge.svg)](https://github.com/main-branch/simplecov-rspec/actions/workflows/continuous_integration.yml)
7
- [![Maintainability](https://api.codeclimate.com/v1/badges/9a58b51d18910db724c7/maintainability)](https://codeclimate.com/github/main-branch/simplecov-rspec/maintainability)
8
- [![Test Coverage](https://api.codeclimate.com/v1/badges/9a58b51d18910db724c7/test_coverage)](https://codeclimate.com/github/main-branch/simplecov-rspec/test_coverage)
9
7
  [![Conventional
10
8
  Commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-%23FE5196?logo=conventionalcommits&logoColor=white)](https://conventionalcommits.org)
11
9
  [![Slack](https://img.shields.io/badge/slack-main--branch/simplecov--rspec-yellow.svg?logo=slack)](https://main-branch.slack.com/archives/C07MCM9J72B)
@@ -34,12 +32,12 @@ If configured to list the lines that were not covered by tests, RSpec will addit
34
32
 
35
33
  * [Installation](#installation)
36
34
  * [Getting started](#getting-started)
37
- * [Basic setup](#basic-setup)
38
- * [Configuration from environment variables](#configuration-from-environment-variables)
35
+ * [Basic setup](#basic-setup)
36
+ * [Configuration from environment variables](#configuration-from-environment-variables)
39
37
  * [Development](#development)
40
38
  * [Contributing](#contributing)
41
- * [Commit message guidelines](#commit-message-guidelines)
42
- * [Pull request guidelines](#pull-request-guidelines)
39
+ * [Commit message guidelines](#commit-message-guidelines)
40
+ * [Pull request guidelines](#pull-request-guidelines)
43
41
  * [License](#license)
44
42
  * [Code of conduct](#code-of-conduct)
45
43
 
data/Rakefile CHANGED
@@ -25,6 +25,13 @@ rescue Bundler::BundlerError => e
25
25
  exit e.status_code
26
26
  end
27
27
 
28
+ # Make it so that calling `rake release` just calls `rake release:rubygems_push` to
29
+ # avoid creating and pushing a new tag.
30
+
31
+ Rake::Task['release'].clear
32
+ desc 'Customized release task to avoid creating a new tag'
33
+ task release: 'release:rubygem_push'
34
+
28
35
  CLEAN << 'pkg'
29
36
  CLOBBER << 'Gemfile.lock'
30
37
 
@@ -3,6 +3,6 @@
3
3
  module Simplecov
4
4
  class Rspec
5
5
  # This gem's version
6
- VERSION = '0.4.0'
6
+ VERSION = '0.4.2'
7
7
  end
8
8
  end
@@ -231,6 +231,21 @@ module SimpleCov
231
231
  #
232
232
  def rspec_dry_run? = @rspec_dry_run
233
233
 
234
+ # An uncovered line
235
+ #
236
+ # @!attribute project_filename [rw]
237
+ # The path to the file with uncovered lines relative to the project root
238
+ # @return [String]
239
+ # @api private
240
+ #
241
+ # @!attribute line_number [rw]
242
+ # The line number of the uncovered line
243
+ # @return [Integer]
244
+ # @api private
245
+ #
246
+ # @api private
247
+ UncoveredLine = Struct.new(:project_filename, :line_number)
248
+
234
249
  private
235
250
 
236
251
  # rubocop:disable Metrics/ParameterLists
@@ -323,21 +338,6 @@ module SimpleCov
323
338
  # @private
324
339
  def show_uncovered_lines_report? = list_uncovered_lines? && uncovered_lines_found?
325
340
 
326
- # An uncovered line
327
- #
328
- # @!attribute project_filename [rw]
329
- # The path to the file with uncovered lines relative to the project root
330
- # @return [String]
331
- # @api private
332
- #
333
- # @!attribute line_number [rw]
334
- # The line number of the uncovered line
335
- # @return [Integer]
336
- # @api private
337
- #
338
- # @api private
339
- UncoveredLine = Struct.new(:project_filename, :line_number)
340
-
341
341
  # Return the uncovered lines from the SimpleCov result
342
342
  # @return [Array<UncoveredLine>]
343
343
  # @api private
@@ -0,0 +1,22 @@
1
+ {
2
+ "bootstrap-sha": "1024da0c250fa409d5f5f99d2f1dfd27bd1a1aab",
3
+ "packages": {
4
+ ".": {
5
+ "release-type": "ruby",
6
+ "package-name": "simplecov-rspec",
7
+ "changelog-path": "CHANGELOG.md",
8
+ "version-file": "lib/simplecov-rspec/version.rb",
9
+ "bump-minor-pre-major": true,
10
+ "bump-patch-for-minor-pre-major": true,
11
+ "draft": false,
12
+ "prerelease": false,
13
+ "include-component-in-tag": false
14
+ }
15
+ },
16
+ "plugins": [
17
+ {
18
+ "type": "sentence-case"
19
+ }
20
+ ],
21
+ "$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json"
22
+ }
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simplecov-rspec
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Couball
8
- autorequire:
9
8
  bindir: exe
10
9
  cert_chain: []
11
- date: 2024-10-10 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: simplecov
@@ -211,6 +210,7 @@ files:
211
210
  - ".commitlintrc.yml"
212
211
  - ".husky/commit-msg"
213
212
  - ".markdownlint.yml"
213
+ - ".release-please-manifest.json"
214
214
  - ".rspec"
215
215
  - ".rubocop.yml"
216
216
  - ".yardopts"
@@ -222,6 +222,7 @@ files:
222
222
  - lib/simplecov-rspec.rb
223
223
  - lib/simplecov-rspec/version.rb
224
224
  - package.json
225
+ - release-please-config.json
225
226
  homepage: https://github.com/main-branch/simplecov-rspec
226
227
  licenses:
227
228
  - MIT
@@ -229,10 +230,9 @@ metadata:
229
230
  allowed_push_host: https://rubygems.org
230
231
  homepage_uri: https://github.com/main-branch/simplecov-rspec
231
232
  source_code_uri: https://github.com/main-branch/simplecov-rspec
232
- documentation_uri: https://rubydoc.info/gems/simplecov-rspec/0.4.0
233
- changelog_uri: https://rubydoc.info/gems/simplecov-rspec/0.4.0/file/CHANGELOG.md
233
+ documentation_uri: https://rubydoc.info/gems/simplecov-rspec/0.4.2
234
+ changelog_uri: https://rubydoc.info/gems/simplecov-rspec/0.4.2/file/CHANGELOG.md
234
235
  rubygems_mfa_required: 'true'
235
- post_install_message:
236
236
  rdoc_options: []
237
237
  require_paths:
238
238
  - lib
@@ -249,8 +249,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
249
249
  requirements:
250
250
  - 'Platform: Mac, Linux, or Windows'
251
251
  - 'Ruby: MRI 3.1 or later, TruffleRuby 24 or later, or JRuby 9.4 or later'
252
- rubygems_version: 3.5.16
253
- signing_key:
252
+ rubygems_version: 3.6.7
254
253
  specification_version: 4
255
254
  summary: Configure SimpleCov to fail RSpec if the test coverage falls below a given
256
255
  threshold