tournament-system 1.0.0 → 1.0.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 768d7d740fb6a7c2bec21c85c8d9267029874025
4
- data.tar.gz: f4ecb036fee09e7ce76acf9fb459285751adf480
3
+ metadata.gz: 304d1ce278415785ee5095d422bbe46c60fb374b
4
+ data.tar.gz: 98b951a4b5a1d121a83db99ee83bfcde7662e821
5
5
  SHA512:
6
- metadata.gz: 2c7045cb22a5097dfbc2e1823750fd5e2a13e445dffa634c5ce5c96bcd922d34e73e8698d6983749e74012c0f172b7e93ebcc5bfdc1ec17b7eb434bece7af8da
7
- data.tar.gz: 7a89d1d96e43e02f60c9e123a6f799ddc0f7970d6b011973e97ce2232e27ac2612fd95ca473075cca28882bc81774185b526dd1a8ca4a74213b982f95d08948e
6
+ metadata.gz: 6a80a1cd4e05abfdcec9e18235a2bb2274a653b0ed0940ff35a0855cf6d1f3ee33cc18002bcd5f1b3fe5d173226acdadb48279a9bb11045642caadd42a8714bc
7
+ data.tar.gz: 45245d863abc08fbab334bd335bb5e6fda09d13f12c19f6c8b147058171af32e9a1fd0dd1dea4a203af7ea9545779832783be0743a72c6d60a7f3cc21596cf52
@@ -74,7 +74,7 @@ module Tournament
74
74
 
75
75
  state.matches = state.driver.matches_hash
76
76
 
77
- state.score_range = state.scores.keys.max - state.scores.keys.min
77
+ state.score_range = state.scores.values.max - state.scores.values.min
78
78
  state.average_score_difference = state.score_range / teams.length.to_f
79
79
 
80
80
  state.team_index_map = teams.map.with_index.to_h
@@ -1,4 +1,4 @@
1
1
  module Tournament
2
2
  # The current version of this gem.
3
- VERSION = '1.0.0'.freeze
3
+ VERSION = '1.0.1'.freeze
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tournament-system
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Benjamin Schaaf