turbo_tests2 3.1.7 → 3.1.8

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: e444f1953cfde46e5e7f26987d906fb2defe9a897bc25276976eefcee15e04e7
4
- data.tar.gz: 23a06d24ba5f7af5b2720da6abcad8b22b45b8500b48256facb6486e30cf4cdf
3
+ metadata.gz: 896b2cd3a1a1e517516e76797c8a6a9783d1883d43a215086c165ecb72eea59c
4
+ data.tar.gz: ce168afe9a512e7ab9d10cc165d034e2a9d0e8cbe735583ea0c4d7742134ff4b
5
5
  SHA512:
6
- metadata.gz: e965515e3b41e4a9996ba563cb4a3c3c6885d8b0d8b2af925aa3ce499f8225df52faf0364aff49eb25cbeb078d37cbb0ff734034aa64d623e7bdcb9f146d5c71
7
- data.tar.gz: 2a4aaa4fc5e223bf31009da14996ad5262b7eee2e1b1ff0e61adfe78dad90fdd0c70b86c3e2fbc2b3da86ba60ce6d732b39fabb96a587aee9e7599c128b4e2cc
6
+ metadata.gz: 24ec7b6ddde8980013440ccdc0792ba033698470f73469dd726028778bcfc2afaf29e146c421ec924475b1937c2a7253e43bc8e193fb2cdd695ad953e3a009ad
7
+ data.tar.gz: f26102397a81ae27a5518451a8be811d4346674e7b98c3cbfb692a45f58422ce5a2c4090bf3aa13d0a52d7000f654848295e37a3e0ef73987ddcc2383bd7a5e8
checksums.yaml.gz.sig CHANGED
@@ -1,3 +1,3 @@
1
- v�����:���b�(����o�@㘶)NRG W�M�C���cP8
2
- ���� ]Q� 2��*�bWqNK��M�\FZPdGB�Zhn��SE:c
3
- ����SXOe��]��rM!�z�黎�y"7��&�c�����FR��d����^������ɥ1_�%r�Xj/n��$�.��D>�HX<���Q�'���D��i�3WT �q�`#���4�^�K��Z�Lx1�H��x�F@QH�?0�`m NY�߾V�nl[Mo�Q���إ���ƿ�L�X��*N]�����Rd0����:a&r� {�>���)D�Tے&L.n���Jr�P�
1
+ 3;հ��ߐӑ���'��Wǫ?�g� Ѧ���IQs�.�X�{uBܔ�\�M(�{B���5K�����s�Ҁ.��"X����e��:Qr�\;�g��� #3�O���G9� C�zX?�KYt����~�t\0#�w&pr��h����z��`� ��O8s��Mэ�G��uʒ��ޥ,�#jfO���*����:
2
+ ڀ��|�FU����ڔ�\�Ÿ��4y�&=E�?�KJ:���va�<!���M�7���f_l[���P݌���J4^�ǘ=%i�����odbQ���s׿�~U`t"��0���L����'o}I�K�
3
+ +S�%*���fӀ�n����}'�?p&�Ի31k�o#Ӱ/F�
data/CHANGELOG.md CHANGED
@@ -28,8 +28,18 @@ Please file a bug if you notice a violation of semantic versioning.
28
28
 
29
29
  ### Fixed
30
30
 
31
+ - Prevented invalid UTF-8 bytes in worker output from crashing the parent
32
+ runner on JRuby after the underlying RSpec examples pass.
33
+
31
34
  ### Security
32
35
 
36
+ ## [3.1.8] - 2026-07-14
37
+
38
+ - TAG: [v3.1.8][3.1.8t]
39
+ - COVERAGE: 97.40% -- 636/653 lines in 10 files
40
+ - BRANCH COVERAGE: 89.47% -- 136/152 branches in 10 files
41
+ - 37.08% documented
42
+
33
43
  ## [3.1.7] - 2026-07-11
34
44
 
35
45
  - TAG: [v3.1.7][3.1.7t]
@@ -213,7 +223,9 @@ Please file a bug if you notice a violation of semantic versioning.
213
223
 
214
224
  - Initial release
215
225
 
216
- [Unreleased]: https://github.com/galtzo-floss/turbo_tests2/compare/v3.1.7...HEAD
226
+ [Unreleased]: https://github.com/galtzo-floss/turbo_tests2/compare/v3.1.8...HEAD
227
+ [3.1.8]: https://github.com/galtzo-floss/turbo_tests2/compare/v3.1.7...v3.1.8
228
+ [3.1.8t]: https://github.com/galtzo-floss/turbo_tests2/releases/tag/v3.1.8
217
229
  [3.1.7]: https://github.com/galtzo-floss/turbo_tests2/compare/v3.1.6...v3.1.7
218
230
  [3.1.7t]: https://github.com/galtzo-floss/turbo_tests2/releases/tag/v3.1.7
219
231
  [3.1.6]: https://github.com/galtzo-floss/turbo_tests2/compare/v3.1.5...v3.1.6
@@ -210,8 +210,21 @@ module TurboTests
210
210
  end
211
211
 
212
212
  def output_row(obj)
213
- output.puts "#{ENV.fetch("RSPEC_FORMATTER_OUTPUT_ID", "")}#{obj.to_json}"
213
+ output.puts "#{ENV.fetch("RSPEC_FORMATTER_OUTPUT_ID", "")}#{json_ready(obj).to_json}"
214
214
  output.flush
215
215
  end
216
+
217
+ def json_ready(obj)
218
+ case obj
219
+ when Hash
220
+ obj.transform_values { |value| json_ready(value) }
221
+ when Array
222
+ obj.map { |value| json_ready(value) }
223
+ when String
224
+ obj.dup.force_encoding(Encoding::UTF_8).scrub
225
+ else
226
+ obj
227
+ end
228
+ end
216
229
  end
217
230
  end
@@ -297,8 +297,9 @@ module TurboTests
297
297
  stdout_thread =
298
298
  Thread.new do
299
299
  begin
300
+ output_id = env["RSPEC_FORMATTER_OUTPUT_ID"].b
300
301
  stdout.each_line do |line|
301
- result = line.split(env["RSPEC_FORMATTER_OUTPUT_ID"])
302
+ result = line.b.split(output_id)
302
303
 
303
304
  initial = result.shift
304
305
  print(initial) unless initial.empty?
@@ -306,6 +307,7 @@ module TurboTests
306
307
  message = result.shift
307
308
  next unless message
308
309
 
310
+ message = message.dup.force_encoding(Encoding::UTF_8).scrub
309
311
  message = JSON.parse(message, symbolize_names: true)
310
312
 
311
313
  message[:process_id] = process_id
@@ -2,7 +2,7 @@
2
2
 
3
3
  module TurboTests
4
4
  module Version
5
- VERSION = "3.1.7"
5
+ VERSION = "3.1.8"
6
6
  end
7
7
  VERSION = Version::VERSION # Traditional Constant Location
8
8
  end
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.1.7
4
+ version: 3.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Illia
@@ -90,7 +90,7 @@ dependencies:
90
90
  version: '1.1'
91
91
  - - ">="
92
92
  - !ruby/object:Gem::Version
93
- version: 1.1.13
93
+ version: 1.1.14
94
94
  type: :runtime
95
95
  prerelease: false
96
96
  version_requirements: !ruby/object:Gem::Requirement
@@ -100,7 +100,7 @@ dependencies:
100
100
  version: '1.1'
101
101
  - - ">="
102
102
  - !ruby/object:Gem::Version
103
- version: 1.1.13
103
+ version: 1.1.14
104
104
  - !ruby/object:Gem::Dependency
105
105
  name: kettle-dev
106
106
  requirement: !ruby/object:Gem::Requirement
@@ -110,7 +110,7 @@ dependencies:
110
110
  version: '2.3'
111
111
  - - ">="
112
112
  - !ruby/object:Gem::Version
113
- version: 2.3.1
113
+ version: 2.3.4
114
114
  type: :development
115
115
  prerelease: false
116
116
  version_requirements: !ruby/object:Gem::Requirement
@@ -120,7 +120,7 @@ dependencies:
120
120
  version: '2.3'
121
121
  - - ">="
122
122
  - !ruby/object:Gem::Version
123
- version: 2.3.1
123
+ version: 2.3.4
124
124
  - !ruby/object:Gem::Dependency
125
125
  name: bundler-audit
126
126
  requirement: !ruby/object:Gem::Requirement
@@ -232,7 +232,7 @@ dependencies:
232
232
  version: '1.0'
233
233
  - - ">="
234
234
  - !ruby/object:Gem::Version
235
- version: 1.0.5
235
+ version: 1.0.6
236
236
  type: :development
237
237
  prerelease: false
238
238
  version_requirements: !ruby/object:Gem::Requirement
@@ -242,7 +242,7 @@ dependencies:
242
242
  version: '1.0'
243
243
  - - ">="
244
244
  - !ruby/object:Gem::Version
245
- version: 1.0.5
245
+ version: 1.0.6
246
246
  - !ruby/object:Gem::Dependency
247
247
  name: gitmoji-regex
248
248
  requirement: !ruby/object:Gem::Requirement
@@ -312,10 +312,10 @@ licenses:
312
312
  - MIT
313
313
  metadata:
314
314
  homepage_uri: https://turbo-tests2.galtzo.com
315
- source_code_uri: https://github.com/galtzo-floss/turbo_tests2/tree/v3.1.7
316
- changelog_uri: https://github.com/galtzo-floss/turbo_tests2/blob/v3.1.7/CHANGELOG.md
315
+ source_code_uri: https://github.com/galtzo-floss/turbo_tests2/tree/v3.1.8
316
+ changelog_uri: https://github.com/galtzo-floss/turbo_tests2/blob/v3.1.8/CHANGELOG.md
317
317
  bug_tracker_uri: https://github.com/galtzo-floss/turbo_tests2/issues
318
- documentation_uri: https://www.rubydoc.info/gems/turbo_tests2/3.1.7
318
+ documentation_uri: https://www.rubydoc.info/gems/turbo_tests2/3.1.8
319
319
  funding_uri: https://github.com/sponsors/pboling
320
320
  wiki_uri: https://github.com/galtzo-floss/turbo_tests2/wiki
321
321
  news_uri: https://www.railsbling.com/tags/turbo_tests2
@@ -345,7 +345,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
345
345
  - !ruby/object:Gem::Version
346
346
  version: '0'
347
347
  requirements: []
348
- rubygems_version: 4.0.10
348
+ rubygems_version: 4.0.16
349
349
  specification_version: 4
350
350
  summary: "\U0001F680 RSpec parallel test runner built on `parallel_tests`, with incremental
351
351
  summarized output"
metadata.gz.sig CHANGED
Binary file