steam_api_client 0.9.0 → 0.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (54) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +140 -1
  3. data/README.md +39 -10
  4. data/lib/steam_api_client/errors/api_error.rb +29 -0
  5. data/lib/steam_api_client/errors/missing_api_token.rb +11 -0
  6. data/lib/steam_api_client/failure_handler.rb +3 -0
  7. data/lib/steam_api_client/request.rb +13 -6
  8. data/lib/steam_api_client/requestors/app_global_achievements.rb +3 -3
  9. data/lib/steam_api_client/requestors/app_news.rb +1 -1
  10. data/lib/steam_api_client/requestors/game_current_players.rb +1 -1
  11. data/lib/steam_api_client/requestors/player_achievements.rb +1 -1
  12. data/lib/steam_api_client/requestors/player_friends.rb +1 -1
  13. data/lib/steam_api_client/requestors/player_game_stats.rb +1 -1
  14. data/lib/steam_api_client/requestors/player_level.rb +1 -1
  15. data/lib/steam_api_client/requestors/player_owned_games.rb +1 -1
  16. data/lib/steam_api_client/requestors/player_recent_games.rb +1 -1
  17. data/lib/steam_api_client/requestors/player_steamid.rb +1 -1
  18. data/lib/steam_api_client/requestors/player_summaries.rb +1 -1
  19. data/lib/steam_api_client/response.rb +9 -1
  20. data/lib/steam_api_client/structs/app_global_achievements.rb +2 -2
  21. data/lib/steam_api_client/structs/app_new.rb +1 -1
  22. data/lib/steam_api_client/structs/player_achievements.rb +1 -1
  23. data/lib/steam_api_client/structs/player_friends.rb +1 -1
  24. data/lib/steam_api_client/structs/player_game_stats.rb +9 -1
  25. data/lib/steam_api_client/structs/player_owned_games.rb +11 -5
  26. data/lib/steam_api_client/structs/player_recent_games.rb +1 -1
  27. data/lib/steam_api_client/structs/player_summary.rb +15 -3
  28. data/lib/steam_api_client/structs/requests/get_app_details.rb +1 -7
  29. data/lib/steam_api_client/structs/requests/get_app_global_achievements.rb +1 -7
  30. data/lib/steam_api_client/structs/requests/get_app_news.rb +1 -7
  31. data/lib/steam_api_client/structs/requests/get_game_current_players.rb +1 -7
  32. data/lib/steam_api_client/structs/requests/get_player_achievements.rb +1 -7
  33. data/lib/steam_api_client/structs/requests/get_player_friends.rb +2 -8
  34. data/lib/steam_api_client/structs/requests/get_player_game_stats.rb +1 -7
  35. data/lib/steam_api_client/structs/requests/get_player_level.rb +1 -7
  36. data/lib/steam_api_client/structs/requests/get_player_owned_games.rb +1 -7
  37. data/lib/steam_api_client/structs/requests/get_player_recent_games.rb +1 -7
  38. data/lib/steam_api_client/structs/requests/get_player_steamid.rb +1 -7
  39. data/lib/steam_api_client/structs/requests/get_player_summaries.rb +1 -7
  40. data/lib/steam_api_client/structs/types.rb +13 -4
  41. data/lib/steam_api_client/version.rb +1 -1
  42. data/lib/steam_api_client.rb +2 -0
  43. metadata +7 -17
  44. data/.dockerignore +0 -21
  45. data/.pronto.yml +0 -12
  46. data/.reek.yml +0 -25
  47. data/.rspec +0 -4
  48. data/.ruby-version +0 -1
  49. data/.standard.yml +0 -3
  50. data/.tool-versions +0 -1
  51. data/CLAUDE.md +0 -52
  52. data/CODE_OF_CONDUCT.md +0 -84
  53. data/Gemfile +0 -34
  54. data/Gemfile.lock +0 -220
