turbo_tests2 3.2.5 → 3.2.7

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: e63ac3ea2fad18d13703d1b3ef664b21aa879943928bb17236f90051032e5d23
4
- data.tar.gz: 1a6b2b4e3990c985313d9d8e9bfab0b764806a29b6b3a4c1e064a9842d88bee7
3
+ metadata.gz: cf123312410105738345f4c9dc065fc29cc5f083d59f674e271fff3195d9e601
4
+ data.tar.gz: d835e84d2eecb41a7c2f712c7491ab460d7a1d1f1aadc060c0d19a5a803958ec
5
5
  SHA512:
6
- metadata.gz: a3bf05ce18f6ca4d3f603426cf0816d1e8db92ea2e00342b388a05650056deed97b42a6065b2485f7eded91d1d01236c5440eb9527a1da8d5b7237195068ec9e
7
- data.tar.gz: 14e90688ba62b2b97d4608bee59b2d223942a35d47c3f58b092ffcb96d8b758419ca64e1a473dc2906a29fd2b1b158759058ae216518c66e1317438f2762fe82
6
+ metadata.gz: efc0bacf63611b3b93150a51b2a0708a2861380797391d1c558661aa38cc3393a20f85e03a1c000ee9fc08ec3e95f3ba08be7478a93d0c87c957d4e7161a518e
7
+ data.tar.gz: ea872015ab396f1cc4b0e3a61c2ec67069a9cba1744136868c3f798b50c5f561cfa517e15c183216f27c8657044b490baf7e21be4dc2c0f0d62e070f68a698b6
checksums.yaml.gz.sig CHANGED
Binary file
data/CHANGELOG.md CHANGED
@@ -30,6 +30,64 @@ Please file a bug if you notice a violation of semantic versioning.
30
30
 
31
31
  ### Security
32
32
 
33
+ ## [3.2.7] - 2026-08-29
34
+
35
+ - TAG: [v3.2.7][3.2.7t]
36
+ - COVERAGE: 96.83% -- 885/914 lines in 10 files
37
+ - BRANCH COVERAGE: 85.50% -- 230/269 branches in 10 files
38
+ - 36.73% documented
39
+
40
+ ### Added
41
+
42
+ - Added `--no-rake-hooks` to run without loading a discoverable Rakefile or
43
+ invoking the `turbo_tests2:setup` and `turbo_tests2:cleanup` hooks.
44
+
45
+ ### Changed
46
+
47
+ - [kc] kettle-jem/prepare: updated 30 project files:
48
+ - configuration (1)
49
+ - dependencies (26)
50
+ - other (3)
51
+
52
+ - [kc] kettle-jem/template: updated 2 project files:
53
+ - dependencies (1)
54
+ - other (1)
55
+
56
+ - [kc] kettle-jem/prepare: updated 10 project files:
57
+ - dependencies (9)
58
+ - other (1)
59
+
60
+ - [kc] kettle-jem/template: updated 4 project files:
61
+ - code and tests (1)
62
+ - dependencies (1)
63
+ - other (1)
64
+ - workflows (1)
65
+
66
+ ### Fixed
67
+
68
+ - Running `turbo_tests2` no longer requires a Rakefile merely because the
69
+ `rake` gem is installed; Rake hooks are skipped when no Rakefile is
70
+ discoverable.
71
+
72
+ ## [3.2.6] - 2026-08-13
73
+
74
+ - TAG: [v3.2.6][3.2.6t]
75
+ - COVERAGE: 96.81% -- 880/909 lines in 10 files
76
+ - BRANCH COVERAGE: 85.17% -- 224/263 branches in 10 files
77
+ - 36.73% documented
78
+
79
+ ### Changed
80
+
81
+ - [kc] kettle-jem/prepare: updated 11 project files:
82
+ - dependencies (11)
83
+
84
+ - [kc] kettle-jem/template: updated 7 project files:
85
+ - code and tests (1)
86
+ - configuration (1)
87
+ - dependencies (1)
88
+ - documentation (1)
89
+ - other (3)
90
+
33
91
  ## [3.2.5] - 2026-08-08
34
92
 
35
93
  - TAG: [v3.2.5][3.2.5t]
@@ -516,7 +574,11 @@ Please file a bug if you notice a violation of semantic versioning.
516
574
 
