ehbrs_ruby_utils 0.23.0 → 0.24.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (22) hide show
  1. checksums.yaml +4 -4
  2. data/lib/ehbrs_ruby_utils/bga/parsers/game_stats/players.rb +2 -2
  3. data/lib/ehbrs_ruby_utils/bga/parsers/game_stats.rb +4 -2
  4. data/lib/ehbrs_ruby_utils/bga/parsers/table/players.rb +1 -1
  5. data/lib/ehbrs_ruby_utils/bga/parsers/table.rb +8 -0
  6. data/lib/ehbrs_ruby_utils/bga/session/login.rb +1 -1
  7. data/lib/ehbrs_ruby_utils/bga/session/player_tables_on_game_stats.rb +99 -0
  8. data/lib/ehbrs_ruby_utils/bga/session.rb +10 -5
  9. data/lib/ehbrs_ruby_utils/bga/table.rb +5 -0
  10. data/lib/ehbrs_ruby_utils/bga/urls.rb +7 -1
  11. data/lib/ehbrs_ruby_utils/version.rb +1 -1
  12. data/spec/lib/ehbrs_ruby_utils/bga/parsers/game_stats_spec_files/1.target.yaml +10 -10
  13. data/spec/lib/ehbrs_ruby_utils/bga/parsers/game_stats_spec_files/2.source.html +1083 -0
  14. data/spec/lib/ehbrs_ruby_utils/bga/parsers/game_stats_spec_files/2.target.yaml +1127 -0
  15. data/spec/lib/ehbrs_ruby_utils/bga/parsers/table_spec_files/table_302873643.target.yaml +1 -0
  16. data/spec/lib/ehbrs_ruby_utils/bga/parsers/table_spec_files/table_356513708.source.html +1497 -0
  17. data/spec/lib/ehbrs_ruby_utils/bga/parsers/table_spec_files/table_356513708.target.yaml +47 -0
  18. data/spec/lib/ehbrs_ruby_utils/bga/parsers/table_spec_files/table_357408039.target.yaml +1 -0
  19. data/spec/lib/ehbrs_ruby_utils/bga/parsers/table_spec_files/table_368448439.target.yaml +1 -0
  20. data/spec/lib/ehbrs_ruby_utils/bga/parsers/table_spec_files/table_373602409.target.yaml +1 -0
  21. data/spec/lib/ehbrs_ruby_utils/bga/parsers/table_spec_files/table_373747455.target.yaml +1 -0
  22. metadata +25 -10
@@ -0,0 +1,47 @@
1
+ ---
2
+ :game_name: Puerto Rico
3
+ :creation_time: 14/03/2023 às 08:36
4
+ :estimated_duration: 35 dias
5
+ :options:
6
+ - :label: Modo de Jogo
7
+ :value: Modo de treino
8
+ :description: 'Modo treino: sem rankings, sem limite de tempo por turno, sem penalidades.
9
+ Jogo em tempo real.'
10
+ - :label: Variante de equilíbrio
11
+ :value: Jogo clássico
12
+ :description: ''
13
+ - :label: Variante de dois jogadores
14
+ :value: Jogo clássico
15
+ :description: ''
16
+ - :label: Primeira expansão - Novas construções
17
+ :value: Desligado
18
+ :description: ''
19
+ - :label: Segunda expansão - Os nobres
20
+ :value: Desligado
21
+ :description: ''
22
+ :players:
23
+ - :table_rank:
24
+ :id: 84920871
25
+ :name: eduardobogoni
26
+ :score:
27
+ :win_points: ''
28
+ :game_rank:
29
+ - :table_rank:
30
+ :id: 93167144
31
+ :name: iuriadmvr1
32
+ :score:
33
+ :win_points: ''
34
+ :game_rank:
35
+ - :table_rank:
36
+ :id: 93205235
37
+ :name: generalcfmo
38
+ :score:
39
+ :win_points: ''
40
+ :game_rank:
41
+ - :table_rank:
42
+ :id: 93212034
43
+ :name: danieltc
44
+ :score:
45
+ :win_points: ''
46
+ :game_rank:
47
+ :game_conceded: false
@@ -52,3 +52,4 @@
52
52
  :score: 0
