kettle-test 1.0.5 → 1.0.6

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: 2fc75a0dfbdc3aee8e57ecb00ced70c44b8bfcd5a6f50bcc975484978a462ce1
4
- data.tar.gz: eff344f4f7eba0e6c379602b7da1d5ca1bd453332a8fad22d030cf233a581b6d
3
+ metadata.gz: 91938ee551783588896733defc9f8da49ff489d75780b497a41b8eb7fa91f971
4
+ data.tar.gz: 2093eb8e091fdbc4868322db79c2a39fc27e0de8d0cfea2488407cd843f6b40f
5
5
  SHA512:
6
- metadata.gz: 9c8d4e670a25c8c380f6897822223632af8efc2b7832a82dedbbe5ca7817c694054d16fee6d736defd5783eb1cb090103a060caf99460cf723175e3683c1e7f2
7
- data.tar.gz: 3310ce6f58bdd622c0047d2dd8fa73e40e88799e5115ed15528c984c079f2e5c03bd37506e3e000cd29f69562459849f815147c11601d270d31dbb6a0bdcf3f2
6
+ metadata.gz: 32596efe80d4cb8fa00c249cbc839b8fe37c58cd56d5580a7a53c281d783f745a0f8720ca5ef52abeb76660b11ec4a4afec19589741bb5e45cfd9020c2e55dec
7
+ data.tar.gz: e69b5182a17733ea0b5d363868d6e49802d654ec1aff0c460db90d9a88200c1a087e290ca5565379d0e8b99ea7eb5d8fc13f338e8fa8f6aa038f37fbab224ba3
checksums.yaml.gz.sig CHANGED
Binary file
data/CHANGELOG.md CHANGED
@@ -30,6 +30,21 @@ Please file a bug if you notice a violation of semantic versioning.
30
30
 
31
31
  ### Security
32
32
 
33
+ ## [1.0.6] - 2025-10-21
34
+
35
+ - TAG: [v1.0.6][1.0.6t]
36
+ - COVERAGE: 100.00% -- 83/83 lines in 15 files
37
+ - BRANCH COVERAGE: 100.00% -- 2/2 branches in 15 files
38
+ - 94.44% documented
39
+
40
+ ### Added
41
+
42
+ - more complete usage documentation
43
+
44
+ ### Fixed
45
+
46
+ - completed change of backports to runtime dependency
47
+
33
48
  ## [1.0.5] - 2025-10-20
34
49
 
35
50
  - TAG: [v1.0.5][1.0.5t]
@@ -129,7 +144,9 @@ Please file a bug if you notice a violation of semantic versioning.
129
144
  - silent_stream
130
145
  - timecop-rspec
131
146
 
132
- [Unreleased]: https://github.com/kettle-rb/kettle-test/compare/v1.0.5...HEAD
147
+ [Unreleased]: https://github.com/kettle-rb/kettle-test/compare/v1.0.6...HEAD
148
+ [1.0.6]: https://github.com/kettle-rb/kettle-test/compare/v1.0.5...v1.0.6
149
+ [1.0.6t]: https://github.com/kettle-rb/kettle-test/releases/tag/v1.0.6
133
150
  [1.0.5]: https://github.com/kettle-rb/kettle-test/compare/v1.0.4...v1.0.5
134
151
  [1.0.5t]: https://github.com/kettle-rb/kettle-test/releases/tag/v1.0.5
135
152
  [1.0.4]: https://github.com/kettle-rb/kettle-test/compare/v1.0.3...v1.0.4
