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 +4 -4
- checksums.yaml.gz.sig +3 -3
- data/CHANGELOG.md +13 -1
- data/lib/turbo_tests/json_rows_formatter.rb +14 -1
- data/lib/turbo_tests/runner.rb +3 -1
- data/lib/turbo_tests/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +11 -11
- 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: 896b2cd3a1a1e517516e76797c8a6a9783d1883d43a215086c165ecb72eea59c
|
|
4
|
+
data.tar.gz: ce168afe9a512e7ab9d10cc165d034e2a9d0e8cbe735583ea0c4d7742134ff4b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 24ec7b6ddde8980013440ccdc0792ba033698470f73469dd726028778bcfc2afaf29e146c421ec924475b1937c2a7253e43bc8e193fb2cdd695ad953e3a009ad
|
|
7
|
+
data.tar.gz: f26102397a81ae27a5518451a8be811d4346674e7b98c3cbfb692a45f58422ce5a2c4090bf3aa13d0a52d7000f654848295e37a3e0ef73987ddcc2383bd7a5e8
|
checksums.yaml.gz.sig
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
3;հ��ߐӑ���'��Wǫ?�g� Ѧ���IQs�.�X�{u�Bܔ�\�M(�{B���5K�����s�Ҁ.��"X����e��:Qr�\;�g��� #3�O���G9�C�zX?�K�Yt����~�t\0#�w&p�r��h����z��`� ��O8�s��Mэ�G��uʒ��ޥ,�#j�fO���*����:
|
|
2
|
+
ڀ��|�FU����ڔ�\���4y�&=E�?�KJ:���va�<!���M�7���f_�l[���P���J4^�ǘ=%i�����o�db�Q���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.
|
|
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
|
data/lib/turbo_tests/runner.rb
CHANGED
|
@@ -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(
|
|
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
|
data/lib/turbo_tests/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: turbo_tests2
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.1.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
316
|
-
changelog_uri: https://github.com/galtzo-floss/turbo_tests2/blob/v3.1.
|
|
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.
|
|
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.
|
|
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
|