sorare-rewards 1.3.0.beta0 → 1.3.0
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 +2 -1
- data/lib/sorare/rewards/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 01fd7615db59531b3ff62b6cb1c41ff0df013b21faa6f2cd606dc8c3bfa8ecbb
|
4
|
+
data.tar.gz: efd268efe1bc3ce02dc7a02c49b0e5caa777152aef6bdb5ada31a38b51f62ca9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 29d31f438e4962fa3381f783cd263307f1dfb5562eaf0e8eb06b36dc9aca4848efb03ed4d07e4d12fa5eba77a309873a9add2184f214262ac425287f5767b52d
|
7
|
+
data.tar.gz: b3eabfe23636dbdb50b18abfc4fbad687ca42c80d5d82e1cb88c5017b754bdf555614e7c3090793adc3493432de76bf53ce3e0194e8d85c7d972fd4eda79f25a
|
data/Gemfile.lock
CHANGED
@@ -19,6 +19,7 @@ module Sorare
|
|
19
19
|
|
20
20
|
delegate :league, :allocations, :pickers, to: :context
|
21
21
|
delegate :game_week, to: :league
|
22
|
+
delegate :public_seed, :salt, to: :game_week
|
22
23
|
|
23
24
|
def call
|
24
25
|
context.pickers = {}
|
@@ -48,7 +49,7 @@ module Sorare
|
|
48
49
|
end
|
49
50
|
|
50
51
|
def initialize_tier_picker(players, rarity, tier)
|
51
|
-
pickers[rarity][tier] = CardPicker.new(
|
52
|
+
pickers[rarity][tier] = CardPicker.new(public_seed, salt)
|
52
53
|
|
53
54
|
players.each do |slug, _|
|
54
55
|
pickers[rarity][tier].add_player(slug, player_supply(rarity, slug))
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sorare-rewards
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.0
|
4
|
+
version: 1.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- pierre
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-11-
|
11
|
+
date: 2021-11-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -222,9 +222,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
222
222
|
version: 2.7.1
|
223
223
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
224
224
|
requirements:
|
225
|
-
- - "
|
225
|
+
- - ">="
|
226
226
|
- !ruby/object:Gem::Version
|
227
|
-
version:
|
227
|
+
version: '0'
|
228
228
|
requirements: []
|
229
229
|
rubygems_version: 3.2.22
|
230
230
|
signing_key:
|