53
53
  :win_points: "-25 - 10"
54
54
  :game_rank: 159
55
+ :game_conceded: false
@@ -46,3 +46,4 @@
46
46
  :score: 0
47
47
  :win_points: "+0 - 0"
48
48
  :game_rank: 38
49
+ :game_conceded: false
@@ -22,3 +22,4 @@
22
22
  :score: 0
23
23
  :win_points: "+0"
24
24
  :game_rank: 75
25
+ :game_conceded: true
@@ -51,3 +51,4 @@
51
51
  :score: 48
52
52
  :win_points: "-22"
53
53
  :game_rank: 100
54
+ :game_conceded: false
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ehbrs_ruby_utils
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.23.0
4
+ version: 0.24.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eduardo H. Bogoni
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-05-13 00:00:00.000000000 Z
11
+ date: 2023-05-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aranha
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '0.19'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 0.19.1
22
+ version: 0.19.2
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,35 +29,35 @@ dependencies:
29
29
  version: '0.19'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 0.19.1
32
+ version: 0.19.2
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aranha-parsers
35
35
  requirement: !ruby/object:Gem::Requirement
36
36
  requirements:
37
37
  - - "~>"
38
38
  - !ruby/object:Gem::Version
39
- version: '0.18'
39
+ version: '0.19'
40
40
  type: :runtime
41
41
  prerelease: false
42
42
  version_requirements: !ruby/object:Gem::Requirement
43
43
  requirements:
44
44
  - - "~>"
45
45
  - !ruby/object:Gem::Version
46
- version: '0.18'
46
+ version: '0.19'
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: avm
49
49
  requirement: !ruby/object:Gem::Requirement
50
50
  requirements:
51
51
  - - "~>"
52
52
  - !ruby/object:Gem::Version
53
- version: '0.71'
53
+ version: '0.75'
54
54
  type: :runtime
55
55
  prerelease: false
56
56
  version_requirements: !ruby/object:Gem::Requirement
57
57
  requirements:
58
58
  - - "~>"
59
59
  - !ruby/object:Gem::Version
60
- version: '0.71'
60
+ version: '0.75'
61
61
  - !ruby/object:Gem::Dependency
62
62
  name: eac_fs
63
63
  requirement: !ruby/object:Gem::Requirement
@@ -92,14 +92,20 @@ dependencies:
92
92
  requirements:
93
93
  - - "~>"
94
94
  - !ruby/object:Gem::Version
95
- version: '0.116'
95
+ version: '0.117'
96
+ - - ">="
97
+ - !ruby/object:Gem::Version
98
+ version: 0.117.1
96
99
  type: :runtime
97
100
  prerelease: false
98
101
  version_requirements: !ruby/object:Gem::Requirement
99
102
  requirements:
100
103
  - - "~>"
101
104
  - !ruby/object:Gem::Version
102
- version: '0.116'
105
+ version: '0.117'
106
+ - - ">="
107
+ - !ruby/object:Gem::Version
108
+ version: 0.117.1
103
109
  - !ruby/object:Gem::Dependency
104
110
  name: eac_templates
105
111
  requirement: !ruby/object:Gem::Requirement
@@ -199,6 +205,7 @@ files:
199
205
  - lib/ehbrs_ruby_utils/bga/session.rb
200
206
  - lib/ehbrs_ruby_utils/bga/session/login.rb
201
207
  - lib/ehbrs_ruby_utils/bga/session/player.rb
208
+ - lib/ehbrs_ruby_utils/bga/session/player_tables_on_game_stats.rb
202
209
  - lib/ehbrs_ruby_utils/bga/session/table.rb
203
210
  - lib/ehbrs_ruby_utils/bga/table.rb
204
211
  - lib/ehbrs_ruby_utils/bga/table/option.rb
