runtime_groups 0.1.0 → 0.1.1
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 +0 -0
- data/CHANGELOG.md +20 -1
- data/README.md +1 -2
- data/lib/runtime_groups/grouping.rb +1 -1
- data/lib/runtime_groups/version.rb +1 -1
- data/lib/runtime_groups.rb +1 -0
- data.tar.gz.sig +0 -0
- metadata +6 -6
- 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: 14133d120fc0a29b48cf24973d76504d49c6a3063c09b73c494ebe84d245e929
|
|
4
|
+
data.tar.gz: 2c149b3ed4d6ddd3bad32063d99abcd8263262b41886649b1ad96e1f7ab812a0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fb3550fb570bef59d0b61b1c8da6647756b7610b6064571462023936678aff347a9ffd285bab4e0bc6eec9a1dd52b5206496f6ed1bc11bf72139724244330ddb
|
|
7
|
+
data.tar.gz: 62d5525c8e0ccb1f1ad61d5b77e7352673d0cd7e5b32310f2d95a1ee079b928244178edc098a8ae41b1d1b75fbabc9604efa86b9128b5edffbd2a4667ff95245
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data/CHANGELOG.md
CHANGED
|
@@ -30,6 +30,23 @@ Please file a bug if you notice a violation of semantic versioning.
|
|
|
30
30
|
|
|
31
31
|
### Security
|
|
32
32
|
|
|
33
|
+
## [0.1.1] - 2026-10-15
|
|
34
|
+
|
|
35
|
+
- TAG: [v0.1.1][0.1.1t]
|
|
36
|
+
- COVERAGE: 99.20% -- 124/125 lines in 6 files
|
|
37
|
+
- BRANCH COVERAGE: 96.88% -- 31/32 branches in 6 files
|
|
38
|
+
- 93.55% documented
|
|
39
|
+
|
|
40
|
+
### Changed
|
|
41
|
+
|
|
42
|
+
- [kc] kettle-jem/prepare: updated 4 project files:
|
|
43
|
+
- dependencies (4)
|
|
44
|
+
|
|
45
|
+
- [kc] kettle-jem/template: updated 5 project files:
|
|
46
|
+
- code and tests (2)
|
|
47
|
+
- documentation (1)
|
|
48
|
+
- other (2)
|
|
49
|
+
|
|
33
50
|
## [0.1.0] - 2026-10-15
|
|
34
51
|
|
|
35
52
|
- TAG: [v0.1.0][0.1.0t]
|
|
@@ -123,6 +140,8 @@ Please file a bug if you notice a violation of semantic versioning.
|
|
|
123
140
|
legacy manual bundle install path, avoiding setup-time Bundler full-index
|
|
124
141
|
failures against `gem.coop`.
|
|
125
142
|
|
|
126
|
-
[Unreleased]: https://github.com/galtzo-floss/runtime_groups/compare/v0.1.
|
|
143
|
+
[Unreleased]: https://github.com/galtzo-floss/runtime_groups/compare/v0.1.1...HEAD
|
|
144
|
+
[0.1.1]: https://github.com/galtzo-floss/runtime_groups/compare/v0.1.0...v0.1.1
|
|
145
|
+
[0.1.1t]: https://github.com/galtzo-floss/runtime_groups/releases/tag/v0.1.1
|
|
127
146
|
[0.1.0]: https://github.com/galtzo-floss/runtime_groups/compare/e8764d41152b587dbc972e0abe97098794232b36...v0.1.0
|
|
128
147
|
[0.1.0t]: https://github.com/galtzo-floss/runtime_groups/releases/tag/v0.1.0
|
data/README.md
CHANGED
|
@@ -210,7 +210,6 @@ end # ledger is safe to share across processes
|
|
|
210
210
|
RuntimeGroups::Options.spec_opts # => "-O .rspec_parallel" or nil
|
|
211
211
|
```
|
|
212
212
|
|
|
213
|
-
|
|
214
213
|
## 🦷 FLOSS Funding
|
|
215
214
|
|
|
216
215
|
While galtzo-floss tools are free software and will always be, the project would benefit immensely from some funding.
|
|
@@ -563,7 +562,7 @@ Thanks for RTFM. ☺️
|
|
|
563
562
|
[📌gitmoji]: https://gitmoji.dev
|
|
564
563
|
[📌gitmoji-img]: https://img.shields.io/badge/gitmoji_commits-%20%F0%9F%98%9C%20%F0%9F%98%8D-34495e.svg?style=flat-square
|
|
565
564
|
[🧮kloc]: https://www.youtube.com/watch?v=dQw4w9WgXcQ
|
|
566
|
-
[🧮kloc-img]: https://img.shields.io/badge/KLOC-0.
|
|
565
|
+
[🧮kloc-img]: https://img.shields.io/badge/KLOC-0.125-FFDD67.svg?style=for-the-badge&logo=YouTube&logoColor=blue
|
|
567
566
|
[🔐security]: https://github.com/galtzo-floss/runtime_groups/blob/main/SECURITY.md
|
|
568
567
|
[🔐security-img]: https://img.shields.io/badge/security-policy-259D6C.svg?style=flat
|
|
569
568
|
[📄copyright-notice-explainer]: https://opensource.stackexchange.com/questions/5778/why-do-licenses-such-as-the-mit-license-specify-a-single-year
|
|
@@ -53,7 +53,7 @@ module RuntimeGroups
|
|
|
53
53
|
# @return [Array<Array<String>>] exactly `num_groups` arrays of file paths
|
|
54
54
|
# @raise [RuntimeGroups::Error] when num_groups or group_by is invalid
|
|
55
55
|
def in_groups(files, num_groups, group_by: :runtime, runtime_log: nil, allowed_missing: 1.0)
|
|
56
|
-
groups = Array.new(RuntimeGroups.parse_count!(num_groups)) { {
|
|
56
|
+
groups = Array.new(RuntimeGroups.parse_count!(num_groups)) { {weight: 0.0, files: []} }
|
|
57
57
|
weights = with_size(files, group_by: group_by, runtime_log: runtime_log, allowed_missing: allowed_missing)
|
|
58
58
|
|
|
59
59
|
files.sort_by { |file| [-weights[file], file] }.each do |file|
|
|
@@ -4,7 +4,7 @@ module RuntimeGroups
|
|
|
4
4
|
# Version namespace for this gem.
|
|
5
5
|
module Version
|
|
6
6
|
# Current gem version.
|
|
7
|
-
VERSION = "0.1.
|
|
7
|
+
VERSION = "0.1.1"
|
|
8
8
|
end
|
|
9
9
|
# Current gem version exposed at the traditional constant location.
|
|
10
10
|
VERSION = Version::VERSION # Traditional Constant Location
|
data/lib/runtime_groups.rb
CHANGED
data.tar.gz.sig
CHANGED
|
Binary file
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: runtime_groups
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Peter H. Boling
|
|
@@ -66,7 +66,7 @@ dependencies:
|
|
|
66
66
|
version: '3.1'
|
|
67
67
|
- - ">="
|
|
68
68
|
- !ruby/object:Gem::Version
|
|
69
|
-
version: 3.1.
|
|
69
|
+
version: 3.1.13
|
|
70
70
|
type: :development
|
|
71
71
|
prerelease: false
|
|
72
72
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -76,7 +76,7 @@ dependencies:
|
|
|
76
76
|
version: '3.1'
|
|
77
77
|
- - ">="
|
|
78
78
|
- !ruby/object:Gem::Version
|
|
79
|
-
version: 3.1.
|
|
79
|
+
version: 3.1.13
|
|
80
80
|
- !ruby/object:Gem::Dependency
|
|
81
81
|
name: bundler-audit
|
|
82
82
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -284,10 +284,10 @@ licenses:
|
|
|
284
284
|
- MIT
|
|
285
285
|
metadata:
|
|
286
286
|
homepage_uri: https://github.com/galtzo-floss/runtime_groups
|
|
287
|
-
source_code_uri: https://github.com/galtzo-floss/runtime_groups/tree/v0.1.
|
|
288
|
-
changelog_uri: https://github.com/galtzo-floss/runtime_groups/blob/v0.1.
|
|
287
|
+
source_code_uri: https://github.com/galtzo-floss/runtime_groups/tree/v0.1.1
|
|
288
|
+
changelog_uri: https://github.com/galtzo-floss/runtime_groups/blob/v0.1.1/CHANGELOG.md
|
|
289
289
|
bug_tracker_uri: https://github.com/galtzo-floss/runtime_groups/issues
|
|
290
|
-
documentation_uri: https://www.rubydoc.info/gems/runtime_groups/0.1.
|
|
290
|
+
documentation_uri: https://www.rubydoc.info/gems/runtime_groups/0.1.1
|
|
291
291
|
funding_uri: https://github.com/sponsors/pboling
|
|
292
292
|
wiki_uri: https://github.com/galtzo-floss/runtime_groups/wiki
|
|
293
293
|
news_uri: https://www.railsbling.com/tags/runtime_groups
|
metadata.gz.sig
CHANGED
|
Binary file
|