turbo_tests2 3.2.6 → 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 +4 -4
- checksums.yaml.gz.sig +0 -0
- data/CHANGELOG.md +42 -1
- data/LICENSE.md +2 -2
- data/README.md +19 -6
- data/lib/turbo_tests/cli.rb +12 -4
- data/lib/turbo_tests/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +9 -8
- 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: cf123312410105738345f4c9dc065fc29cc5f083d59f674e271fff3195d9e601
|
|
4
|
+
data.tar.gz: d835e84d2eecb41a7c2f712c7491ab460d7a1d1f1aadc060c0d19a5a803958ec
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: efc0bacf63611b3b93150a51b2a0708a2861380797391d1c558661aa38cc3393a20f85e03a1c000ee9fc08ec3e95f3ba08be7478a93d0c87c957d4e7161a518e
|
|
7
|
+
data.tar.gz: ea872015ab396f1cc4b0e3a61c2ec67069a9cba1744136868c3f798b50c5f561cfa517e15c183216f27c8657044b490baf7e21be4dc2c0f0d62e070f68a698b6
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data/CHANGELOG.md
CHANGED
|
@@ -30,6 +30,45 @@ 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
|
+
|
|
33
72
|
## [3.2.6] - 2026-08-13
|
|
34
73
|
|
|
35
74
|
- TAG: [v3.2.6][3.2.6t]
|
|
@@ -535,7 +574,9 @@ Please file a bug if you notice a violation of semantic versioning.
|
|
|
535
574
|
|
|
536
575
|
- Initial release
|
|
537
576
|
|
|
538
|
-
[Unreleased]: https://github.com/galtzo-floss/turbo_tests2/compare/v3.2.
|
|
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
|
|
539
580
|
[3.2.6]: https://github.com/galtzo-floss/turbo_tests2/compare/v3.2.5...v3.2.6
|
|
540
581
|
[3.2.6t]: https://github.com/galtzo-floss/turbo_tests2/releases/tag/v3.2.6
|
|
541
582
|
[3.2.5]: https://github.com/galtzo-floss/turbo_tests2/compare/v3.2.4...v3.2.5
|
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-
|
|
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
|
@@ -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
|
|
123
|
+
### Enterprise Support
|
|
124
|
+
|
|
125
|
+
[](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
|
|
335
|
-
|
|
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
|
|
@@ -528,18 +541,18 @@ See [LICENSE.md][📄license] for the official copyright notice.
|
|
|
528
541
|
<details markdown="1">
|
|
529
542
|
<summary>Copyright holders</summary>
|
|
530
543
|
|
|
531
|
-
- Copyright (c) 2020-
|
|
544
|
+
- Copyright (c) 2020-2024 Illia
|
|
532
545
|
- Copyright (c) 2020 Ilya Zub
|
|
533
546
|
- Copyright (c) 2021 AMHOL
|
|
534
547
|
- Copyright (c) 2021 Serge Bedzhyk
|
|
535
548
|
- Copyright (c) 2023 Bo Anderson
|
|
536
549
|
- Copyright (c) 2023 Dmitiry Zub☀️
|
|
537
|
-
- Copyright (c) 2023-2024 Illia
|
|
538
550
|
- Copyright (c) 2023 mrudzki
|
|
539
551
|
- Copyright (c) 2023-2024 Sebastien Savater
|
|
540
552
|
- Copyright (c) 2024 Hiroshi SHIBATA
|
|
541
553
|
- Copyright (c) 2025-2026 Gareth Jones
|
|
542
554
|
- Copyright (c) 2025-2026 Peter H. Boling
|
|
555
|
+
- Copyright (c) 2026 Jeff Widman
|
|
543
556
|
|
|
544
557
|
</details>
|
|
545
558
|
|
|
@@ -756,7 +769,7 @@ Thanks for RTFM. ☺️
|
|
|
756
769
|
[📌gitmoji]: https://gitmoji.dev
|
|
757
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
|
|
758
771
|
[🧮kloc]: https://www.youtube.com/watch?v=dQw4w9WgXcQ
|
|
759
|
-
[🧮kloc-img]: https://img.shields.io/badge/KLOC-0.
|
|
772
|
+
[🧮kloc-img]: https://img.shields.io/badge/KLOC-0.914-FFDD67.svg?style=for-the-badge&logo=YouTube&logoColor=blue
|
|
760
773
|
[🔐security]: https://github.com/galtzo-floss/turbo_tests2/blob/main/SECURITY.md
|
|
761
774
|
[🔐security-img]: https://img.shields.io/badge/security-policy-259D6C.svg?style=flat
|
|
762
775
|
[📄copyright-notice-explainer]: https://opensource.stackexchange.com/questions/5778/why-do-licenses-such-as-the-mit-license-specify-a-single-year
|
data/lib/turbo_tests/cli.rb
CHANGED
|
@@ -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
|
-
|
|
187
|
-
|
|
188
|
-
|
|
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
|
|
data/lib/turbo_tests/version.rb
CHANGED
|
@@ -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.
|
|
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.
|
|
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
|
- |
|
|
@@ -110,7 +111,7 @@ dependencies:
|
|
|
110
111
|
version: '3.0'
|
|
111
112
|
- - ">="
|
|
112
113
|
- !ruby/object:Gem::Version
|
|
113
|
-
version: 3.0.
|
|
114
|
+
version: 3.0.17
|
|
114
115
|
type: :development
|
|
115
116
|
prerelease: false
|
|
116
117
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -120,7 +121,7 @@ dependencies:
|
|
|
120
121
|
version: '3.0'
|
|
121
122
|
- - ">="
|
|
122
123
|
- !ruby/object:Gem::Version
|
|
123
|
-
version: 3.0.
|
|
124
|
+
version: 3.0.17
|
|
124
125
|
- !ruby/object:Gem::Dependency
|
|
125
126
|
name: bundler-audit
|
|
126
127
|
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.
|
|
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.
|
|
232
|
+
version: 2.0.21
|
|
232
233
|
- !ruby/object:Gem::Dependency
|
|
233
234
|
name: ruby-progressbar
|
|
234
235
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -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.
|
|
318
|
-
changelog_uri: https://github.com/galtzo-floss/turbo_tests2/blob/v3.2.
|
|
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.
|
|
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
|