turbo_tests2 3.2.9 → 3.2.11

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: f63573447de503c49edf269ccd4fc2428f0264be443c581368424984a8d297fd
4
- data.tar.gz: 03ac549c607d360119b7414862675512aae32f551f20e7573ab83a410a44d71e
3
+ metadata.gz: 16d5ef3bd4de0435e874b16139fe1c8b669733bcc93e306adf5716cd26d355b7
4
+ data.tar.gz: 64c1840788d9e9e3f71e02d61b7116b304f3d77baa8b696adb6f0e51c76a4a83
5
5
  SHA512:
6
- metadata.gz: f87df2925ae0e2d74bcb2f3995be14f3384b0ac976d371af927da8ea90681893a5c78b2bdc73f569ebffe55a368d9a9f592822997a72457e3804ace986526a4f
7
- data.tar.gz: 4e7ebf8e0ddfdb6df6c29973dbfac46101109aa26a484045569fd630e6f8e129abf49391d1be84427c1b1b8cf7f58df98324b6f70ea19acd56cd7c74602f527d
6
+ metadata.gz: 95bd55c4719dea01ef407c348e9bae769bf32a8d0891632833106ffd1989fa2d670cc98705fdd0a4aca36f233e280e72cac92a81cf0b4ee6ab0bc4ef13f8782b
7
+ data.tar.gz: 1a4c509273a537ed29d785bd2962676deafc8ddb732d3cea29307d684ef05987bc999298e1593ea85543892a8d293180e96ffab72ff57f41de7193f17aa67545
checksums.yaml.gz.sig CHANGED
@@ -1,4 +1,3 @@
1
- u'�E�����{��f��dt^�)$��(r,��,$g�dc���L�� ���|Hǭ��[E�M���LN*1����5N
2
- �YaK���&^��Jb��t�fn�W�~p�� ��>4�Չočn.@V�����Ў��x(?�S��}`I�50z�(��-��^���}�����!h$A+XZ����7ʜ��U� I�r�$�c�4�2�8��Lqu�2PWjA�)�1���jiF�9^�WM�
3
- �����I
4
- $K�W����o�� �h�!�ߌ\G����4��z`���l| !�K�q� ;�7��������3�Ӱ67 _]���H��/�g��?�zl���^�?��"Z�i =���q���3�W�y�������\����,��2�8N�������$�@�P�.
1
+ J���b�
2
+ ���sm�,�9t4�hz��a�ކ�
3
+ ����M�� g&G���-��
data/CHANGELOG.md CHANGED
@@ -30,6 +30,50 @@ Please file a bug if you notice a violation of semantic versioning.
30
30
 
31
31
  ### Security
32
32
 
33
+ ## [3.2.11] - 2026-09-23
34
+
35
+ - TAG: [v3.2.11][3.2.11t]
36
+ - COVERAGE: 96.83% -- 916/946 lines in 10 files
37
+ - BRANCH COVERAGE: 84.83% -- 246/290 branches in 10 files
38
+ - 36.36% documented
39
+
40
+ ### Changed
41
+
42
+ - Current MRI CI now exercises turbo_tests2 through kettle-test on Ubuntu, macOS, and Windows.
43
+
44
+ - [kc] kettle-jem/prepare: updated 11 project files:
45
+ - dependencies (11)
46
+
47
+ - [kc] kettle-jem/template: updated 5 project files:
48
+ - code and tests (1)
49
+ - dependencies (2)
50
+ - other (1)
51
+ - workflows (1)
52
+
53
+ ### Added
54
+
55
+ - kettle-jem-template-20260913-001 - Templating now also surfaces a review
56
+ entry in `dependency_conflicts.resolve` when a direct development
57
+ dependency doesn't support one or more of this project's declared
58
+ `engines:` and has no template-managed modular home (e.g. `sqlite3` on
59
+ `jruby`). Review each entry and pick a resolution per the project's own
60
+ engine support needs.
61
+
62
+ ### Fixed
63
+
64
+ - The multi-process integration summary assertion now supports RSpec's Ruby 3.0-compatible pending-example totals.
65
+
66
+ - Windows turbo_tests2 workers now invoke Bundler through Ruby instead of executing BUNDLE_BIN_PATH directly.
67
+
68
+ - Windows turbo_tests2 workers now resolve Bundler through RubyGems instead of relying on the Windows command shim.
69
+
70
+ ## [3.2.10] - 2026-09-15
71
+
72
+ - TAG: [v3.2.10][3.2.10t]
73
+ - COVERAGE: 96.79% -- 906/936 lines in 10 files
74
+ - BRANCH COVERAGE: 84.86% -- 241/284 branches in 10 files
75
+ - 36.73% documented
76
+
33
77
  ## [3.2.9] - 2026-09-13