517
575
  - Initial release
518
576
 
519
- [Unreleased]: https://github.com/galtzo-floss/turbo_tests2/compare/v3.2.5...HEAD
577
+ [Unreleased]: https://github.com/galtzo-floss/turbo_tests2/compare/v3.2.7...HEAD
578
+ [3.2.7]: https://github.com/galtzo-floss/turbo_tests2/compare/v3.2.6...v3.2.7
579
+ [3.2.7t]: https://github.com/galtzo-floss/turbo_tests2/releases/tag/v3.2.7
580
+ [3.2.6]: https://github.com/galtzo-floss/turbo_tests2/compare/v3.2.5...v3.2.6
581
+ [3.2.6t]: https://github.com/galtzo-floss/turbo_tests2/releases/tag/v3.2.6
520
582
  [3.2.5]: https://github.com/galtzo-floss/turbo_tests2/compare/v3.2.4...v3.2.5
521
583
  [3.2.5t]: https://github.com/galtzo-floss/turbo_tests2/releases/tag/v3.2.5
522
584
  [3.2.4]: https://github.com/galtzo-floss/turbo_tests2/compare/v3.2.3...v3.2.4
data/LICENSE.md CHANGED
@@ -7,15 +7,15 @@ Choose the option that best fits your use case:
7
7
 
8
8
  ## Copyright Notice
9
9
 
10
- - Copyright (c) 2020-2023 Illia
10
+ - Copyright (c) 2020-2024 Illia
11
11
  - Copyright (c) 2020 Ilya Zub
12
12
  - Copyright (c) 2021 AMHOL
13
13
  - Copyright (c) 2021 Serge Bedzhyk
14
14
  - Copyright (c) 2023 Bo Anderson
15
15
  - Copyright (c) 2023 Dmitiry Zub☀️
16
- - Copyright (c) 2023-2024 Illia
17
16
  - Copyright (c) 2023 mrudzki
18
17
  - Copyright (c) 2023-2024 Sebastien Savater
19
18
  - Copyright (c) 2024 Hiroshi SHIBATA
20
19
  - Copyright (c) 2025-2026 Gareth Jones
21
20
  - Copyright (c) 2025-2026 Peter H. Boling
21
+ - Copyright (c) 2026 Jeff Widman
data/README.md CHANGED
@@ -82,7 +82,7 @@ Finished in 2 minute 25.15 seconds (files took 0 seconds to load)
82
82
 
83
83
  ### Compatibility
84
84
 
85
- Compatible with MRI Ruby 2.4.0+, and concordant releases of JRuby, and TruffleRuby.
85
+ Compatible with MRI Ruby 2.4.0+, JRuby, and TruffleRuby.
86
86
  CI workflows and Appraisals are generated for MRI Ruby 2.4+.
87
87
  This test floor is configured by `ruby.test_minimum` in `.kettle-jem.yml` and
88
88
  may be higher than the gem's runtime compatibility floor when legacy Rubies are
@@ -120,7 +120,9 @@ The _amazing_ test matrix is powered by the kettle-dev stack.
120
120
 
121
121
  </details>
122
122
 
