type_balancer 0.1.4 → 0.2.0

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.
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: type_balancer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Carl Smith
8
8
  bindir: exe
9
9
  cert_chain: []
10
- date: 2025-04-29 00:00:00.000000000 Z
10
+ date: 2025-05-01 00:00:00.000000000 Z
11
11
  dependencies: []
12
12
  description: Balances types in collections by ensuring each type appears a similar
13
13
  number of times
@@ -43,6 +43,7 @@ files:
43
43
  - docs/calculate_positions.md
44
44
  - docs/quality.md
45
45
  - examples/balance_test_data.yml
46
+ - examples/large_scale_balance_test.rb
46
47
  - examples/quality.rb
47
48
  - lib/type_balancer.rb
48
49
  - lib/type_balancer/alternating_filler.rb
@@ -55,6 +56,10 @@ files:
55
56
  - lib/type_balancer/position_calculator.rb
56
57
  - lib/type_balancer/ratio_calculator.rb
57
58
  - lib/type_balancer/sequential_filler.rb
59
+ - lib/type_balancer/strategies.rb
60
+ - lib/type_balancer/strategies/base_strategy.rb
61
+ - lib/type_balancer/strategies/sliding_window_strategy.rb
62
+ - lib/type_balancer/strategy_factory.rb
58
63
  - lib/type_balancer/type_extractor.rb
59
64
  - lib/type_balancer/type_extractor_registry.rb
60
65
  - lib/type_balancer/version.rb