@@ -271,9 +278,13 @@ files:
271
278
  - spec/lib/ehbrs_ruby_utils/bga/parsers/game_stats_spec.rb
272
279
  - spec/lib/ehbrs_ruby_utils/bga/parsers/game_stats_spec_files/1.source.html
273
280
  - spec/lib/ehbrs_ruby_utils/bga/parsers/game_stats_spec_files/1.target.yaml
281
+ - spec/lib/ehbrs_ruby_utils/bga/parsers/game_stats_spec_files/2.source.html
282
+ - spec/lib/ehbrs_ruby_utils/bga/parsers/game_stats_spec_files/2.target.yaml
274
283
  - spec/lib/ehbrs_ruby_utils/bga/parsers/table_spec.rb
275
284
  - spec/lib/ehbrs_ruby_utils/bga/parsers/table_spec_files/table_302873643.source.html
276
285
  - spec/lib/ehbrs_ruby_utils/bga/parsers/table_spec_files/table_302873643.target.yaml
286
+ - spec/lib/ehbrs_ruby_utils/bga/parsers/table_spec_files/table_356513708.source.html
287
+ - spec/lib/ehbrs_ruby_utils/bga/parsers/table_spec_files/table_356513708.target.yaml
277
288
  - spec/lib/ehbrs_ruby_utils/bga/parsers/table_spec_files/table_357408039.source.html
278
289
  - spec/lib/ehbrs_ruby_utils/bga/parsers/table_spec_files/table_357408039.target.yaml
279
290
  - spec/lib/ehbrs_ruby_utils/bga/parsers/table_spec_files/table_368448439.source.html
@@ -342,16 +353,20 @@ specification_version: 4
342
353
  summary: Utilities for EHB/RS's Ruby projects.
343
354
  test_files:
344
355
  - spec/rubocop_check_spec.rb
356
+ - spec/lib/ehbrs_ruby_utils/bga/parsers/table_spec_files/table_356513708.target.yaml
345
357
  - spec/lib/ehbrs_ruby_utils/bga/parsers/table_spec_files/table_302873643.target.yaml
346
358
  - spec/lib/ehbrs_ruby_utils/bga/parsers/table_spec_files/table_368448439.target.yaml
347
359
  - spec/lib/ehbrs_ruby_utils/bga/parsers/table_spec_files/table_368448439.source.html
348
360
  - spec/lib/ehbrs_ruby_utils/bga/parsers/table_spec_files/table_357408039.source.html
361
+ - spec/lib/ehbrs_ruby_utils/bga/parsers/table_spec_files/table_356513708.source.html
349
362
  - spec/lib/ehbrs_ruby_utils/bga/parsers/table_spec_files/table_373747455.source.html
350
363
  - spec/lib/ehbrs_ruby_utils/bga/parsers/table_spec_files/table_373602409.source.html
351
364
  - spec/lib/ehbrs_ruby_utils/bga/parsers/table_spec_files/table_373602409.target.yaml
352
365
  - spec/lib/ehbrs_ruby_utils/bga/parsers/table_spec_files/table_302873643.source.html
353
366
  - spec/lib/ehbrs_ruby_utils/bga/parsers/table_spec_files/table_357408039.target.yaml
354
367
  - spec/lib/ehbrs_ruby_utils/bga/parsers/table_spec_files/table_373747455.target.yaml
368
+ - spec/lib/ehbrs_ruby_utils/bga/parsers/game_stats_spec_files/2.target.yaml
369
+ - spec/lib/ehbrs_ruby_utils/bga/parsers/game_stats_spec_files/2.source.html
355
370
  - spec/lib/ehbrs_ruby_utils/bga/parsers/game_stats_spec_files/1.source.html
356
371
  - spec/lib/ehbrs_ruby_utils/bga/parsers/game_stats_spec_files/1.target.yaml
357
372
  - spec/lib/ehbrs_ruby_utils/bga/parsers/game_stats_spec.rb