34
78
 
35
79
  - TAG: [v3.2.9][3.2.9t]
@@ -602,7 +646,11 @@ Please file a bug if you notice a violation of semantic versioning.
602
646
 
603
647
  - Initial release
604
648
 
605
- [Unreleased]: https://github.com/galtzo-floss/turbo_tests2/compare/v3.2.9...HEAD
649
+ [Unreleased]: https://github.com/galtzo-floss/turbo_tests2/compare/v3.2.11...HEAD
650
+ [3.2.11]: https://github.com/galtzo-floss/turbo_tests2/compare/v3.2.10...v3.2.11
651
+ [3.2.11t]: https://github.com/galtzo-floss/turbo_tests2/releases/tag/v3.2.11
652
+ [3.2.10]: https://github.com/galtzo-floss/turbo_tests2/compare/v3.2.9...v3.2.10
653
+ [3.2.10t]: https://github.com/galtzo-floss/turbo_tests2/releases/tag/v3.2.10
606
654
  [3.2.9]: https://github.com/galtzo-floss/turbo_tests2/compare/v3.2.8...v3.2.9
607
655
  [3.2.9t]: https://github.com/galtzo-floss/turbo_tests2/releases/tag/v3.2.9
608
656
  [3.2.8]: https://github.com/galtzo-floss/turbo_tests2/compare/v3.2.7...v3.2.8
data/README.md CHANGED
@@ -775,7 +775,7 @@ Thanks for RTFM. ☺️
775
775
  [📌gitmoji]: https://gitmoji.dev
776
776
  [📌gitmoji-img]: https://img.shields.io/badge/gitmoji_commits-%20%F0%9F%98%9C%20%F0%9F%98%8D-34495e.svg?style=flat-square
777
777
  [🧮kloc]: https://www.youtube.com/watch?v=dQw4w9WgXcQ
778
- [🧮kloc-img]: https://img.shields.io/badge/KLOC-0.935-FFDD67.svg?style=for-the-badge&logo=YouTube&logoColor=blue
778
+ [🧮kloc-img]: https://img.shields.io/badge/KLOC-0.946-FFDD67.svg?style=for-the-badge&logo=YouTube&logoColor=blue
779
779
  [🔐security]: https://github.com/galtzo-floss/turbo_tests2/blob/main/SECURITY.md
780
780
  [🔐security-img]: https://img.shields.io/badge/security-policy-259D6C.svg?style=flat
781
781
  [📄copyright-notice-explainer]: https://opensource.stackexchange.com/questions/5778/why-do-licenses-such-as-the-mit-license-specify-a-single-year
@@ -158,10 +158,23 @@ module TurboTests
158
158
  def rspec_configured_files_to_run
159
159
  configuration = RSpec::Core::Configuration.new
160
160
  RSpec::Core::ConfigurationOptions.new(["spec"]).configure(configuration)
161
- root = "#{Dir.pwd}/"
162
161
  configuration.files_to_run.map do |path|
163
- path = path.to_s
164
- path.start_with?(root) ? path[root.length..-1] : path
162
+ expanded_path = File.expand_path(path.to_s).tr("\\", "/")
163
+ root = rspec_root_for(expanded_path)
164
+ root_prefix = "#{root}/"
165
+ expanded_path.start_with?(root_prefix) ? expanded_path[root_prefix.length..-1] : expanded_path
166
+ end
167
+ end
168
+
169
+ def rspec_root_for(path)
170
+ root = File.dirname(path)
171
+ loop do
172
+ return root.tr("\\", "/") if File.file?(File.join(root, ".rspec"))
173
+
174
+ parent = File.dirname(root)
175
+ return File.expand_path(Dir.pwd).tr("\\", "/") if parent == root
176
+
177
+ root = parent
165
178
  end
166
179
  end
167
180
 
@@ -372,7 +385,11 @@ module TurboTests
372
385
  if ENV["RSPEC_EXECUTABLE"]
373
386
  ENV["RSPEC_EXECUTABLE"].split
374
387
  elsif ENV["BUNDLE_BIN_PATH"]
375
- [ENV["BUNDLE_BIN_PATH"], "exec", "rspec"]
388
+ if Gem.win_platform?
389
+ [Gem.ruby, Gem.bin_path("bundler", "bundle"), "exec", "rspec"]
390
+ else
391
+ [ENV["BUNDLE_BIN_PATH"], "exec", "rspec"]
392
+ end
376
393
  else