123
- ### Enterprise Support [![Tidelift](https://tidelift.com/badges/package/rubygems/turbo_tests2)](https://tidelift.com/subscription/pkg/rubygems-turbo_tests2?utm_source=rubygems-turbo_tests2&utm_medium=referral&utm_campaign=readme)
123
+ ### Enterprise Support
124
+
125
+ [![Tidelift](https://tidelift.com/badges/package/rubygems/turbo_tests2)](https://tidelift.com/subscription/pkg/rubygems-turbo_tests2?utm_source=rubygems-turbo_tests2&utm_medium=referral&utm_campaign=readme)
124
126
 
125
127
  Available as part of the Tidelift Subscription.
126
128
 
@@ -218,6 +220,7 @@ Options:
218
220
  --no-random Run examples in defined order without passing a seed
219
221
  --create Create databases
220
222
  --print_failed_group Prints group that had failures in it
223
+ --no-rake-hooks Do not load a Rakefile or invoke setup and cleanup hooks
221
224
  --nice execute test commands with low priority
222
225
  ```
223
226
 
@@ -331,8 +334,10 @@ bundle exec turbo_tests2 -r fuubar -f Fuubar spec/whatever
331
334
 
332
335
  ### Rake Hooks
333
336
 
334
- If Rake is present, the CLI will invoke the tasks `turbo_tests2:setup` and `turbo_tests2:cleanup` before and after running
335
- the test suite. These can be used to do work that should only happen once, such as removing files or collating coverage:
337
+ If Rake and a Rakefile are present, the CLI will invoke the tasks `turbo_tests2:setup` and
338
+ `turbo_tests2:cleanup` before and after running the test suite. If no Rakefile is discoverable,
339
+ the test suite runs without hooks. These tasks can be used to do work that should only happen
340
+ once, such as removing files or collating coverage:
336
341
 
337
342
  ```ruby
338
343
  # lib/tasks/turbo_tests2.rake
@@ -349,6 +354,14 @@ namespace :turbo_tests2 do
349
354
  end
350
355
  ```
351
356
 
357
+ Projects with a discoverable Rakefile can disable this integration explicitly:
358
+
359
+ ```bash
360
+ bundle exec turbo_tests2 --no-rake-hooks
361
+ ```
362
+
363
+ This prevents the Rakefile from being loaded and skips both hooks.
364
+
352
365
  ### SimpleCov
353
366
 
354
367
  You can get accurate coverage reporting by having SimpleCov write the results for each process into a different directory
@@ -454,8 +467,7 @@ See [SECURITY.md][🔐security].
454
467
  ## 🤝 Contributing
455
468
 
456
469
  If you need some ideas of where to help, you could work on adding more code coverage,
457
- or if it is already 💯 (see [below](#code-coverage)) check [issues][🤝gh-issues] or [PRs][🤝gh-pulls],
458
- or use the gem and think about how it could be better.
470
+ check [issues][🤝gh-issues] or [PRs][🤝gh-pulls], or use the gem and think about how it could be better.
459
471
 
460
472
  We [![Keep A Changelog][📗keep-changelog-img]][📗keep-changelog] so if you make changes, remember to update it.
461
473
 
@@ -491,19 +503,6 @@ Made with [contributors-img][🖐contrib-rocks].
491
503
 
492
504
  Also see GitLab Contributors: [https://gitlab.com/galtzo-floss/turbo_tests2/-/graphs/main][🚎contributors-gl]
493
505
 
494
- <details markdown="1">
495
- <summary>⭐️ Star History</summary>
496
-
497
- <a href="https://star-history.com/galtzo-floss/turbo_tests2&Date">
498
- <picture>
499
- <source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=galtzo-floss/turbo_tests2&type=Date&theme=dark" />
500
- <source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=galtzo-floss/turbo_tests2&type=Date" />
501
- <img alt="Star History Chart" src="https://api.star-history.com/svg?repos=galtzo-floss/turbo_tests2&type=Date" />
502
- </picture>
503
- </a>
504
-
505
- </details>
506
-
507
506
  ## 📌 Versioning
508
507
 
509
508
  This library follows [![Semantic Versioning 2.0.0][📌semver-img]][📌semver] for its public API where practical.
@@ -542,18 +541,18 @@ See [LICENSE.md][📄license] for the official copyright notice.
542
541
  <details markdown="1">
543
542
  <summary>Copyright holders</summary>
544
543
 
545
- - Copyright (c) 2020-2023 Illia
544
+ - Copyright (c) 2020-2024 Illia
546
545
  - Copyright (c) 2020 Ilya Zub
547
546
  - Copyright (c) 2021 AMHOL
548
547
  - Copyright (c) 2021 Serge Bedzhyk
549
548
  - Copyright (c) 2023 Bo Anderson
550
549
  - Copyright (c) 2023 Dmitiry Zub☀️
551
- - Copyright (c) 2023-2024 Illia
552
550
  - Copyright (c) 2023 mrudzki
553
551
  - Copyright (c) 2023-2024 Sebastien Savater
554
552
  - Copyright (c) 2024 Hiroshi SHIBATA
555
553
  - Copyright (c) 2025-2026 Gareth Jones
556
554
  - Copyright (c) 2025-2026 Peter H. Boling
555
+ - Copyright (c) 2026 Jeff Widman
557
556
 
558
557
  </details>
559
558
 
@@ -770,7 +769,7 @@ Thanks for RTFM. ☺️
770
769
  [📌gitmoji]: https://gitmoji.dev
771
770
  [📌gitmoji-img]: https://img.shields.io/badge/gitmoji_commits-%20%F0%9F%98%9C%20%F0%9F%98%8D-34495e.svg?style=flat-square
772
771
  [🧮kloc]: https://www.youtube.com/watch?v=dQw4w9WgXcQ
773
- [🧮kloc-img]: https://img.shields.io/badge/KLOC-0.909-FFDD67.svg?style=for-the-badge&logo=YouTube&logoColor=blue
772
+ [🧮kloc-img]: https://img.shields.io/badge/KLOC-0.914-FFDD67.svg?style=for-the-badge&logo=YouTube&logoColor=blue
774
773
  [🔐security]: https://github.com/galtzo-floss/turbo_tests2/blob/main/SECURITY.md
775
774
  [🔐security-img]: https://img.shields.io/badge/security-policy-259D6C.svg?style=flat
776
775
  [📄copyright-notice-explainer]: https://opensource.stackexchange.com/questions/5778/why-do-licenses-such-as-the-mit-license-specify-a-single-year
@@ -25,6 +25,7 @@ module TurboTests
25
25
  print_failed_group = false
26
26
  create = false
27
27
  nice = false
28
+ rake_hooks = true
28
29
  worker_output = nil
29
30
  parallel_options = {}
30
31
  cli_args, parallel_args = split_parallel_args(@argv)
@@ -159,6 +160,10 @@ module TurboTests
159
160
  print_failed_group = true
160
161
  end
161
162
 
163
+ opts.on("--no-rake-hooks", "Do not load a Rakefile or invoke setup and cleanup hooks") do
164
+ rake_hooks = false
165
+ end
166
+
162
167
  opts.on("--nice", "execute test commands with low priority") do
163
168
  nice = true
164
169
  end
@@ -183,9 +188,10 @@ module TurboTests
183
188
  formatter[:outputs] << "-" if formatter[:outputs].empty?
184
189
  end
185
190
 
186
- load_rake
187
-
188
- invoke_rake_hook("setup")
191
+ if rake_hooks
192
+ load_rake
193
+ invoke_rake_hook("setup")
194
+ end
189
195
 
190
196
  files = cli_args.empty? ? nil : cli_args
191
197
 
@@ -206,7 +212,7 @@ module TurboTests
206
212
  parallel_options: parallel_options
207
213
  )
208
214
 
209
- invoke_rake_hook("cleanup")
215
+ invoke_rake_hook("cleanup") if rake_hooks
210
216
 
211
217
  # From https://github.com/galtzo-floss/turbo_tests2/pull/20/
212
218
  exit(exitstatus)
@@ -412,6 +418,8 @@ module TurboTests
412
418
  # which may contain non-Rake arguments (e.g. RSpec's --pattern flag when
413
419
  # tests are run via `rake spec`).
414
420
  Rake.application.init("rake", [])
421
+ return unless Rake.application.find_rakefile_location
422
+
415
423
  Rake.application.load_rakefile
416
424
  end
417
425
 
@@ -4,7 +4,7 @@ module TurboTests
4
4
  # Version namespace for this gem.
5
5
  module Version
6
6
  # Current gem version.
7
- VERSION = "3.2.5"
7
+ VERSION = "3.2.7"
8
8
  end
9
9
  # Current gem version exposed at the traditional constant location.
10
10
  VERSION = Version::VERSION # Traditional Constant Location
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: turbo_tests2
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.5
4
+ version: 3.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Illia
@@ -15,6 +15,7 @@ authors:
15
15
  - Hiroshi SHIBATA
16
16
  - Gareth Jones
17
17
  - Peter H. Boling
18
+ - Jeff Widman
18
19
  bindir: exe
19
20
  cert_chain:
20
21
  - |
@@ -107,20 +108,20 @@ dependencies:
107
108
  requirements:
108
109
  - - "~>"
109
110
  - !ruby/object:Gem::Version
110
- version: '2.5'
111
+ version: '3.0'
111
112
  - - ">="
112
113
  - !ruby/object:Gem::Version
113
- version: 2.5.17
114
+ version: 3.0.17
114
115
  type: :development
115
116
  prerelease: false
116
117
  version_requirements: !ruby/object:Gem::Requirement
117
118
  requirements:
118
119
  - - "~>"
119
120
  - !ruby/object:Gem::Version
120
- version: '2.5'
121
+ version: '3.0'
121
122
  - - ">="
122
123
  - !ruby/object:Gem::Version
123
- version: 2.5.17
124
+ version: 3.0.17
124
125
  - !ruby/object:Gem::Dependency
125
126
  name: bundler-audit
126
127
  requirement: !ruby/object:Gem::Requirement
@@ -198,7 +199,7 @@ dependencies:
198
199
  version: '3.2'
199
200
  - - ">="
200
201
  - !ruby/object:Gem::Version
201
- version: 3.2.0
202
+ version: 3.2.2
202
203
  type: :development
203
204
  prerelease: false
204
205
  version_requirements: !ruby/object:Gem::Requirement
@@ -208,7 +209,7 @@ dependencies:
208
209
  version: '3.2'
209
210
  - - ">="
210
211
  - !ruby/object:Gem::Version
211
- version: 3.2.0
212
+ version: 3.2.2
212
213
  - !ruby/object:Gem::Dependency
213
214
  name: kettle-test
214
215
  requirement: !ruby/object:Gem::Requirement
@@ -218,7 +219,7 @@ dependencies:
218
219
  version: '2.0'
219
220
  - - ">="
220
221
  - !ruby/object:Gem::Version
221
- version: 2.0.19
222
+ version: 2.0.21
222
223
  type: :development
223
224
  prerelease: false
224
225
  version_requirements: !ruby/object:Gem::Requirement
@@ -228,7 +229,7 @@ dependencies:
228
229
  version: '2.0'
229
230
  - - ">="
230
231
  - !ruby/object:Gem::Version
231
- version: 2.0.19
232
+ version: 2.0.21
232
233
  - !ruby/object:Gem::Dependency
233
234
  name: ruby-progressbar
234
235
  requirement: !ruby/object:Gem::Requirement
@@ -272,7 +273,7 @@ dependencies:
272
273
  version: '2.0'
273
274
  - - ">="
274
275
  - !ruby/object:Gem::Version
275
- version: 2.0.11
276
+ version: 2.0.12
276
277
  type: :development
277
278
  prerelease: false
278
279
  version_requirements: !ruby/object:Gem::Requirement
@@ -282,7 +283,7 @@ dependencies:
282
283
  version: '2.0'
283
284
  - - ">="
284
285
  - !ruby/object:Gem::Version
285
- version: 2.0.11
286
+ version: 2.0.12
286
287
  description: "\U0001F680 turbo_tests2` is an RSpec parallel test runner built on `parallel_tests`.
287
288
  It uses `parallel_tests` for process counts, file grouping, and runtime balancing,
288
289
  then replaces interleaved worker output with incremental summarized RSpec reporting.
@@ -314,10 +315,10 @@ licenses:
314
315
  - MIT
315
316
  metadata:
316
317
  homepage_uri: https://turbo-tests2.galtzo.com
317
- source_code_uri: https://github.com/galtzo-floss/turbo_tests2/tree/v3.2.5
318
- changelog_uri: https://github.com/galtzo-floss/turbo_tests2/blob/v3.2.5/CHANGELOG.md
318
+ source_code_uri: https://github.com/galtzo-floss/turbo_tests2/tree/v3.2.7
319
+ changelog_uri: https://github.com/galtzo-floss/turbo_tests2/blob/v3.2.7/CHANGELOG.md
319
320
  bug_tracker_uri: https://github.com/galtzo-floss/turbo_tests2/issues
320
- documentation_uri: https://www.rubydoc.info/gems/turbo_tests2/3.2.5
321
+ documentation_uri: https://www.rubydoc.info/gems/turbo_tests2/3.2.7
321
322
  funding_uri: https://github.com/sponsors/pboling
322
323
  wiki_uri: https://github.com/galtzo-floss/turbo_tests2/wiki
323
324
  news_uri: https://www.railsbling.com/tags/turbo_tests2
metadata.gz.sig CHANGED
Binary file