sorare-rewards 1.4.7 → 1.4.8
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d6cf28260c062178e86145831e78dc6df1698d0dd5da71b9e912c43ad3490819
|
4
|
+
data.tar.gz: b8568cee0173df5c1f6682f6ebc8381e10102bb4a1bee09ff11836098e6be6fa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c3e88fbd0e0075431410adfa570d3f491039eb7172a933cce94cfded653dfe6f03599c73f35c7caaf5a49964e6235e3ae2d761f316f4ad7278b4c84641a7aab6
|
7
|
+
data.tar.gz: 6df7258e3b292a6ea86cf36d0602c08c4e8762c89629d50928fbc69feac19ac1c05fc2fc8dfcec6650c73f4067b573e15512967e0c52161d7312d33b53a0a722
|
@@ -13,7 +13,7 @@ module Sorare
|
|
13
13
|
class PickForDivisionRarityAndQuality
|
14
14
|
include Interactor
|
15
15
|
|
16
|
-
MISSING_CARDS = 'There are not enough cards to fulfill the requirements'
|
16
|
+
MISSING_CARDS = 'There are not enough cards to fulfill the requirements for %<league>s %<rarity>s'
|
17
17
|
|
18
18
|
receive :picker, :allocations, :league, :rarity, force: false
|
19
19
|
hold :cards_picked
|
@@ -48,7 +48,7 @@ module Sorare
|
|
48
48
|
def check_length!
|
49
49
|
return if cards_picked.length == allocations
|
50
50
|
|
51
|
-
context.fail!(error: MISSING_CARDS)
|
51
|
+
context.fail!(error: format(MISSING_CARDS, { league: league, rarity: rarity }))
|
52
52
|
end
|
53
53
|
end
|
54
54
|
end
|
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.4.
|
4
|
+
version: 1.4.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sorare team
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-02-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -227,7 +227,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
227
227
|
- !ruby/object:Gem::Version
|
228
228
|
version: '0'
|
229
229
|
requirements: []
|
230
|
-
rubygems_version: 3.
|
230
|
+
rubygems_version: 3.3.3
|
231
231
|
signing_key:
|
232
232
|
specification_version: 4
|
233
233
|
summary: '["Sorare", "reward", "allocation", "algorithm"]'
|