377
394
  "rspec"
378
395
  end
@@ -668,6 +685,7 @@ module TurboTests
668
685
 
669
686
  def handle_messages
670
687
  exited_process_ids = {}
688
+ process_count = @tests_in_groups&.size || @num_processes
671
689
 
672
690
  loop do
673
691
  message = @messages.pop
@@ -718,7 +736,7 @@ module TurboTests
718
736
 
719
737
  exited_process_ids[process_id] = true
720
738
  @exited_process_ids << process_id
721
- break if exited_process_ids.size == @num_processes
739
+ break if exited_process_ids.size == process_count
722
740
  else
723
741
  warn("Unhandled message in main process: #{message}")
724
742
  end
@@ -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.9"
7
+ VERSION = "3.2.11"
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.9
4
+ version: 3.2.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Illia
@@ -111,7 +111,7 @@ dependencies:
111
111
  version: '3.1'
112
112
  - - ">="
113
113
  - !ruby/object:Gem::Version
114
- version: 3.1.0
114
+ version: 3.1.1
115
115
  type: :development
116
116
  prerelease: false
117
117
  version_requirements: !ruby/object:Gem::Requirement
@@ -121,7 +121,7 @@ dependencies:
121
121
  version: '3.1'
122
122
  - - ">="
123
123
  - !ruby/object:Gem::Version
124
- version: 3.1.0
124
+ version: 3.1.1
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: bundler-audit
127
127
  requirement: !ruby/object:Gem::Requirement
@@ -199,7 +199,7 @@ dependencies:
199
199
  version: '3.2'
200
200
  - - ">="
201
201
  - !ruby/object:Gem::Version
202
- version: 3.2.3
202
+ version: 3.2.4
203
203
  type: :development
204
204
  prerelease: false
205
205
  version_requirements: !ruby/object:Gem::Requirement
@@ -209,7 +209,7 @@ dependencies:
209
209
  version: '3.2'
210
210
  - - ">="
211
211
  - !ruby/object:Gem::Version
212
- version: 3.2.3
212
+ version: 3.2.4
213
213
  - !ruby/object:Gem::Dependency
214
214
  name: kettle-test
215
215
  requirement: !ruby/object:Gem::Requirement
@@ -219,7 +219,7 @@ dependencies:
219
219
  version: '2.0'
220
220
  - - ">="
221
221
  - !ruby/object:Gem::Version
222
- version: 2.0.21
222
+ version: 2.0.22
223
223
  type: :development
224
224
  prerelease: false
225
225
  version_requirements: !ruby/object:Gem::Requirement
@@ -229,7 +229,7 @@ dependencies:
229
229
  version: '2.0'
230
230
  - - ">="
231
231
  - !ruby/object:Gem::Version
232
- version: 2.0.21
232
+ version: 2.0.22
233
233
  - !ruby/object:Gem::Dependency
234
234
  name: ruby-progressbar
235
235
  requirement: !ruby/object:Gem::Requirement
@@ -315,10 +315,10 @@ licenses:
315
315
  - MIT
316
316
  metadata:
317
317
  homepage_uri: https://turbo-tests2.galtzo.com
318
- source_code_uri: https://github.com/galtzo-floss/turbo_tests2/tree/v3.2.9
319
- changelog_uri: https://github.com/galtzo-floss/turbo_tests2/blob/v3.2.9/CHANGELOG.md
318
+ source_code_uri: https://github.com/galtzo-floss/turbo_tests2/tree/v3.2.11
319
+ changelog_uri: https://github.com/galtzo-floss/turbo_tests2/blob/v3.2.11/CHANGELOG.md
320
320
  bug_tracker_uri: https://github.com/galtzo-floss/turbo_tests2/issues
321
- documentation_uri: https://www.rubydoc.info/gems/turbo_tests2/3.2.9
321
+ documentation_uri: https://www.rubydoc.info/gems/turbo_tests2/3.2.11
322
322
  funding_uri: https://github.com/sponsors/pboling
323
323
  wiki_uri: https://github.com/galtzo-floss/turbo_tests2/wiki
324
324
  news_uri: https://www.railsbling.com/tags/turbo_tests2
@@ -349,7 +349,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
349
349
  - !ruby/object:Gem::Version
350
350
  version: '0'
351
351
  requirements: []
352
- rubygems_version: 4.0.17
352
+ rubygems_version: 4.0.20
353
353
  specification_version: 4
354
354
  summary: "\U0001F680 RSpec parallel test runner built on `parallel_tests`, with incremental
355
355
  summarized output"
metadata.gz.sig CHANGED
Binary file