data/README.md CHANGED
@@ -1,16 +1,30 @@
1
- | 📍 NOTE |
2
- |----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
3
- | RubyGems.org was [recently compromised][draper-security] in a [hostile takeover][draper-takeover] about which [many lies][draper-lies] have been told. |
4
- | I'm in the process of adding warnings to some important gems because I [don't condone the theft][draper-theft] of the bundler and rubygems-update projects. |
5
- | Once publishing to [gem.coop][gem-coop] is available I will stop publishing to RubyGems.org, unless they make amends. I am writing my a new federated gem-server. |
6
- | Please see [here][gem-coop] and [here][martin-ann] for more info on what comes next. This ["Technology for Humans" podcast episode][reinteractive-podcast] is the best summary I'm aware of. |
7
-
1
+ | 📍 NOTE |
2
+ |-------------------------------------------------------------------------------------------------------------------------------------------------------------------|
3
+ | RubyGems (the [GitHub org][rubygems-org], not the website) [suffered][draper-security] a [hostile takeover][ellen-takeover] in September 2025. |
4
+ | Ultimately [4 maintainers][simi-removed] were [hard removed][martin-removed] and a reason has been given for only 1 of those, while 2 others resigned in protest. |
5
+ | It is a [complicated story][draper-takeover] which is difficult to [parse quickly][draper-lies]. |
6
+ | I'm adding notes like this to gems because I [don't condone theft][draper-theft] of repositories or gems from their rightful owners. |
7
+ | If a similar theft happened with my repos/gems, I'd hope some would stand up for me. |
8
+ | Disenfranchised former-maintainers have started [gem.coop][gem-coop]. |
9
+ | Once available I will publish there exclusively; unless RubyCentral makes amends with the community. |
10
+ | The ["Technology for Humans: Joel Draper"][reinteractive-podcast] podcast episode by [reinteractive][reinteractive] is the most cogent summary I'm aware of. |
11
+ | See [here][gem-naming], [here][gem-coop] and [here][martin-ann] for more info on what comes next. |
12
+ | What I'm doing: A (WIP) proposal for [bundler/gem scopes][gem-scopes], and a (WIP) proposal for a federated [gem server][gem-server]. |
13
+
14
+ [rubygems-org]: https://github.com/rubygems/
8
15
  [draper-security]: https://joel.drapper.me/p/ruby-central-security-measures/
9
16
  [draper-takeover]: https://joel.drapper.me/p/ruby-central-takeover/
17
+ [ellen-takeover]: https://pup-e.com/blog/goodbye-rubygems/
18
+ [simi-removed]: https://www.reddit.com/r/ruby/s/gOk42POCaV
19
+ [martin-removed]: https://bsky.app/profile/martinemde.com/post/3m3occezxxs2q
10
20
  [draper-lies]: https://joel.drapper.me/p/ruby-central-fact-check/
11
21
  [draper-theft]: https://joel.drapper.me/p/ruby-central/
22
+ [reinteractive]: https://reinteractive.com/ruby-on-rails
12
23
  [gem-coop]: https://gem.coop
24
+ [gem-naming]: https://github.com/gem-coop/gem.coop/issues/12
13
25
  [martin-ann]: https://martinemde.com/2025/10/05/announcing-gem-coop.html
26
+ [gem-scopes]: https://github.com/galtzo-floss/bundle-namespace
27
+ [gem-server]: https://github.com/galtzo-floss/gem-server
14
28
  [reinteractive-podcast]: https://youtu.be/_H4qbtC5qzU?si=BvuBU90R2wAqD2E6
15
29
 
16
30
  [![Galtzo FLOSS Logo by Aboling0, CC BY-SA 4.0][🖼️galtzo-i]][🖼️galtzo-discord] [![ruby-lang Logo, Yukihiro Matsumoto, Ruby Visual Identity Team, CC BY-SA 2.5][🖼️ruby-lang-i]][🖼️ruby-lang] [![kettle-test Logo by Aboling0, CC BY-SA 4.0][🖼️kettle-test-i]][🖼️kettle-test]
@@ -40,6 +54,21 @@ Add to your `spec/spec_helper.rb`:
40
54
 
41
55
  ```ruby
42
56
  require "kettle/test/rspec"
57
+
58
+ # ... any other config you need to do.
59
+
60
+ # NOTE: Gemfiles for older rubies (< 2.7) won't have kettle-soup-cover.
61
+ # The rescue LoadError handles that scenario.
62
+ begin
63
+ require "kettle-soup-cover"
64
+ require "simplecov" if Kettle::Soup::Cover::DO_COV # `.simplecov` is run here!
65
+ rescue LoadError => error
66
+ # check the error message, and re-raise if not what is expected
67
+ raise error unless error.message.include?("kettle")
68
+ end
69
+
70
+ # This gem (or app)
71
+ require "gem-under-test"
43
72
  ```
