kettle-soup-cover 1.0.2 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/CHANGELOG.md +15 -1
- data/CONTRIBUTING.md +30 -12
- data/LICENSE.txt +1 -1
- data/README.md +16 -4
- data/lib/kettle/soup/cover/version.rb +1 -1
- data/lib/kettle/soup/cover.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +29 -15
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 383cc69e3628e758727895476cf1074d7433ea2711233a9314804196e05a9f07
|
4
|
+
data.tar.gz: 4f78f6c776da4a4795e03cc92e0a0291c53ef65713ec9c0087bcafdcd0a63c19
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b712007a803e95485b9f110e90fdf06ba153b6a80ff0b71fe6796949a483ad81a09466cc456286d19c2b024af2dcf93206a778a800a5d82ce25eca172af66fea
|
7
|
+
data.tar.gz: d437e0c53a85e1b36bc95769d45a1aa59f76484d8036644ca3a817422a826ef62fcec0ec421501e90b72a28932b110e99fddc560643b6eb276a27c396ff41d85
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/CHANGELOG.md
CHANGED
@@ -11,6 +11,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
11
11
|
### Fixed
|
12
12
|
### Removed
|
13
13
|
|
14
|
+
## [1.0.4] - 2024-06-11
|
15
|
+
### Added
|
16
|
+
- Documentation
|
17
|
+
### Changed
|
18
|
+
- `version_gem` requirement to 1.0.4
|
19
|
+
|
20
|
+
## [1.0.3] - 2024-05-23
|
21
|
+
### Added
|
22
|
+
- Documentation
|
23
|
+
- Mirror repo on GitHub: https://github.com/kettle-rb/kettle-soup-cover
|
24
|
+
- More tests
|
25
|
+
### Fixed
|
26
|
+
- Incorrect URLs for homepage, etc
|
27
|
+
|
14
28
|
## [1.0.2] - 2023-10-19
|
15
29
|
### Fixed
|
16
30
|
- Include new `coverage` rake task in the built gem
|
@@ -43,7 +57,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
43
57
|
- More and better documentation
|
44
58
|
### Changed
|
45
59
|
- This gem no longer does `require "simplecov"`
|
46
|
-
- Instead you can `require "simplecov" if Kettle::Soup::Cover::
|
60
|
+
- Instead you can `require "simplecov" if Kettle::Soup::Cover::DO_COV` wherever you deem fit
|
47
61
|
### Fixed
|
48
62
|
- All ENV vars now begin with a uniform prefix for this gem:
|
49
63
|
- `K_SOUP_COV_*`
|
data/CONTRIBUTING.md
CHANGED
@@ -4,8 +4,10 @@ Bug reports and pull requests are welcome on GitLab at [https://gitlab.com/kettl
|
|
4
4
|
. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to
|
5
5
|
the [code of conduct][🤝conduct].
|
6
6
|
|
7
|
-
|
8
|
-
and
|
7
|
+
Everyone interacting in this project's codebases, issue trackers, chat
|
8
|
+
rooms and mailing lists is expected to follow the [code of conduct][🤝conduct].
|
9
|
+
|
10
|
+
To submit a patch, please fork the project and create a patch with tests. Once you're happy with it send a pull request.
|
9
11
|
|
10
12
|
## Release
|
11
13
|
|
@@ -15,11 +17,20 @@ To release a new version:
|
|
15
17
|
2. Update the version number in `version.rb`
|
16
18
|
3. Run `bin/setup && bin/rake` again as a secondary check, and to update `Gemfile.lock`
|
17
19
|
4. Run `git commit -am "🔖 Prepare release v<VERSION>"` to commit the changes
|
20
|
+
5. Run `git push` to trigger the final CI pipeline before release, & merge PRs
|
18
21
|
a. NOTE: Remember to [check the build][🧪build]!
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
22
|
+
6. Run `git checkout main`
|
23
|
+
7. Run `git pull origin main` to ensure you will release the latest trunk code.
|
24
|
+
8. Set `SOURCE_DATE_EPOCH` so `rake build` and `rake release` use same timestamp, and generate same checksums
|
25
|
+
a. Run `export SOURCE_DATE_EPOCH=$EPOCHSECONDS && echo $SOURCE_DATE_EPOCH`
|
26
|
+
b. If the echo above has no output, then it didn't work.
|
27
|
+
c. Note that you'll need the `zsh/datetime` module, if running `zsh`.
|
28
|
+
d. In `bash` you can use `date +%s` instead, i.e. `export SOURCE_DATE_EPOCH=$(date +%s) && echo $SOURCE_DATE_EPOCH`
|
29
|
+
9. Run `bundle exec rake build`
|
30
|
+
10. Run [`bin/checksums`][🔒️rubygems-checksums-pr] to create SHA-256 and SHA-512 checksums
|
31
|
+
a. Checksums will be committed automatically by the script, but not pushed
|
32
|
+
11. Run `bundle exec rake release` which will create a git tag for the version,
|
33
|
+
push git commits and tags, and push the `.gem` file to [rubygems.org][💎rubygems]
|
23
34
|
|
24
35
|
NOTE: You will need to have a public key in `certs/`, and list your cert in the
|
25
36
|
`gemspec`, in order to sign the new release.
|
@@ -27,12 +38,19 @@ See: [RubyGems Security Guide][🔒️rubygems-security-guide]
|
|
27
38
|
|
28
39
|
## Contributors
|
29
40
|
|
30
|
-
|
41
|
+
[![Contributors on GitHub][🖐contributors-img]][🖐contributors-gh]
|
42
|
+
|
43
|
+
Made with [contributors-img][🖐contrib-rocks].
|
31
44
|
|
45
|
+
For contributors on GitLab see: [https://gitlab.com/kettle-rb/kettle-soup-cover/-/graphs/main][🖐contributors-gl]
|
46
|
+
|
47
|
+
[🧪build]: https://github.com/kettle-rb/kettle-soup-cover/actions
|
32
48
|
[🤝conduct]: https://gitlab.com/kettle-rb/kettle-soup-cover/-/blob/main/CODE_OF_CONDUCT.md
|
33
|
-
[
|
34
|
-
[🖐contributors]: https://
|
35
|
-
[
|
36
|
-
[
|
37
|
-
[🔒️rubygems-security-guide]: https://guides.rubygems.org/security/#building-gems
|
49
|
+
[🖐contrib-rocks]: https://contrib.rocks
|
50
|
+
[🖐contributors-gh]: https://github.com/kettle-rb/kettle-soup-cover/graphs/contributors
|
51
|
+
[🖐contributors-img]: https://contrib.rocks/image?repo=kettle-rb/kettle-soup-cover
|
52
|
+
[🖐contributors-gl]: https://gitlab.com/kettle-rb/kettle-soup-cover/-/graphs/main
|
38
53
|
[💎rubygems]: https://rubygems.org
|
54
|
+
[🔒️rubygems-security-guide]: https://guides.rubygems.org/security/#building-gems
|
55
|
+
[🔒️rubygems-checksums-pr]: https://github.com/rubygems/guides/pull/325
|
56
|
+
[🚎src-main]: https://gitlab.com/kettle-rb/kettle-soup-cover/-/tree/main
|
data/LICENSE.txt
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
The MIT License (MIT)
|
2
2
|
|
3
|
-
Copyright (c) 2023 Peter Boling
|
3
|
+
Copyright (c) 2023 - 2024 Peter Boling (railsbling.com)
|
4
4
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
data/README.md
CHANGED
@@ -11,7 +11,19 @@ A Covered Kettle of SOUP (Software of Unknown Provenance)
|
|
11
11
|
The name is derived in part from the medical devices field,
|
12
12
|
where this library is considered a package of [SOUP](https://en.wikipedia.org/wiki/Software_of_unknown_pedigree).
|
13
13
|
|
14
|
-
|
14
|
+
Just add four lines of code to get a configured, curated, opinionated, set of dependencies for Test Coverage.
|
15
|
+
|
16
|
+
One of the major benefits of using this library is not having to figure
|
17
|
+
out how to get multiple coverage output formats working. I did that for you,
|
18
|
+
and I got all of them working, at the same time together, or al la carte. Kum-ba-ya.
|
19
|
+
|
20
|
+
A quick shot of raw coverage power, straight to your brain:
|
21
|
+
|
22
|
+
```shell
|
23
|
+
export K_SOUP_COV_MULTI_FORMATTERS="html,xml,rcov,lcov,json,tty"
|
24
|
+
```
|
25
|
+
|
26
|
+
I hope I've piqued your interest.
|
15
27
|
|
16
28
|
## Support My Open Source Development
|
17
29
|
|
@@ -69,7 +81,7 @@ In your `spec/spec_helper.rb`, just prior to loading the library under test:
|
|
69
81
|
require "kettle-soup-cover"
|
70
82
|
|
71
83
|
# Later in your spec setup, do this;
|
72
|
-
require "simplecov" if Kettle::Soup::Cover::
|
84
|
+
require "simplecov" if Kettle::Soup::Cover::DO_COV
|
73
85
|
```
|
74
86
|
|
75
87
|
In your `.simplecov` file:
|
@@ -136,8 +148,8 @@ K_SOUP_COV_DO
|
|
136
148
|
K_SOUP_COV_FILTER_DIRS
|
137
149
|
K_SOUP_COV_FORMATTERS
|
138
150
|
K_SOUP_COV_MERGE_TIMEOUT
|
139
|
-
K_SOUP_COV_MIN_HARD
|
140
151
|
K_SOUP_COV_MIN_BRANCH
|
152
|
+
K_SOUP_COV_MIN_HARD
|
141
153
|
K_SOUP_COV_MIN_LINE
|
142
154
|
K_SOUP_COV_MULTI_FORMATTERS
|
143
155
|
K_SOUP_COV_PREFIX
|
@@ -187,7 +199,7 @@ The gem is available as open source under the terms of
|
|
187
199
|
the [MIT License][license] [![License: MIT][license-img]][license-ref].
|
188
200
|
See [LICENSE][license] for the official [Copyright Notice][copyright-notice-explainer].
|
189
201
|
|
190
|
-
* Copyright (c) 2023 [Peter H. Boling][peterboling] of [Rails Bling][railsbling]
|
202
|
+
* Copyright (c) 2023 - 2024 [Peter H. Boling][peterboling] of [Rails Bling][railsbling]
|
191
203
|
|
192
204
|
[copyright-notice-explainer]: https://opensource.stackexchange.com/questions/5778/why-do-licenses-such-as-the-mit-license-specify-a-single-year
|
193
205
|
[license]: https://gitlab.com/kettle-rb/kettle-soup-cover/-/blob/main/LICENSE.txt
|
data/lib/kettle/soup/cover.rb
CHANGED
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kettle-soup-cover
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Peter Boling
|
@@ -36,7 +36,7 @@ cert_chain:
|
|
36
36
|
KuxrfYrN+9HvMdm+nZ6TypmKftHY3Gj+/uu+g8Icm/zrvTWAEE0mcJOkfrIoNPJb
|
37
37
|
pF8dMA==
|
38
38
|
-----END CERTIFICATE-----
|
39
|
-
date:
|
39
|
+
date: 2024-07-11 00:00:00.000000000 Z
|
40
40
|
dependencies:
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: version_gem
|
@@ -47,7 +47,7 @@ dependencies:
|
|
47
47
|
version: '1.1'
|
48
48
|
- - ">="
|
49
49
|
- !ruby/object:Gem::Version
|
50
|
-
version: 1.1.
|
50
|
+
version: 1.1.4
|
51
51
|
type: :runtime
|
52
52
|
prerelease: false
|
53
53
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -57,7 +57,7 @@ dependencies:
|
|
57
57
|
version: '1.1'
|
58
58
|
- - ">="
|
59
59
|
- !ruby/object:Gem::Version
|
60
|
-
version: 1.1.
|
60
|
+
version: 1.1.4
|
61
61
|
- !ruby/object:Gem::Dependency
|
62
62
|
name: rake
|
63
63
|
requirement: !ruby/object:Gem::Requirement
|
@@ -211,7 +211,7 @@ dependencies:
|
|
211
211
|
version: '0.9'
|
212
212
|
- - ">="
|
213
213
|
- !ruby/object:Gem::Version
|
214
|
-
version: 0.9.
|
214
|
+
version: 0.9.36
|
215
215
|
type: :development
|
216
216
|
prerelease: false
|
217
217
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -221,7 +221,7 @@ dependencies:
|
|
221
221
|
version: '0.9'
|
222
222
|
- - ">="
|
223
223
|
- !ruby/object:Gem::Version
|
224
|
-
version: 0.9.
|
224
|
+
version: 0.9.36
|
225
225
|
- !ruby/object:Gem::Dependency
|
226
226
|
name: yard-junk
|
227
227
|
requirement: !ruby/object:Gem::Requirement
|
@@ -290,6 +290,20 @@ dependencies:
|
|
290
290
|
- - "~>"
|
291
291
|
- !ruby/object:Gem::Version
|
292
292
|
version: '2.24'
|
293
|
+
- !ruby/object:Gem::Dependency
|
294
|
+
name: standard
|
295
|
+
requirement: !ruby/object:Gem::Requirement
|
296
|
+
requirements:
|
297
|
+
- - ">="
|
298
|
+
- !ruby/object:Gem::Version
|
299
|
+
version: 1.35.1
|
300
|
+
type: :development
|
301
|
+
prerelease: false
|
302
|
+
version_requirements: !ruby/object:Gem::Requirement
|
303
|
+
requirements:
|
304
|
+
- - ">="
|
305
|
+
- !ruby/object:Gem::Version
|
306
|
+
version: 1.35.1
|
293
307
|
- !ruby/object:Gem::Dependency
|
294
308
|
name: rspec
|
295
309
|
requirement: !ruby/object:Gem::Requirement
|
@@ -383,16 +397,16 @@ files:
|
|
383
397
|
- lib/kettle/soup/cover/version.rb
|
384
398
|
- sig/kettle/soup/cover.rbs
|
385
399
|
- sig/kettle/soup/cover/version.rbs
|
386
|
-
homepage: https://gitlab.com/
|
400
|
+
homepage: https://gitlab.com/kettle-rb/kettle-soup-cover
|
387
401
|
licenses:
|
388
402
|
- MIT
|
389
403
|
metadata:
|
390
|
-
homepage_uri: https://kettle-
|
391
|
-
source_code_uri: https://gitlab.com/
|
392
|
-
changelog_uri: https://gitlab.com/
|
393
|
-
bug_tracker_uri: https://gitlab.com/
|
394
|
-
documentation_uri: https://www.rubydoc.info/gems/kettle-soup-cover/1.0.
|
395
|
-
wiki_uri: https://gitlab.com/
|
404
|
+
homepage_uri: https://kettle-rb.gitlab.io/
|
405
|
+
source_code_uri: https://gitlab.com/kettle-rb/kettle-soup-cover/-/tree/v1.0.4
|
406
|
+
changelog_uri: https://gitlab.com/kettle-rb/kettle-soup-cover/-/blob/v1.0.4/CHANGELOG.md
|
407
|
+
bug_tracker_uri: https://gitlab.com/kettle-rb/kettle-soup-cover/-/issues
|
408
|
+
documentation_uri: https://www.rubydoc.info/gems/kettle-soup-cover/1.0.4
|
409
|
+
wiki_uri: https://gitlab.com/kettle-rb/kettle-soup-cover/-/wiki
|
396
410
|
funding_uri: https://liberapay.com/pboling
|
397
411
|
rubygems_mfa_required: 'true'
|
398
412
|
post_install_message:
|
@@ -410,8 +424,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
410
424
|
- !ruby/object:Gem::Version
|
411
425
|
version: '0'
|
412
426
|
requirements: []
|
413
|
-
rubygems_version: 3.
|
427
|
+
rubygems_version: 3.5.15
|
414
428
|
signing_key:
|
415
429
|
specification_version: 4
|
416
|
-
summary: A Covered Kettle of SOUP, A
|
430
|
+
summary: A Covered Kettle of SOUP, A Code Coverage Meta Gem
|
417
431
|
test_files: []
|
metadata.gz.sig
CHANGED
Binary file
|