sorare-rewards 1.6.1.beta0 → 1.6.1

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: 8370061be37fcc5b47e0385d7b170756346dab977c2c9443ae95a4ef14f0822a
4
- data.tar.gz: '06823bf746e7213bb7e968efd7b7ca40355db050f0c867602a135b19fe14d9e9'
3
+ metadata.gz: 38fe659ab33e79714721c052866e62d2b04375198d308c53194cc95cefc25229
4
+ data.tar.gz: 57e134db9a7bbacac9dd34443acdc613b1f09c5cb666ee7583b3794bd623aab6
5
5
  SHA512:
6
- metadata.gz: 9486472320ab1aa28c6cb556c6d1342b971e9d0ef5742862c2259fa0145d38340836774b1f93aaeddd10f391ad67c174aa4d54c3adab5f350b19e09b65170bb6
7
- data.tar.gz: f2741b7d9fcf0356cd8393b399123955b88cc6431dbb63a5dc485156b020ee63c10a0c32f284d9fb9d6b578851e99dd41cc565d7dfd37a70d000ce4821b48c8f
6
+ metadata.gz: 0c11a7b3f806d9ca9e7ec51819ad5c52a644c40756fe27e22b8369a61e8e9fd23ea17f1676eee86ab272722b9c08bc14f2a8033208b15224f6b0fc84a4ddcd3f
7
+ data.tar.gz: 1dce4947e410ccca8f7f9a302d22d26825d7aeefe3ec3866e7740816118b876f43f1ddb42b54d1f246235efcb425fbc591bc689051d7ad0832e35886fa0771ed
data/CHANGELOG.md CHANGED
@@ -1,9 +1,3 @@
1
- ## [1.6.1] - 2022-09-15
2
-
3
- ### Bug fix
4
-
5
- - Fix invalid `require`
6
-
7
1
  ## [1.6.0] - 2022-08-12
8
2
 
9
3
  ### Added
data/Gemfile.lock CHANGED
@@ -1,34 +1,43 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- sorare-rewards (1.6.0)
4
+ sorare-rewards (1.6.1)
5
5
  activesupport (>= 6.1.4)
6
6
  interactor_with_steroids (>= 1.0.0)
7
7
  json (~> 2)
8
- yaml (~> 0.2.0)
9
8
 
10
9
  GEM
11
10
  remote: https://rubygems.org/
12
11
  specs:
13
- activesupport (7.0.2.2)
12
+ activesupport (7.1.3)
13
+ base64
14
+ bigdecimal
14
15
  concurrent-ruby (~> 1.0, >= 1.0.2)
16
+ connection_pool (>= 2.2.5)
17
+ drb
15
18
  i18n (>= 1.6, < 2)
16
19
  minitest (>= 5.1)
20
+ mutex_m
17
21
  tzinfo (~> 2.0)
18
22
  addressable (2.8.0)
19
23
  public_suffix (>= 2.0.2, < 5.0)
20
24
  ast (2.4.2)
21
- concurrent-ruby (1.1.9)
25
+ base64 (0.2.0)
26
+ bigdecimal (3.1.7)
27
+ concurrent-ruby (1.2.3)
28
+ connection_pool (2.4.1)
22
29
  crack (0.4.5)
23
30
  rexml
24
31
  diff-lcs (1.4.4)
32
+ drb (2.2.1)
25
33
  hashdiff (1.0.1)
26
- i18n (1.10.0)
34
+ i18n (1.14.4)
27
35
  concurrent-ruby (~> 1.0)
28
- interactor_with_steroids (1.1.2)
36
+ interactor_with_steroids (1.5.1)
29
37
  activesupport
30
- json (2.6.1)
31
- minitest (5.15.0)
38
+ json (2.6.3)
39
+ minitest (5.22.3)
40
+ mutex_m (0.2.0)
32
41
  ostruct (0.4.0)
33
42
  parallel (1.21.0)
34
43
  parser (3.1.0.0)
@@ -67,14 +76,13 @@ GEM
67
76
  rubocop-rspec (2.5.0)
68
77
  rubocop (~> 1.19)
69
78
  ruby-progressbar (1.11.0)
70
- tzinfo (2.0.4)
79
+ tzinfo (2.0.6)
71
80
  concurrent-ruby (~> 1.0)
72
81
  unicode-display_width (2.1.0)
73
82
  webmock (3.14.0)
74
83
  addressable (>= 2.8.0)
75
84
  crack (>= 0.3.2)
76
85
  hashdiff (>= 0.4.0, < 2.0.0)
77
- yaml (0.2.0)
78
86
 
79
87
  PLATFORMS
80
88
  ruby
data/README.md CHANGED
@@ -31,7 +31,7 @@ To compute rewards for a game week :
31
31
  ```ruby
32
32
  rewards = Sorare::Rewards::GameWeekRewards.new(game_week: game_week)
33
33
 
34
- # Cards allocations :
34
+ # Cards allocations :
35
35
  rewards.card_allocations
36
36
 
37
37
  # Cards :
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'sorare/rewards/flat_picker'
3
+ require './lib/sorare/rewards/flat_picker'
4
4
 
5
5
  module Sorare
6
6
  module Rewards
@@ -2,7 +2,7 @@
2
2
 
3
3
  require 'active_support/concern'
4
4
  require 'interactor'
5
- require 'sorare/rewards/interactors/concerns/with_picker_options'
5
+ require './lib/sorare/rewards/interactors/concerns/with_picker_options'
6
6
 
7
7
  module Sorare
8
8
  module Rewards
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Sorare
4
4
  module Rewards
5
- VERSION = '1.6.1.beta0'
5
+ VERSION = '1.6.1'
6
6
  end
7
7
  end
@@ -32,7 +32,6 @@ Gem::Specification.new do |spec|
32
32
  spec.add_dependency 'activesupport', '>= 6.1.4'
33
33
  spec.add_dependency 'interactor_with_steroids', '>= 1.0.0'
34
34
  spec.add_dependency 'json', '~> 2'
35
- spec.add_dependency 'yaml', '~> 0.2.0'
36
35
  spec.add_development_dependency 'ostruct', '~> 0.4.0'
37
36
  spec.add_development_dependency 'rspec', '~> 3.10'
38
37
  spec.add_development_dependency 'rubocop', '~> 1.24.1'
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.6.1.beta0
4
+ version: 1.6.1
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-09-15 00:00:00.000000000 Z
11
+ date: 2024-03-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -52,20 +52,6 @@ dependencies:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '2'
55
- - !ruby/object:Gem::Dependency
56
- name: yaml
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - "~>"
60
- - !ruby/object:Gem::Version
61
- version: 0.2.0
62
- type: :runtime
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - "~>"
67
- - !ruby/object:Gem::Version
68
- version: 0.2.0
69
55
  - !ruby/object:Gem::Dependency
70
56
  name: ostruct
71
57
  requirement: !ruby/object:Gem::Requirement
@@ -225,11 +211,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
225
211
  version: 2.7.1
226
212
  required_rubygems_version: !ruby/object:Gem::Requirement
227
213
  requirements:
228
- - - ">"
214
+ - - ">="
229
215
  - !ruby/object:Gem::Version
230
- version: 1.3.1
216
+ version: '0'
231
217
  requirements: []
232
- rubygems_version: 3.3.3
218
+ rubygems_version: 3.4.10
233
219
  signing_key:
234
220
  specification_version: 4
235
221
  summary: '["Sorare", "reward", "allocation", "algorithm"]'