simplecov-rspec 0.4.0 → 0.4.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 +4 -4
- data/.release-please-manifest.json +3 -0
- data/CHANGELOG.md +7 -0
- data/README.md +4 -6
- data/Rakefile +7 -0
- data/lib/simplecov-rspec/version.rb +1 -1
- data/lib/simplecov-rspec.rb +15 -15
- data/release-please-config.json +22 -0
- metadata +7 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 87a2ca379dd6c7b82d24adfcade3be186112c3a99bf3fdbc6287242d81f94d97
|
4
|
+
data.tar.gz: 5cfb879e90d193616d037bab89703064ff96e81bf904b6245fda30fc11a90b08
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eb709f134eec4e8517e3d0e8b013e3f54983e145552f5b34ef226d2015e286aa255f1d4da56756d78a246ba3c538a448ad1c69eaedaa57957ff82610237ccefe
|
7
|
+
data.tar.gz: 94ba9238a621933d1e8abb3c303502627043cc49854b564f59396b53793d1a4ed6a62654d5ec5d4c1964c89c412034831c9a3593c3ae3b743d8f8ae469964047
|
data/CHANGELOG.md
CHANGED
@@ -4,6 +4,13 @@ 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.1](https://github.com/main-branch/simplecov-rspec/compare/v0.4.0...v0.4.1) (2025-04-16)
|
8
|
+
|
9
|
+
|
10
|
+
### Bug Fixes
|
11
|
+
|
12
|
+
* Automate commit-to-publish workflow ([9594c8e](https://github.com/main-branch/simplecov-rspec/commit/9594c8e1c838e33abc16f844fd0ab4c445c94965))
|
13
|
+
|
7
14
|
## v0.4.0 (2024-10-10)
|
8
15
|
|
9
16
|
[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
|
[](https://rubydoc.info/gems/simplecov-rspec/)
|
5
5
|
[](https://rubydoc.info/gems/simplecov-rspec/file/CHANGELOG.md)
|
6
6
|
[](https://github.com/main-branch/simplecov-rspec/actions/workflows/continuous_integration.yml)
|
7
|
-
[](https://codeclimate.com/github/main-branch/simplecov-rspec/maintainability)
|
8
|
-
[](https://codeclimate.com/github/main-branch/simplecov-rspec/test_coverage)
|
9
7
|
[](https://conventionalcommits.org)
|
11
9
|
[](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
|
-
|
38
|
-
|
35
|
+
* [Basic setup](#basic-setup)
|
36
|
+
* [Configuration from environment variables](#configuration-from-environment-variables)
|
39
37
|
* [Development](#development)
|
40
38
|
* [Contributing](#contributing)
|
41
|
-
|
42
|
-
|
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
|
|
data/lib/simplecov-rspec.rb
CHANGED
@@ -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.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Couball
|
8
|
-
autorequire:
|
9
8
|
bindir: exe
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
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.
|
233
|
-
changelog_uri: https://rubydoc.info/gems/simplecov-rspec/0.4.
|
233
|
+
documentation_uri: https://rubydoc.info/gems/simplecov-rspec/0.4.1
|
234
|
+
changelog_uri: https://rubydoc.info/gems/simplecov-rspec/0.4.1/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.
|
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
|