data/Gemfile DELETED
@@ -1,34 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- source "https://rubygems.org"
4
-
5
- # Specify your gem's dependencies in steam_api_client.gemspec
6
- gemspec
7
-
8
- group :development, :test do
9
- # Ruby's bikeshed-proof linter and formatter.
10
- # See: [https://rubygems.org/gems/standard]
11
- gem "standard", "~> 1.4"
12
-
13
- # Code analysis (Flay, Flog, Reek): `bundle exec rubycritic lib`
14
- # See: [https://rubygems.org/gems/rubycritic]
15
- gem "rubycritic", require: false
16
-
17
- # Known advisories in Gemfile.lock: `bundle exec bundler-audit check --update`
18
- # See: [https://rubygems.org/gems/bundler-audit]
19
- gem "bundler-audit", require: false
20
-
21
- # Debugging tool for Ruby.
22
- # See: [https://rubygems.org/gems/debug]
23
- gem "debug", "~> 1.9"
24
-
25
- # A Ruby gem to test Ruby code.
26
- # See: [https://github.com/rspec]
27
- gem "rspec", "~> 3.4"
28
- end
29
-
30
- group :test do
31
- # A code coverage analysis tool for Ruby.
32
- # See: [https://rubygems.org/gems/simplecov]
33
- gem "simplecov", "~> 0.22", require: false
34
- end
data/Gemfile.lock DELETED
@@ -1,220 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- steam_api_client (0.9.0)
5
- dry-configurable (~> 1.1.0)
6
- dry-struct (~> 1.6)
7
- typhoeus (~> 1.4)
8
-
9
- GEM
10
- remote: https://rubygems.org/
11
- specs:
12
- addressable (2.9.0)
13
- public_suffix (>= 2.0.2, < 8.0)
14
- ast (2.4.3)
15
- axiom-types (0.1.1)
16
- descendants_tracker (~> 0.0.4)
17
- ice_nine (~> 0.11.0)
18
- thread_safe (~> 0.3, >= 0.3.1)
19
- bigdecimal (3.1.9)
20
- bundler-audit (0.9.3)
21
- bundler (>= 1.2.0)
22
- thor (~> 1.0)
23
- childprocess (5.1.0)
24
- logger (~> 1.5)
25
- coercible (1.0.0)
26
- descendants_tracker (~> 0.0.1)
27
- concurrent-ruby (1.3.8)
28
- date (3.4.1)
29
- debug (1.10.0)
30
- irb (~> 1.10)
31
- reline (>= 0.3.8)
32
- descendants_tracker (0.0.4)
33
- thread_safe (~> 0.3, >= 0.3.1)
34
- diff-lcs (1.6.1)
35
- docile (1.4.1)
36
- dry-configurable (1.1.0)
37
- dry-core (~> 1.0, < 2)
38
- zeitwerk (~> 2.6)
39
- dry-core (1.1.0)
40
- concurrent-ruby (~> 1.0)
41
- logger
42
- zeitwerk (~> 2.6)
43
- dry-inflector (1.2.0)
44
- dry-initializer (3.2.0)
45
- dry-logic (1.6.0)
46
- bigdecimal
47
- concurrent-ruby (~> 1.0)
48
- dry-core (~> 1.1)
49
- zeitwerk (~> 2.6)
50
- dry-schema (1.15.0)
51
- concurrent-ruby (~> 1.0)
52
- dry-configurable (~> 1.0, >= 1.0.1)
53
- dry-core (~> 1.1)
54
- dry-initializer (~> 3.2)
55
- dry-logic (~> 1.6)
56
- dry-types (~> 1.8)
57
- zeitwerk (~> 2.6)
58
- dry-struct (1.8.0)
59
- dry-core (~> 1.1)
60
- dry-types (~> 1.8, >= 1.8.2)
61
- ice_nine (~> 0.11)
62
- zeitwerk (~> 2.6)
63
- dry-types (1.8.2)
64
- bigdecimal (~> 3.0)
65
- concurrent-ruby (~> 1.0)
66
- dry-core (~> 1.0)
67
- dry-inflector (~> 1.0)
68
- dry-logic (~> 1.4)
69
- zeitwerk (~> 2.6)
70
- erubi (1.13.1)
71
- ethon (0.16.0)
72
- ffi (>= 1.15.0)
73
- ffi (1.17.1-arm64-darwin)
74
- ffi (1.17.1-x86_64-linux-gnu)
75
- flay (2.13.3)
76
- erubi (~> 1.10)
77
- path_expander (~> 1.0)
78
- ruby_parser (~> 3.0)
79
- sexp_processor (~> 4.0)
80
- flog (4.8.0)
81
- path_expander (~> 1.0)
82
- ruby_parser (~> 3.1, > 3.1.0)
83
- sexp_processor (~> 4.8)
84
- ice_nine (0.11.2)
85
- io-console (0.8.0)
86
- irb (1.15.2)
87
- pp (>= 0.6.0)
88
- rdoc (>= 4.0.0)
89
- reline (>= 0.4.2)
90
- json (2.21.2)
91
- language_server-protocol (3.17.0.4)
92
- launchy (3.1.1)
93
- addressable (~> 2.8)
94
- childprocess (~> 5.0)
95
- logger (~> 1.6)
96
- lint_roller (1.1.0)
97
- logger (1.7.0)
98
- parallel (1.26.3)
99
- parser (3.3.8.0)
100
- ast (~> 2.4.1)
101
- racc
102
- path_expander (1.1.3)
103
- pp (0.6.2)
104
- prettyprint
105
- prettyprint (0.2.0)
106
- prism (1.4.0)
107
- psych (5.2.3)
108
- date
109
- stringio
110
- public_suffix (7.0.5)
111
- racc (1.8.1)
112
- rainbow (3.1.1)
113
- rdoc (6.13.1)
114
- psych (>= 4.0.0)
115
- reek (6.5.0)
116
- dry-schema (~> 1.13)
117
- logger (~> 1.6)
118
- parser (~> 3.3.0)
119
- rainbow (>= 2.0, < 4.0)
120
- rexml (~> 3.1)
121
- regexp_parser (2.10.0)
122
- reline (0.6.1)
123
- io-console (~> 0.5)
124
- rexml (3.4.4)
125
- rspec (3.13.0)
126
- rspec-core (~> 3.13.0)
127
- rspec-expectations (~> 3.13.0)
128
- rspec-mocks (~> 3.13.0)
129
- rspec-core (3.13.3)
130
- rspec-support (~> 3.13.0)
131
- rspec-expectations (3.13.3)
132
- diff-lcs (>= 1.2.0, < 2.0)
133
- rspec-support (~> 3.13.0)
134
- rspec-mocks (3.13.2)
135
- diff-lcs (>= 1.2.0, < 2.0)
136
- rspec-support (~> 3.13.0)
137
- rspec-support (3.13.2)
138
- rubocop (1.75.2)
139
- json (~> 2.3)
140
- language_server-protocol (~> 3.17.0.2)
141
- lint_roller (~> 1.1.0)
142
- parallel (~> 1.10)
143
- parser (>= 3.3.0.2)
144
- rainbow (>= 2.2.2, < 4.0)
145
- regexp_parser (>= 2.9.3, < 3.0)
146
- rubocop-ast (>= 1.44.0, < 2.0)
147
- ruby-progressbar (~> 1.7)
148
- unicode-display_width (>= 2.4.0, < 4.0)
149
- rubocop-ast (1.44.1)
150
- parser (>= 3.3.7.2)
151
- prism (~> 1.4)
152
- rubocop-performance (1.25.0)
153
- lint_roller (~> 1.1)
154
- rubocop (>= 1.75.0, < 2.0)
155
- rubocop-ast (>= 1.38.0, < 2.0)
156
- ruby-progressbar (1.13.0)
157
- ruby_parser (3.22.0)
158
- racc (~> 1.5)
159
- sexp_processor (~> 4.16)
160
- rubycritic (4.11.0)
161
- flay (~> 2.13)
162
- flog (~> 4.7)
163
- launchy (>= 2.5.2)
164
- parser (>= 3.3.0.5)
165
- rainbow (~> 3.1.1)
166
- reek (~> 6.5.0, < 7.0)
167
- rexml
168
- ruby_parser (~> 3.21)
169
- simplecov (>= 0.22.0)
170
- tty-which (~> 0.5.0)
171
- virtus (~> 2.0)
172
- sexp_processor (4.17.6)
173
- simplecov (0.22.0)
174
- docile (~> 1.1)
175
- simplecov-html (~> 0.11)
176
- simplecov_json_formatter (~> 0.1)
177
- simplecov-html (0.13.1)
178
- simplecov_json_formatter (0.1.4)
179
- standard (1.49.0)
180
- language_server-protocol (~> 3.17.0.2)
181
- lint_roller (~> 1.0)
182
- rubocop (~> 1.75.2)
183
- standard-custom (~> 1.0.0)
184
- standard-performance (~> 1.8)
185
- standard-custom (1.0.2)
186
- lint_roller (~> 1.0)
187
- rubocop (~> 1.50)
188
- standard-performance (1.8.0)
189
- lint_roller (~> 1.1)
190
- rubocop-performance (~> 1.25.0)
191
- stringio (3.1.6)
192
- thor (1.5.0)
193
- thread_safe (0.3.6)
194
- tty-which (0.5.0)
195
- typhoeus (1.4.1)
196
- ethon (>= 0.9.0)
197
- unicode-display_width (3.1.4)
198
- unicode-emoji (~> 4.0, >= 4.0.4)
199
- unicode-emoji (4.0.4)
200
- virtus (2.0.0)
201
- axiom-types (~> 0.1)
202
- coercible (~> 1.0)
203
- descendants_tracker (~> 0.0, >= 0.0.3)
204
- zeitwerk (2.7.2)
205
-
206
- PLATFORMS
207
- arm64-darwin-23
208
- x86_64-linux
209
-
210
- DEPENDENCIES
211
- bundler-audit
212
- debug (~> 1.9)
213
- rspec (~> 3.4)
214
- rubycritic
215
- simplecov (~> 0.22)
216
- standard (~> 1.4)
217
- steam_api_client!
218
-
219
- BUNDLED WITH
220
- 2.5.15