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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0a70b22851cb74e28254ed02396bcb2663b0af657ea7b91ab95517d8be764e27
4
- data.tar.gz: 8bee3c9c69e8e7cbf16ad0f612b9cbbde502582cc657e4b952ded56e6c11fce5
3
+ metadata.gz: a6ac55415caee01344ea3fb68411443fed5f2e41ac4df950d3593ddce547691b
4
+ data.tar.gz: 48f6b7ef6a1d50ec0581e9c38fe776e3301c6ce8e5eae6fe21d2907db2f9f3d3
5
5
  SHA512:
6
- metadata.gz: 9ccfd7fa498eb3c7795a0c658a6921703bcd25bd536f3742aac1492e7d7e0963bb6828b4ed3836e40aab6d1844542353c137c447e461af3ca88da3eb67969936
7
- data.tar.gz: 6baec2fd1cec6cbdb0c3493c64169afabe0d07df70920b6f8a8a253a8a330053feed8a1a03ed62e0d4034b6aab601a4fe90dd8a213c514fdf77bf56fddf2d59e
6
+ metadata.gz: 45188d37f7078eeab6801cb7cd971e71c997c5cebdc8b33cfca884602a23c9eaa4f5c49d7ca3a12113c481057d1cda1a2371324b4bd61f06281c4bfd54970b0d
7
+ data.tar.gz: '09af28b3ae1c9956b7658c99b4523b7fc675a23d59de3b4eb5ab998fdc07070d2d0ee141d53a3a31fbfc9a7ede15048601bf094d5dbb69253a8b5327cb90b21d'
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- sorare-rewards (1.0.0.beta5)
4
+ sorare-rewards (1.0.0.beta6)
5
5
  activesupport (~> 6.1)
6
6
  interactor (~> 3.0)
7
7
  json (~> 2)
@@ -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(league, rarity, slug))
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(league, rarity, slug)
58
+ def player_supply(rarity, slug)
59
59
  game_week.player(slug).overall_supply(league, rarity)
60
60
  end
61
61
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Sorare
4
4
  module Rewards
5
- VERSION = '1.0.0.beta5'
5
+ VERSION = '1.0.0.beta6'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sorare-rewards
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.beta5
4
+ version: 1.0.0.beta6
5
5
  platform: ruby
6
6
  authors:
7
7
  - pierre