44
73
 
45
74
  Now you have many powerful testing tools at your disposal, all fully [documented](#-configuration) and tested.
@@ -169,6 +198,21 @@ Add to your `spec/spec_helper.rb`:
169
198
 
170
199
  ```ruby
171
200
  require "kettle/test/rspec"
201
+
202
+ # ... any other config you need to do.
203
+
204
+ # NOTE: Gemfiles for older rubies (< 2.7) won't have kettle-soup-cover.
205
+ # The rescue LoadError handles that scenario.
206
+ begin
207
+ require "kettle-soup-cover"
208
+ require "simplecov" if Kettle::Soup::Cover::DO_COV # `.simplecov` is run here!
209
+ rescue LoadError => error
210
+ # check the error message, and re-raise if not what is expected
211
+ raise error unless error.message.include?("kettle")
212
+ end
213
+
214
+ # This gem (or app)
215
+ require "gem-under-test"
172
216
  ```
173
217
 
174
218
  That's it! Additional customizations can be done by setting environment variables.
@@ -6,7 +6,7 @@ module Kettle
6
6
  module Version
7
7
  # The current version of kettle-test.
8
8
  # @return [String]
9
- VERSION = "1.0.5"
9
+ VERSION = "1.0.6"
10
10
  end
11
11
  end
12
12
  end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kettle-test
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.5
4
+ version: 1.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter H. Boling
@@ -343,26 +343,6 @@ dependencies:
343
343
  - - ">="
344
344
  - !ruby/object:Gem::Version
345
345
  version: 1.0.3
346
- - !ruby/object:Gem::Dependency
347
- name: backports
348
- requirement: !ruby/object:Gem::Requirement
349
- requirements:
350
- - - "~>"
351
- - !ruby/object:Gem::Version
352
- version: '3.25'
353
- - - ">="
354
- - !ruby/object:Gem::Version
355
- version: 3.25.2
356
- type: :development
357
- prerelease: false
358
- version_requirements: !ruby/object:Gem::Requirement
359
- requirements:
360
- - - "~>"
361
- - !ruby/object:Gem::Version
362
- version: '3.25'
363
- - - ">="
364
- - !ruby/object:Gem::Version
365
- version: 3.25.2
366
346
  description: "\U0001F372 Kettle::Test is a meta tool from kettle-rb to streamline
367
347
  testing. Acts as a shim dependency, pulling in many other dependencies, to give
368
348
  you OOTB productivity with a RubyGem, or Ruby app project. Configures RSpec w/ syntactic
@@ -418,10 +398,10 @@ licenses:
418
398
  - MIT
419
399
  metadata:
420
400
  homepage_uri: https://kettle-test.galtzo.com/
421
- source_code_uri: https://github.com/kettle-rb/kettle-test/tree/v1.0.5
422
- changelog_uri: https://github.com/kettle-rb/kettle-test/blob/v1.0.5/CHANGELOG.md
401
+ source_code_uri: https://github.com/kettle-rb/kettle-test/tree/v1.0.6
402
+ changelog_uri: https://github.com/kettle-rb/kettle-test/blob/v1.0.6/CHANGELOG.md
423
403
  bug_tracker_uri: https://github.com/kettle-rb/kettle-test/issues
424
- documentation_uri: https://www.rubydoc.info/gems/kettle-test/1.0.5
404
+ documentation_uri: https://www.rubydoc.info/gems/kettle-test/1.0.6
425
405
  funding_uri: https://github.com/sponsors/pboling
426
406
  wiki_uri: https://github.com/kettle-rb/kettle-test/wiki
427
407
  news_uri: https://www.railsbling.com/tags/kettle-test
metadata.gz.sig CHANGED
Binary file