kettle-test 1.0.7 → 1.0.9
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
- checksums.yaml.gz.sig +0 -0
- data/CHANGELOG.md +33 -1
- data/README.md +118 -55
- data/lib/kettle/test/config/int/rspec/silent_stream.rb +4 -0
- data/lib/kettle/test/internal.rb +1 -0
- data/lib/kettle/test/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +7 -7
- 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: 9ade52605667c6bbffe9462d76e0229baf3b65aa885c6d6670f42dbaefb95418
|
|
4
|
+
data.tar.gz: 595322235266965d9ef741b6cdbc2ac0a24d52bb9032e61c2ce733d6af7080f4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c671e937041fd20199cf52adf379886f03364f3e4b37fa5c18c97e6e6d7161115f0d5856e96d6892b63482d446292e7dc10b0aa6a9e6f489064d8ab383030d55
|
|
7
|
+
data.tar.gz: 4184756919209b48245f0752b1e14d7abc8f2bcbe9745feeceef53e98cbbf571a7fc584f1cb9374a8e8467c9844e3242017404c8a52148a6928cdcbf69caef19
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data/CHANGELOG.md
CHANGED
|
@@ -30,6 +30,34 @@ Please file a bug if you notice a violation of semantic versioning.
|
|
|
30
30
|
|
|
31
31
|
### Security
|
|
32
32
|
|
|
33
|
+
## [1.0.9] - 2026-02-06
|
|
34
|
+
|
|
35
|
+
- TAG: [v1.0.9][1.0.9t]
|
|
36
|
+
- COVERAGE: 100.00% -- 86/86 lines in 15 files
|
|
37
|
+
- BRANCH COVERAGE: 100.00% -- 2/2 branches in 15 files
|
|
38
|
+
- 100.00% documented
|
|
39
|
+
|
|
40
|
+
### Added
|
|
41
|
+
|
|
42
|
+
- Document usage of rspec-pending_for
|
|
43
|
+
|
|
44
|
+
## [1.0.8] - 2026-02-06
|
|
45
|
+
|
|
46
|
+
- TAG: [v1.0.8][1.0.8t]
|
|
47
|
+
- COVERAGE: 100.00% -- 86/86 lines in 15 files
|
|
48
|
+
- BRANCH COVERAGE: 100.00% -- 2/2 branches in 15 files
|
|
49
|
+
- 100.00% documented
|
|
50
|
+
|
|
51
|
+
### Added
|
|
52
|
+
|
|
53
|
+
- rspec/pending_for made available by default
|
|
54
|
+
- `skip_for` and `pending_for` are now available by default, without needing to explicitly require 'rspec/pending_for'
|
|
55
|
+
|
|
56
|
+
### Changed
|
|
57
|
+
|
|
58
|
+
- Updated documentation on hostile takeover of RubyGems
|
|
59
|
+
- https://dev.to/galtzo/hostile-takeover-of-rubygems-my-thoughts-5hlo
|
|
60
|
+
|
|
33
61
|
## [1.0.7] - 2025-12-06
|
|
34
62
|
|
|
35
63
|
- TAG: [v1.0.7][1.0.7t]
|
|
@@ -157,7 +185,11 @@ Please file a bug if you notice a violation of semantic versioning.
|
|
|
157
185
|
- silent_stream
|
|
158
186
|
- timecop-rspec
|
|
159
187
|
|
|
160
|
-
[Unreleased]: https://github.com/kettle-rb/kettle-test/compare/v1.0.
|
|
188
|
+
[Unreleased]: https://github.com/kettle-rb/kettle-test/compare/v1.0.9...HEAD
|
|
189
|
+
[1.0.9]: https://github.com/kettle-rb/kettle-test/compare/v1.0.8...v1.0.9
|
|
190
|
+
[1.0.9t]: https://github.com/kettle-rb/kettle-test/releases/tag/v1.0.9
|
|
191
|
+
[1.0.8]: https://github.com/kettle-rb/kettle-test/compare/v1.0.7...v1.0.8
|
|
192
|
+
[1.0.8t]: https://github.com/kettle-rb/kettle-test/releases/tag/v1.0.8
|
|
161
193
|
[1.0.7]: https://github.com/kettle-rb/kettle-test/compare/v1.0.6...v1.0.7
|
|
162
194
|
[1.0.7t]: https://github.com/kettle-rb/kettle-test/releases/tag/v1.0.7
|
|
163
195
|
[1.0.6]: https://github.com/kettle-rb/kettle-test/compare/v1.0.5...v1.0.6
|
data/README.md
CHANGED
|
@@ -1,36 +1,3 @@
|
|
|
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
|
-
| Simply put - there was active policy for adding or removing maintainers/owners of [rubygems][rubygems-maint-policy] and [bundler][bundler-maint-policy], and those [policies were not followed][policy-fail]. |
|
|
7
|
-
| I'm adding notes like this to gems because I [don't condone theft][draper-theft] of repositories or gems from their rightful owners. |
|
|
8
|
-
| If a similar theft happened with my repos/gems, I'd hope some would stand up for me. |
|
|
9
|
-
| Disenfranchised former-maintainers have started [gem.coop][gem-coop]. |
|
|
10
|
-
| Once available I will publish there exclusively; unless RubyCentral makes amends with the community. |
|
|
11
|
-
| The ["Technology for Humans: Joel Draper"][reinteractive-podcast] podcast episode by [reinteractive][reinteractive] is the most cogent summary I'm aware of. |
|
|
12
|
-
| See [here][gem-naming], [here][gem-coop] and [here][martin-ann] for more info on what comes next. |
|
|
13
|
-
| What I'm doing: A (WIP) proposal for [bundler/gem scopes][gem-scopes], and a (WIP) proposal for a federated [gem server][gem-server]. |
|
|
14
|
-
|
|
15
|
-
[rubygems-org]: https://github.com/rubygems/
|
|
16
|
-
[draper-security]: https://joel.drapper.me/p/ruby-central-security-measures/
|
|
17
|
-
[draper-takeover]: https://joel.drapper.me/p/ruby-central-takeover/
|
|
18
|
-
[ellen-takeover]: https://pup-e.com/blog/goodbye-rubygems/
|
|
19
|
-
[simi-removed]: https://www.reddit.com/r/ruby/s/gOk42POCaV
|
|
20
|
-
[martin-removed]: https://bsky.app/profile/martinemde.com/post/3m3occezxxs2q
|
|
21
|
-
[draper-lies]: https://joel.drapper.me/p/ruby-central-fact-check/
|
|
22
|
-
[draper-theft]: https://joel.drapper.me/p/ruby-central/
|
|
23
|
-
[reinteractive]: https://reinteractive.com/ruby-on-rails
|
|
24
|
-
[gem-coop]: https://gem.coop
|
|
25
|
-
[gem-naming]: https://github.com/gem-coop/gem.coop/issues/12
|
|
26
|
-
[martin-ann]: https://martinemde.com/2025/10/05/announcing-gem-coop.html
|
|
27
|
-
[gem-scopes]: https://github.com/galtzo-floss/bundle-namespace
|
|
28
|
-
[gem-server]: https://github.com/galtzo-floss/gem-server
|
|
29
|
-
[reinteractive-podcast]: https://youtu.be/_H4qbtC5qzU?si=BvuBU90R2wAqD2E6
|
|
30
|
-
[bundler-maint-policy]: https://github.com/ruby/rubygems/blob/b1ab33a3d52310a84d16b193991af07f5a6a07c0/doc/bundler/playbooks/TEAM_CHANGES.md
|
|
31
|
-
[rubygems-maint-policy]: https://github.com/ruby/rubygems/blob/b1ab33a3d52310a84d16b193991af07f5a6a07c0/doc/rubygems/POLICIES.md?plain=1#L187-L196
|
|
32
|
-
[policy-fail]: https://www.reddit.com/r/ruby/comments/1ove9vp/rubycentral_hates_this_one_fact/
|
|
33
|
-
|
|
34
1
|
[![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]
|
|
35
2
|
|
|
36
3
|
[🖼️galtzo-i]: https://logos.galtzo.com/assets/images/galtzo-floss/avatar-192px.svg
|
|
@@ -52,6 +19,13 @@
|
|
|
52
19
|
|
|
53
20
|
[![OpenCollective Backers][🖇osc-backers-i]][🖇osc-backers] [![OpenCollective Sponsors][🖇osc-sponsors-i]][🖇osc-sponsors] [![Sponsor Me on Github][🖇sponsor-img]][🖇sponsor] [![Liberapay Goal Progress][⛳liberapay-img]][⛳liberapay] [![Donate on PayPal][🖇paypal-img]][🖇paypal] [![Buy me a coffee][🖇buyme-small-img]][🖇buyme] [![Donate on Polar][🖇polar-img]][🖇polar] [![Donate at ko-fi.com][🖇kofi-img]][🖇kofi]
|
|
54
21
|
|
|
22
|
+
<details>
|
|
23
|
+
<summary>👣 How will this project approach the September 2025 hostile takeover of RubyGems? 🚑️</summary>
|
|
24
|
+
|
|
25
|
+
I've summarized my thoughts in [this blog post](https://dev.to/galtzo/hostile-takeover-of-rubygems-my-thoughts-5hlo).
|
|
26
|
+
|
|
27
|
+
</details>
|
|
28
|
+
|
|
55
29
|
## 🌻 Synopsis
|
|
56
30
|
|
|
57
31
|
Add to your `spec/spec_helper.rb`:
|
|
@@ -124,7 +98,7 @@ Compatible with MRI Ruby 2.3.0+, and concordant releases of JRuby, and TruffleRu
|
|
|
124
98
|
|
|
125
99
|
[gh-discussions]: https://github.com/kettle-rb/kettle-test/discussions
|
|
126
100
|
|
|
127
|
-
### Enterprise Support []
|
|
101
|
+
### Enterprise Support [][🏙️entsup-tidelift]
|
|
128
102
|
|
|
129
103
|
Available as part of the Tidelift Subscription.
|
|
130
104
|
|
|
@@ -226,8 +200,8 @@ That's it! Additional customizations can be done by setting environment variabl
|
|
|
226
200
|
Below are the environment variables recognized by kettle-test. Unless otherwise specified, set values to the string "true" to enable a boolean feature, or provide the noted type.
|
|
227
201
|
|
|
228
202
|
- DEBUG (String: "true"/"false")
|
|
229
|
-
|
|
230
|
-
|
|
203
|
+
- Overrides default silencing for the entire run; when true, STDOUT/STDERR are not silenced by this library.
|
|
204
|
+
- Default: "false". If KETTLE_TEST_DEBUG is not set, DEBUG is used.
|
|
231
205
|
- GLOBAL_TIME_TRAVEL_TIME (String: Date/Time)
|
|
232
206
|
- Global start time for Timecop across examples when using time travel.
|
|
233
207
|
- Example: "2014-11-15" or "2014-11-15 13:45:00".
|
|
@@ -236,30 +210,30 @@ Below are the environment variables recognized by kettle-test. Unless otherwise
|
|
|
236
210
|
- Alternate way to set a global date used when GLOBAL_TIME_TRAVEL_TIME is not provided.
|
|
237
211
|
- Default: today (Date.today.to_s).
|
|
238
212
|
- KETTLE_TEST_DEBUG (String: "true"/"false")
|
|
239
|
-
|
|
240
|
-
|
|
213
|
+
- Same as DEBUG but namespaced for this gem. Takes precedence over DEBUG.
|
|
214
|
+
- Default: "false".
|
|
241
215
|
- CI (String: "true"/"false")
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
216
|
+
- Signals a CI environment. When true, examples tagged :skip_ci are excluded.
|
|
217
|
+
- Also used as the default for KETTLE_TEST_SILENT when not set.
|
|
218
|
+
- Default: unset/empty → treated as false.
|
|
245
219
|
- KETTLE_TEST_SILENT (String: "true"/"false")
|
|
246
|
-
|
|
247
|
-
|
|
220
|
+
- Controls silencing of STDOUT/STDERR during specs (unless :check_output is used or DEBUG is true).
|
|
221
|
+
- Default: value of CI (true on CI, false locally unless CI=true).
|
|
248
222
|
- KETTLE_TEST_VERBOSE (String: "true"/"false")
|
|
249
|
-
|
|
223
|
+
- Reserved for future verbose logging toggles. Default: "false".
|
|
250
224
|
- KETTLE_TEST_FULL_BACKTRACE (String: "true"/"false")
|
|
251
|
-
|
|
252
|
-
|
|
225
|
+
- When true, enables RSpec full backtraces.
|
|
226
|
+
- Default: "false".
|
|
253
227
|
- KETTLE_TEST_RSPEC_PROFILE_EXAMPLES (Integer as String)
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
228
|
+
- When > 0, RSpec will profile the slowest N examples or example groups.
|
|
229
|
+
- Example: KETTLE_TEST_RSPEC_PROFILE_EXAMPLES=10
|
|
230
|
+
- Default: "0" (disabled).
|
|
257
231
|
- KETTLE_TEST_TM_SEQUENTIAL (String: "true"/"false")
|
|
258
232
|
- Controls Timecop sequential time machine mode for RSpec examples (see below).
|
|
259
233
|
- Default: "true".
|
|
260
234
|
- PARALLEL_TEST_FIRST_IS_1 (String: "true"/"false") and TEST_ENV_NUMBER (String)
|
|
261
|
-
|
|
262
|
-
|
|
235
|
+
- Used to detect parallel test runs via Kettle::Test.is_parallel_test?. Not generally required to set manually.
|
|
236
|
+
- Default: unset (treated as non-parallel unless provided by your parallel test runner).
|
|
263
237
|
|
|
264
238
|
### TimeCop-RSpec
|
|
265
239
|
|
|
@@ -303,6 +277,7 @@ except that it will sometimes resume time travel.
|
|
|
303
277
|
|
|
304
278
|
Global travel will always resume from when the previous global traveled
|
|
305
279
|
example ended. E.g.
|
|
280
|
+
|
|
306
281
|
```ruby
|
|
307
282
|
# GLOBAL_TIME_TRAVEL_TIME=2014-11-15 bundle exec rspec some_spec.rb
|
|
308
283
|
|
|
@@ -362,6 +337,7 @@ end
|
|
|
362
337
|
Following spec's local travel will resume when specified time is the same as the
|
|
363
338
|
previous examples specified time. If the time is different, it will
|
|
364
339
|
start from the current examples specified time.
|
|
340
|
+
|
|
365
341
|
```ruby
|
|
366
342
|
describe SomeUnit, travel: Time.new(2014, 11, 15) do
|
|
367
343
|
it "example 1" do
|
|
@@ -423,6 +399,94 @@ Or run:
|
|
|
423
399
|
DEBUG=true bundle exec rspec
|
|
424
400
|
```
|
|
425
401
|
|
|
402
|
+
### Version-based pending and skipping
|
|
403
|
+
|
|
404
|
+
Use rspec-pending_for to conditionally pending or skip examples based on Ruby version and engine.
|
|
405
|
+
|
|
406
|
+
The `pending_for` and `skip_for` macros support flexible version specifications:
|
|
407
|
+
|
|
408
|
+
**Supported version forms:**
|
|
409
|
+
- String: exact or partial match to RUBY_VERSION (e.g., "3.2.4", "3.2", or "3")
|
|
410
|
+
- Array of strings: any matching entry triggers pending/skip
|
|
411
|
+
- Range of Gem::Version: inclusive/exclusive endpoints respected
|
|
412
|
+
- Range of Integer: compares major version only (e.g., 2..3 for Ruby 2.x and 3.x)
|
|
413
|
+
|
|
414
|
+
**Supported engines:** :ruby (MRI), :jruby, :truffleruby
|
|
415
|
+
|
|
416
|
+
**Specifying versions:**
|
|
417
|
+
|
|
418
|
+
```ruby
|
|
419
|
+
RSpec.describe("version-specific behavior") do
|
|
420
|
+
# Exact version string
|
|
421
|
+
it "pends only on Ruby 3.2.4" do
|
|
422
|
+
pending_for(engine: :ruby, versions: "3.2.4")
|
|
423
|
+
# ...
|
|
424
|
+
end
|
|
425
|
+
|
|
426
|
+
# Multiple exact versions
|
|
427
|
+
it "pends on a set of MRI versions" do
|
|
428
|
+
pending_for(engine: :ruby, versions: %w[2.7.10 3.0.7 3.1.6])
|
|
429
|
+
end
|
|
430
|
+
|
|
431
|
+
# Match any engine by version (no :engine)
|
|
432
|
+
it "skips on any engine if version equals 2.7.8" do
|
|
433
|
+
skip_for(versions: "2.7.8", reason: "Known upstream incompatibility")
|
|
434
|
+
end
|
|
435
|
+
|
|
436
|
+
# Range of Gem::Version (inclusive)
|
|
437
|
+
it "pends for MRI >= 2.6.0 and <= 3.0.0" do
|
|
438
|
+
pending_for(
|
|
439
|
+
engine: :ruby,
|
|
440
|
+
versions: (Gem::Version.new("2.6.0")..Gem::Version.new("3.0.0")),
|
|
441
|
+
)
|
|
442
|
+
end
|
|
443
|
+
|
|
444
|
+
# Range of Gem::Version (exclusive end)
|
|
445
|
+
it "skips for MRI >= 3.1.0 and < 3.3.0" do
|
|
446
|
+
skip_for(
|
|
447
|
+
engine: :ruby,
|
|
448
|
+
versions: (Gem::Version.new("3.1.0")...Gem::Version.new("3.3.0")),
|
|
449
|
+
)
|
|
450
|
+
end
|
|
451
|
+
|
|
452
|
+
# Range of Integer (major versions)
|
|
453
|
+
it "pends on all Ruby 2.x and 3.x" do
|
|
454
|
+
pending_for(versions: (2..3), reason: "Major series currently affected")
|
|
455
|
+
end
|
|
456
|
+
|
|
457
|
+
it "skips on Ruby 2.x but not 3.x" do
|
|
458
|
+
skip_for(versions: (2...3)) # 2 <= version < 3
|
|
459
|
+
end
|
|
460
|
+
end
|
|
461
|
+
```
|
|
462
|
+
|
|
463
|
+
**Using with RSpec tags:**
|
|
464
|
+
|
|
465
|
+
```ruby
|
|
466
|
+
RSpec.configure do |config|
|
|
467
|
+
# Auto-skip examples requiring specific Ruby versions via tags
|
|
468
|
+
config.before(:each, :requires_ruby_32) do
|
|
469
|
+
skip_for(
|
|
470
|
+
reason: "Requires Ruby >= 3.2",
|
|
471
|
+
versions: %w[2.7 3.0 3.1],
|
|
472
|
+
)
|
|
473
|
+
end
|
|
474
|
+
end
|
|
475
|
+
|
|
476
|
+
RSpec.describe("something") do
|
|
477
|
+
it "runs only on Ruby 3.2+", :requires_ruby_32 do
|
|
478
|
+
# ... your example code ...
|
|
479
|
+
end
|
|
480
|
+
end
|
|
481
|
+
```
|
|
482
|
+
|
|
483
|
+
**Notes:**
|
|
484
|
+
- Omit :engine to match any Ruby engine (MRI, JRuby, TruffleRuby)
|
|
485
|
+
- Omit :versions with :engine to match all versions of that engine
|
|
486
|
+
- JRuby and TruffleRuby are matched using their RUBY_VERSION compatibility
|
|
487
|
+
- String matching supports partial versions ("3.1" matches "3.1.x" but not "3.0.x")
|
|
488
|
+
- Provide :reason to override the default message in reports
|
|
489
|
+
|
|
426
490
|
### CI-only filtering
|
|
427
491
|
|
|
428
492
|
Examples or groups tagged with :skip_ci are excluded on CI (CI=true).
|
|
@@ -476,7 +540,7 @@ and [Tidelift][🏙️entsup-tidelift].
|
|
|
476
540
|
|
|
477
541
|
### Open Collective for Individuals
|
|
478
542
|
|
|
479
|
-
Support us with a monthly donation and help us continue our activities. [[Become a backer]
|
|
543
|
+
Support us with a monthly donation and help us continue our activities. [[Become a backer][🖇osc-backers]]
|
|
480
544
|
|
|
481
545
|
NOTE: [kettle-readme-backers][kettle-readme-backers] updates this list every day, automatically.
|
|
482
546
|
|
|
@@ -486,7 +550,7 @@ No backers yet. Be the first!
|
|
|
486
550
|
|
|
487
551
|
### Open Collective for Organizations
|
|
488
552
|
|
|
489
|
-
Become a sponsor and get your logo on our README on GitHub with a link to your site. [[Become a sponsor]
|
|
553
|
+
Become a sponsor and get your logo on our README on GitHub with a link to your site. [[Become a sponsor][🖇osc-sponsors]]
|
|
490
554
|
|
|
491
555
|
NOTE: [kettle-readme-backers][kettle-readme-backers] updates this list every day, automatically.
|
|
492
556
|
|
|
@@ -673,7 +737,6 @@ Thanks for RTFM. ☺️
|
|
|
673
737
|
[✉️discord-invite-img-ftb]: https://img.shields.io/discord/1373797679469170758?style=for-the-badge&logo=discord
|
|
674
738
|
[✉️ruby-friends-img]: https://img.shields.io/badge/daily.dev-%F0%9F%92%8E_Ruby_Friends-0A0A0A?style=for-the-badge&logo=dailydotdev&logoColor=white
|
|
675
739
|
[✉️ruby-friends]: https://app.daily.dev/squads/rubyfriends
|
|
676
|
-
|
|
677
740
|
[✇bundle-group-pattern]: https://gist.github.com/pboling/4564780
|
|
678
741
|
[⛳️gem-namespace]: https://github.com/kettle-rb/kettle-test
|
|
679
742
|
[⛳️namespace-img]: https://img.shields.io/badge/namespace-Kettle::Test-3C2D2D.svg?style=square&logo=ruby&logoColor=white
|
|
@@ -820,7 +883,7 @@ Thanks for RTFM. ☺️
|
|
|
820
883
|
[📌gitmoji]: https://gitmoji.dev
|
|
821
884
|
[📌gitmoji-img]: https://img.shields.io/badge/gitmoji_commits-%20%F0%9F%98%9C%20%F0%9F%98%8D-34495e.svg?style=flat-square
|
|
822
885
|
[🧮kloc]: https://www.youtube.com/watch?v=dQw4w9WgXcQ
|
|
823
|
-
[🧮kloc-img]: https://img.shields.io/badge/KLOC-0.
|
|
886
|
+
[🧮kloc-img]: https://img.shields.io/badge/KLOC-0.086-FFDD67.svg?style=for-the-badge&logo=YouTube&logoColor=blue
|
|
824
887
|
[🔐security]: SECURITY.md
|
|
825
888
|
[🔐security-img]: https://img.shields.io/badge/security-policy-259D6C.svg?style=flat
|
|
826
889
|
[📄copyright-notice-explainer]: https://opensource.stackexchange.com/questions/5778/why-do-licenses-such-as-the-mit-license-specify-a-single-year
|
|
@@ -7,6 +7,10 @@ RSpec.configure do |config|
|
|
|
7
7
|
example.run
|
|
8
8
|
# Make tests run silently, with shunted STDOUT & STDERR, if ENV var KETTLE_TEST_SILENT == "true"
|
|
9
9
|
else
|
|
10
|
+
# silence_all only silences STDOUT
|
|
11
|
+
# Alternatives:
|
|
12
|
+
# quietly also silences STDERR
|
|
13
|
+
# silence_stderr only silences STDERR
|
|
10
14
|
silence_all(Kettle::Test::SILENT) do
|
|
11
15
|
example.run
|
|
12
16
|
end
|
data/lib/kettle/test/internal.rb
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
# config/int and its subfolders.
|
|
5
5
|
# Files in config/ext may depend on this library's internals.
|
|
6
6
|
require_relative "config/int/rspec_block_is_expected"
|
|
7
|
+
require_relative "config/int/rspec_pending_for"
|
|
7
8
|
require_relative "config/int/rspec/rspec_core"
|
|
8
9
|
require_relative "config/int/rspec/silent_stream"
|
|
9
10
|
|
data/lib/kettle/test/version.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-test
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.9
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Peter H. Boling
|
|
@@ -219,14 +219,14 @@ dependencies:
|
|
|
219
219
|
requirements:
|
|
220
220
|
- - "~>"
|
|
221
221
|
- !ruby/object:Gem::Version
|
|
222
|
-
version: 1.
|
|
222
|
+
version: 1.2.4
|
|
223
223
|
type: :development
|
|
224
224
|
prerelease: false
|
|
225
225
|
version_requirements: !ruby/object:Gem::Requirement
|
|
226
226
|
requirements:
|
|
227
227
|
- - "~>"
|
|
228
228
|
- !ruby/object:Gem::Version
|
|
229
|
-
version: 1.
|
|
229
|
+
version: 1.2.4
|
|
230
230
|
- !ruby/object:Gem::Dependency
|
|
231
231
|
name: bundler-audit
|
|
232
232
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -418,10 +418,10 @@ licenses:
|
|
|
418
418
|
- MIT
|
|
419
419
|
metadata:
|
|
420
420
|
homepage_uri: https://kettle-test.galtzo.com/
|
|
421
|
-
source_code_uri: https://github.com/kettle-rb/kettle-test/tree/v1.0.
|
|
422
|
-
changelog_uri: https://github.com/kettle-rb/kettle-test/blob/v1.0.
|
|
421
|
+
source_code_uri: https://github.com/kettle-rb/kettle-test/tree/v1.0.9
|
|
422
|
+
changelog_uri: https://github.com/kettle-rb/kettle-test/blob/v1.0.9/CHANGELOG.md
|
|
423
423
|
bug_tracker_uri: https://github.com/kettle-rb/kettle-test/issues
|
|
424
|
-
documentation_uri: https://www.rubydoc.info/gems/kettle-test/1.0.
|
|
424
|
+
documentation_uri: https://www.rubydoc.info/gems/kettle-test/1.0.9
|
|
425
425
|
funding_uri: https://github.com/sponsors/pboling
|
|
426
426
|
wiki_uri: https://github.com/kettle-rb/kettle-test/wiki
|
|
427
427
|
news_uri: https://www.railsbling.com/tags/kettle-test
|
|
@@ -450,7 +450,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
450
450
|
- !ruby/object:Gem::Version
|
|
451
451
|
version: '0'
|
|
452
452
|
requirements: []
|
|
453
|
-
rubygems_version:
|
|
453
|
+
rubygems_version: 4.0.5
|
|
454
454
|
specification_version: 4
|
|
455
455
|
summary: "\U0001F372 A kettle-rb meta tool to streamline testing"
|
|
456
456
|
test_files: []
|
metadata.gz.sig
CHANGED
|
Binary file
|