turbo_tests 2.2.4 → 2.2.5

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: 0ce3db5b3cf918f8152cd3986f44505ab55127fcdba96194cfb5479416182b20
4
- data.tar.gz: ae140be91a1b0db66f272fc7cc16bcc0d74d8ddc5d769ead501d8e3c5aa41aea
3
+ metadata.gz: c6c93d9468c7edb30f698655b33f8d79a67a6561a84f2ac5aa935a9fb4fb4c0e
4
+ data.tar.gz: 421398111d97f7ec5f79e2023578c60de599375dcd2822d0b3684c0a867f4ef8
5
5
  SHA512:
6
- metadata.gz: 9e80161b5d0ed9b656a59efc2c341a71e3bbc299bcedcfcf284f695aee5c34ba275c2c4b75cea33255db7f5c9c98a242048a72cd1d07534329bf3160f3766a04
7
- data.tar.gz: 261e0183d586a59076db43f1b378ca6425b6bb79cadfca050b705c2fcde4cd847f26201d57716305d42add671c94421ab5e7b671f0324c0c3dacd2921b0114a9
6
+ metadata.gz: c1eb1e2bff07a8cce05938622050a1e2679a8fbce587387f79735b8fbdd9d16ef85ccc02866492257df6a67334e03f83a569a4adb1c5608d0233e4ffc327c08e
7
+ data.tar.gz: 9fda5b61ac9386a0489f68197b088294428b34312e33fff5a5cb5cea9dfa34b367a7af9ff9e6ccd6d3c746591690dd5082bd39afeb7676b1bcacf3624b8e98dd
@@ -20,7 +20,7 @@ jobs:
20
20
  packages: write
21
21
 
22
22
  steps:
23
- - uses: actions/checkout@v3
23
+ - uses: actions/checkout@v4
24
24
  - name: Set up Ruby 2.7
25
25
  uses: ruby/setup-ruby@v1
26
26
  with:
@@ -33,7 +33,7 @@ jobs:
33
33
  bundle install
34
34
  bundle exec turbo_tests
35
35
 
36
- - uses: actions/upload-artifact@v3
36
+ - uses: actions/upload-artifact@v4
37
37
  with:
38
38
  name: "ruby-gem"
39
39
  path: "pkg/*.gem"
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- turbo_tests (2.2.4)
4
+ turbo_tests (2.2.5)
5
5
  parallel_tests (>= 3.3.0, < 5)
6
6
  rspec (>= 3.10)
7
7
 
@@ -84,8 +84,6 @@ module TurboTests
84
84
  **group_opts
85
85
  )
86
86
 
87
- setup_tmp_dir
88
-
89
87
  subprocess_opts = {
90
88
  record_runtime: use_runtime_info,
91
89
  }
@@ -110,15 +108,6 @@ module TurboTests
110
108
 
111
109
  private
112
110
 
113
- def setup_tmp_dir
114
- begin
115
- FileUtils.rm_r("tmp/test-pipes")
116
- rescue Errno::ENOENT
117
- end
118
-
119
- FileUtils.mkdir_p("tmp/test-pipes/")
120
- end
121
-
122
111
  def start_regular_subprocess(tests, process_id, **opts)
123
112
  start_subprocess(
124
113
  {"TEST_ENV_NUMBER" => process_id.to_s},
@@ -140,7 +129,9 @@ module TurboTests
140
129
  env["RUBYOPT"] = ["-I#{File.expand_path("..", __dir__)}", ENV["RUBYOPT"]].compact.join(" ")
141
130
  env["RSPEC_SILENCE_FILTER_ANNOUNCEMENTS"] = "1"
142
131
 
143
- if ENV["BUNDLE_BIN_PATH"]
132
+ if ENV["RSPEC_EXECUTABLE"]
133
+ command_name = ENV["RSPEC_EXECUTABLE"].split
134
+ elsif ENV["BUNDLE_BIN_PATH"]
144
135
  command_name = [ENV["BUNDLE_BIN_PATH"], "exec", "rspec"]
145
136
  else
146
137
  command_name = "rspec"
@@ -1,3 +1,3 @@
1
1
  module TurboTests
2
- VERSION = "2.2.4"
2
+ VERSION = "2.2.5"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: turbo_tests
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.4
4
+ version: 2.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Illia Zub
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-06-18 00:00:00.000000000 Z
11
+ date: 2025-03-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
@@ -58,7 +58,7 @@ dependencies:
58
58
  - - "~>"
59
59
  - !ruby/object:Gem::Version
60
60
  version: '0.14'
61
- description:
61
+ description:
62
62
  email:
63
63
  - ilya@serpapi.com
64
64
  executables:
@@ -96,7 +96,7 @@ metadata:
96
96
  homepage_uri: https://github.com/serpapi/turbo_tests
97
97
  source_code_uri: https://github.com/serpapi/turbo_tests
98
98
  changelog_uri: https://github.com/serpapi/turbo_tests/releases
99
- post_install_message:
99
+ post_install_message:
100
100
  rdoc_options: []
101
101
  require_paths:
102
102
  - lib
@@ -112,7 +112,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
112
112
  version: '0'
113
113
  requirements: []
114
114
  rubygems_version: 3.1.6
115
- signing_key:
115
+ signing_key:
116
116
  specification_version: 4
117
117
  summary: "`turbo_tests` is a drop-in replacement for `grosser/parallel_tests` with
118
118
  incremental summarized output. Source code of `turbo_test` gem is based on Discourse