sorare-rewards 1.4.2 → 1.4.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +1 -0
- data/Gemfile.lock +12 -1
- data/lib/sorare/rewards/game_week.rb +2 -1
- data/lib/sorare/rewards/version.rb +1 -1
- data/sorare-rewards.gemspec +3 -2
- metadata +19 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8641fffa2c82df83b2e775393fbc68ae16d99857695061d1a8b8af33017c4971
|
4
|
+
data.tar.gz: dc828084b6b07733bb8725e3d62d302ab3601c260c5ed7fbaf81039167df4a07
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ce2bd4d025e0d1efcf6bf8bbefa6e9ff992d751cedaed1a582e07ebe380a6eae2cc4148ebc49be595a5345e8bda235096e287f0cb549a5f9b01f237c86b3d496
|
7
|
+
data.tar.gz: 6a9d835f7cd4c8237676c5b47e7ee6e122162ae1606062a9521754cca70d392941ff0a94413ba69c8e5bbd5dff29fe703dcc009290c766a3422b757e2d81319f
|
data/.rubocop.yml
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
sorare-rewards (1.4.
|
4
|
+
sorare-rewards (1.4.3)
|
5
5
|
activesupport (~> 6.1.4)
|
6
6
|
interactor (~> 3.1.2)
|
7
7
|
json (~> 2)
|
@@ -16,9 +16,14 @@ GEM
|
|
16
16
|
minitest (>= 5.1)
|
17
17
|
tzinfo (~> 2.0)
|
18
18
|
zeitwerk (~> 2.3)
|
19
|
+
addressable (2.8.0)
|
20
|
+
public_suffix (>= 2.0.2, < 5.0)
|
19
21
|
ast (2.4.2)
|
20
22
|
concurrent-ruby (1.1.9)
|
23
|
+
crack (0.4.5)
|
24
|
+
rexml
|
21
25
|
diff-lcs (1.4.4)
|
26
|
+
hashdiff (1.0.1)
|
22
27
|
i18n (1.8.11)
|
23
28
|
concurrent-ruby (~> 1.0)
|
24
29
|
interactor (3.1.2)
|
@@ -28,6 +33,7 @@ GEM
|
|
28
33
|
parallel (1.21.0)
|
29
34
|
parser (3.0.2.0)
|
30
35
|
ast (~> 2.4.1)
|
36
|
+
public_suffix (4.0.6)
|
31
37
|
rainbow (3.0.0)
|
32
38
|
rake (12.3.3)
|
33
39
|
regexp_parser (2.1.1)
|
@@ -64,6 +70,10 @@ GEM
|
|
64
70
|
tzinfo (2.0.4)
|
65
71
|
concurrent-ruby (~> 1.0)
|
66
72
|
unicode-display_width (2.1.0)
|
73
|
+
webmock (3.14.0)
|
74
|
+
addressable (>= 2.8.0)
|
75
|
+
crack (>= 0.3.2)
|
76
|
+
hashdiff (>= 0.4.0, < 2.0.0)
|
67
77
|
yaml (0.2.0)
|
68
78
|
zeitwerk (2.5.1)
|
69
79
|
|
@@ -78,6 +88,7 @@ DEPENDENCIES
|
|
78
88
|
rubocop-rake (~> 0.6.0)
|
79
89
|
rubocop-rspec (~> 2.5.0)
|
80
90
|
sorare-rewards!
|
91
|
+
webmock (~> 3.14.0)
|
81
92
|
|
82
93
|
BUNDLED WITH
|
83
94
|
2.2.30
|
@@ -2,6 +2,7 @@
|
|
2
2
|
|
3
3
|
require 'json'
|
4
4
|
require 'active_support/core_ext/module/delegation'
|
5
|
+
require 'open-uri'
|
5
6
|
|
6
7
|
module Sorare
|
7
8
|
module Rewards
|
@@ -22,7 +23,7 @@ module Sorare
|
|
22
23
|
end
|
23
24
|
|
24
25
|
def data
|
25
|
-
@data ||= JSON.parse(@uri.open)
|
26
|
+
@data ||= JSON.parse(@uri.open.read)
|
26
27
|
end
|
27
28
|
|
28
29
|
def config
|
data/sorare-rewards.gemspec
CHANGED
@@ -5,8 +5,8 @@ require_relative 'lib/sorare/rewards/version'
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = 'sorare-rewards'
|
7
7
|
spec.version = Sorare::Rewards::VERSION
|
8
|
-
spec.authors = ['
|
9
|
-
spec.email = ['
|
8
|
+
spec.authors = ['Sorare team']
|
9
|
+
spec.email = ['hello@sorare.com']
|
10
10
|
|
11
11
|
spec.summary = %w[Sorare reward allocation algorithm]
|
12
12
|
# spec.description = %q{TODO: Write a longer description or delete this line.}
|
@@ -38,4 +38,5 @@ Gem::Specification.new do |spec|
|
|
38
38
|
spec.add_development_dependency 'rubocop', '~> 1.22.1'
|
39
39
|
spec.add_development_dependency 'rubocop-rake', '~> 0.6.0'
|
40
40
|
spec.add_development_dependency 'rubocop-rspec', '~> 2.5.0'
|
41
|
+
spec.add_development_dependency 'webmock', '~> 3.14.0'
|
41
42
|
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.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
7
|
+
- Sorare team
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-01-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -136,9 +136,23 @@ dependencies:
|
|
136
136
|
- - "~>"
|
137
137
|
- !ruby/object:Gem::Version
|
138
138
|
version: 2.5.0
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: webmock
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - "~>"
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: 3.14.0
|
146
|
+
type: :development
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - "~>"
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: 3.14.0
|
139
153
|
description:
|
140
154
|
email:
|
141
|
-
-
|
155
|
+
- hello@sorare.com
|
142
156
|
executables: []
|
143
157
|
extensions: []
|
144
158
|
extra_rdoc_files: []
|
@@ -212,7 +226,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
212
226
|
- !ruby/object:Gem::Version
|
213
227
|
version: '0'
|
214
228
|
requirements: []
|
215
|
-
rubygems_version: 3.
|
229
|
+
rubygems_version: 3.2.22
|
216
230
|
signing_key:
|
217
231
|
specification_version: 4
|
218
232
|
summary: '["Sorare", "reward", "allocation", "algorithm"]'
|