sorare-rewards 1.0.0.beta5 → 1.0.0.beta6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/sorare/rewards/interactors/cards/pick_for_league.rb +3 -3
- data/lib/sorare/rewards/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a6ac55415caee01344ea3fb68411443fed5f2e41ac4df950d3593ddce547691b
|
4
|
+
data.tar.gz: 48f6b7ef6a1d50ec0581e9c38fe776e3301c6ce8e5eae6fe21d2907db2f9f3d3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 45188d37f7078eeab6801cb7cd971e71c997c5cebdc8b33cfca884602a23c9eaa4f5c49d7ca3a12113c481057d1cda1a2371324b4bd61f06281c4bfd54970b0d
|
7
|
+
data.tar.gz: '09af28b3ae1c9956b7658c99b4523b7fc675a23d59de3b4eb5ab998fdc07070d2d0ee141d53a3a31fbfc9a7ede15048601bf094d5dbb69253a8b5327cb90b21d'
|
data/Gemfile.lock
CHANGED
@@ -50,12 +50,12 @@ module Sorare
|
|
50
50
|
def initialize_tier_picker(players, rarity, tier)
|
51
51
|
pickers[rarity][tier] = Picker.new(game_week.public_seed, salt)
|
52
52
|
|
53
|
-
players.each do |slug|
|
54
|
-
pickers[rarity][tier].add_player(slug, player_supply(
|
53
|
+
players.each do |slug, _|
|
54
|
+
pickers[rarity][tier].add_player(slug, player_supply(rarity, slug))
|
55
55
|
end
|
56
56
|
end
|
57
57
|
|
58
|
-
def player_supply(
|
58
|
+
def player_supply(rarity, slug)
|
59
59
|
game_week.player(slug).overall_supply(league, rarity)
|
60
60
|
end
|
61
61
|
end
|