split-test-rb 1.0.1 → 1.0.2
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
- data/README.md +10 -4
- data/lib/split_test_rb/version.rb +1 -1
- data/lib/split_test_rb.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9cb166ceb6a788adcf47b71d1ef238cbe94ac18798c2a3a170a99dd44f9715e6
|
|
4
|
+
data.tar.gz: 208cc97019fe0efc571d5f6b69f8b4f75ff6b93d89fb204c367de1a97b53fb08
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 734254624a19e1241eb9f08621947f6a1ea7ff292308c6ac87ab0a0a6b356abd2f93cfa5cb5c26bc6510cd49b3c42f208d7fe8c930abd1ec65354827003adf8f
|
|
7
|
+
data.tar.gz: c50254eab36456759c70d091f67aeca40153b658e0d8533bbafa8245af89b718c1cd4bc9f8faaf0c1d98925cada0dd12a9447f79d65297fd4ef9a98453ceb08f
|
data/README.md
CHANGED
|
@@ -10,12 +10,10 @@ split-test-rb reads RSpec JSON test reports containing execution times and distr
|
|
|
10
10
|
|
|
11
11
|
## Installation
|
|
12
12
|
|
|
13
|
-
Since this gem is not yet published to RubyGems, you need to install it from GitHub.
|
|
14
|
-
|
|
15
13
|
Add to your Gemfile:
|
|
16
14
|
|
|
17
15
|
```ruby
|
|
18
|
-
gem 'split-test-rb'
|
|
16
|
+
gem 'split-test-rb'
|
|
19
17
|
```
|
|
20
18
|
|
|
21
19
|
Then run:
|
|
@@ -30,7 +28,7 @@ First, add split-test-rb to your Gemfile:
|
|
|
30
28
|
|
|
31
29
|
```ruby
|
|
32
30
|
# Gemfile
|
|
33
|
-
gem 'split-test-rb'
|
|
31
|
+
gem 'split-test-rb'
|
|
34
32
|
```
|
|
35
33
|
|
|
36
34
|
For a working example, see this project's own CI configuration:
|
|
@@ -160,6 +158,14 @@ To generate JSON reports with RSpec, use the built-in JSON formatter:
|
|
|
160
158
|
bundle exec rspec --format json --out tmp/rspec-results/results.json
|
|
161
159
|
```
|
|
162
160
|
|
|
161
|
+
## Release
|
|
162
|
+
|
|
163
|
+
To release a new version:
|
|
164
|
+
|
|
165
|
+
1. Update the version number in `lib/split_test_rb/version.rb`
|
|
166
|
+
2. Commit the change and push to `main`
|
|
167
|
+
3. The [Release workflow](.github/workflows/release.yml) automatically creates a git tag (`v*`) and publishes the gem to RubyGems via trusted publishing
|
|
168
|
+
|
|
163
169
|
## License
|
|
164
170
|
|
|
165
171
|
MIT
|
data/lib/split_test_rb.rb
CHANGED
|
@@ -221,7 +221,7 @@ module SplitTestRb
|
|
|
221
221
|
|
|
222
222
|
return default_files if missing_files.empty?
|
|
223
223
|
|
|
224
|
-
warn "Warning:
|
|
224
|
+
warn "Warning: #{missing_files.size} test files not found in JSON, adding with default execution time"
|
|
225
225
|
missing_files.each do |file|
|
|
226
226
|
timings[file] = 1.0
|
|
227
227
|
default_files.add(file)
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: split-test-rb
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Naofumi Fujii
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-03-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rspec
|