steam_api_client 0.9.0 → 0.9.1
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +94 -1
- data/README.md +14 -5
- data/lib/steam_api_client/version.rb +1 -1
- metadata +1 -12
- data/.dockerignore +0 -21
- data/.pronto.yml +0 -12
- data/.reek.yml +0 -25
- data/.rspec +0 -4
- data/.ruby-version +0 -1
- data/.standard.yml +0 -3
- data/.tool-versions +0 -1
- data/CLAUDE.md +0 -52
- data/CODE_OF_CONDUCT.md +0 -84
- data/Gemfile +0 -34
- data/Gemfile.lock +0 -220
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f7fbb426d064f384de34ab6414afea4442d800e5f45e29afd04afedc3ea6c126
|
|
4
|
+
data.tar.gz: 9e4ecb25dea5bcbe1543e9b8562cc020701f5e1ca6853d913889d8584d21afc5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 925f466b43889aba96d7897f9eb4f88698cc9bfbf6f634caa2270519b0d3c386dcd24c9c372f1394c2dc265d200a478c294f0c1b04862c8e263c2440860b1cb8
|
|
7
|
+
data.tar.gz: 1939102b827494c98f1dea87f8484f54e2152aec29ec38c8ddaad3098afb63dc05c72ace861cbdc16474ab52ac2c396ef6653de6d2c4042d717844d59f5a0ae8
|
data/CHANGELOG.md
CHANGED
|
@@ -1,9 +1,102 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project are documented in this file.
|
|
4
|
+
|
|
5
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
6
|
+
|
|
1
7
|
## [Unreleased]
|
|
2
8
|
|
|
9
|
+
## [0.9.1] - 2026-10-23
|
|
10
|
+
|
|
11
|
+
### Fixed
|
|
12
|
+
|
|
13
|
+
- The gem no longer packages development files (`CLAUDE.md`, `CODE_OF_CONDUCT.md`, `Gemfile`, `Gemfile.lock` and tooling dotfiles). It ships only `lib/`, `LICENSE`, `README.md` and `CHANGELOG.md` (#37).
|
|
14
|
+
|
|
15
|
+
## [0.9.0] - 2026-10-23
|
|
16
|
+
|
|
17
|
+
First release published to RubyGems, as [`steam_api_client`](https://rubygems.org/gems/steam_api_client).
|
|
18
|
+
|
|
3
19
|
### Changed
|
|
4
20
|
|
|
5
21
|
- **Breaking:** renamed the gem from `steam_api` to `steam_api_client`, since `steam_api` is taken on RubyGems by an unrelated gem (#21). Update your Gemfile to `gem "steam_api_client"`, use `require "steam_api_client"`, and replace the `SteamApi` namespace with `SteamApiClient` (e.g. `SteamApiClient::Client`, `SteamApiClient::Errors::HttpTimeout`).
|
|
22
|
+
- **Breaking:** `Response#result` raises `SteamApiClient::Errors::ResponseParseError` instead of letting `Dry::Struct::Error` escape when a response can't be built into its struct, and for bodies that aren't a JSON object (#11). The original error is available as `#cause`.
|
|
23
|
+
- `gem push` requires MFA (`rubygems_mfa_required`).
|
|
24
|
+
- Removed the `activesupport`, `vcr` and `webmock` dependencies.
|
|
25
|
+
|
|
26
|
+
### Added
|
|
27
|
+
|
|
28
|
+
- Configurable HTTP timeouts: 10s per request and 5s to connect by default. Set them with `Client.configure` (`timeout`, `connect_timeout`) or `Client.new(timeout:, connect_timeout:)`. Timed-out requests raise `HttpTimeout` (#12).
|
|
29
|
+
- `AppDetails::Movie` exposes Steam's streaming trailer manifests: `dash_av1`, `dash_h264`, `hls_h264` (#9).
|
|
30
|
+
- CI: Standard Ruby lint, a RubyCritic score gate, and bundler-audit on push, PRs and weekly (#31).
|
|
31
|
+
|
|
32
|
+
### Fixed
|
|
33
|
+
|
|
34
|
+
- `app_details` raised `Dry::Struct::Error` for every app with trailers, because Steam no longer returns `webm`/`mp4` (#9).
|
|
35
|
+
- `app_details` raised `Dry::Struct::Error` for unavailable apps. It now returns `response.success == false` with `response.data == nil` (#10).
|
|
36
|
+
- The token set through `Client.configure` was never sent. `Client#api_token` now falls back to it.
|
|
37
|
+
- `require "steam_api"` didn't load `json`, so requests failed outside the test suite.
|
|
38
|
+
- The default request `body` used ActiveSupport methods (`as_json`, `deep_symbolize_keys`) after ActiveSupport was removed.
|
|
39
|
+
- The README examples used a positional `Client.new` argument instead of `api_token:`.
|
|
40
|
+
|
|
41
|
+
### Security
|
|
42
|
+
|
|
43
|
+
- Bumped `concurrent-ruby` to 1.3.8 and `json` to 2.21.2 in `Gemfile.lock` to resolve bundler-audit advisories (#31). This affects development and CI only. Apps using the gem resolve their own versions.
|
|
44
|
+
|
|
45
|
+
## Earlier versions
|
|
46
|
+
|
|
47
|
+
The versions below were bumped in `version.rb` during development but **never published or tagged**. They are reconstructed from the git history (the gem was named `steam` until 0.1.5 and `steam_api` until 0.9.0).
|
|
48
|
+
|
|
49
|
+
## [0.8.0] - 2025-04-13
|
|
50
|
+
|
|
51
|
+
- Fixed YARD comments, added `bin/setup`, completed the struct specs and added the first request spec.
|
|
52
|
+
- Updated dependencies.
|
|
53
|
+
|
|
54
|
+
## [0.7.0] - 2024-07-27
|
|
55
|
+
|
|
56
|
+
- Removed unused development tooling and ran Standard Ruby on the whole project. There was no 0.6.0.
|
|
57
|
+
|
|
58
|
+
## [0.5.0] - 2024-06-03
|
|
59
|
+
|
|
60
|
+
- Raised the required Ruby version (needed by `dry-core`) and updated the CI Ruby versions.
|
|
61
|
+
- More specs.
|
|
62
|
+
|
|
63
|
+
## [0.4.0] - 2024-04-14
|
|
64
|
+
|
|
65
|
+
- Updated gem metadata. More struct specs.
|
|
66
|
+
|
|
67
|
+
## [0.3.0] - 2024-01-20
|
|
68
|
+
|
|
69
|
+
- Added a GitHub Actions workflow and dropped Ruby 2.6.
|
|
70
|
+
- Added specs for errors, responses and base structs. Removed unused code.
|
|
71
|
+
|
|
72
|
+
## [0.2.2] - 2023-06-28
|
|
73
|
+
|
|
74
|
+
- Added `EndpointKindNotSupported` for unknown endpoint kinds.
|
|
75
|
+
- Fixed query params not being sent with requests.
|
|
76
|
+
- Clearer parameter names. Updated gems and the Ruby version. First specs for the client and the failure handler.
|
|
77
|
+
|
|
78
|
+
## [0.2.1] - 2023-02-26
|
|
79
|
+
|
|
80
|
+
- Added support for the Storefront API and the app details endpoint.
|
|
81
|
+
|
|
82
|
+
## [0.1.5] - 2023-01-15
|
|
83
|
+
|
|
84
|
+
- Renamed the gem from `steam` to `steam_api`. There were no 0.1.3 or 0.1.4.
|
|
85
|
+
|
|
86
|
+
## [0.1.2] - 2022-11-25
|
|
87
|
+
|
|
88
|
+
- Client, structs, and request/response/error handling, with `HttpForbidden` (403) and `HttpInternalServerError` (500).
|
|
89
|
+
- Endpoints: player summaries, app news, global achievement percentages, player achievements, user game stats, recently played games, resolve vanity URL, current player count, player level, owned games and friend list.
|
|
90
|
+
- Development tooling configuration.
|
|
91
|
+
|
|
92
|
+
## [0.1.1] - 2022-09-29
|
|
93
|
+
|
|
94
|
+
- Basic client configuration.
|
|
6
95
|
|
|
7
96
|
## [0.1.0] - 2022-09-28
|
|
8
97
|
|
|
9
|
-
- Initial
|
|
98
|
+
- Initial gem skeleton.
|
|
99
|
+
|
|
100
|
+
[Unreleased]: https://github.com/jpechaves/steam_api/compare/v0.9.1...HEAD
|
|
101
|
+
[0.9.1]: https://github.com/jpechaves/steam_api/compare/v0.9.0...v0.9.1
|
|
102
|
+
[0.9.0]: https://github.com/jpechaves/steam_api/releases/tag/v0.9.0
|
data/README.md
CHANGED
|
@@ -21,6 +21,9 @@
|
|
|
21
21
|
|
|
22
22
|
# steam_api_client
|
|
23
23
|
|
|
24
|
+
[](https://rubygems.org/gems/steam_api_client)
|
|
25
|
+
[](https://github.com/jpechaves/steam_api/actions/workflows/ci.yml)
|
|
26
|
+
|
|
24
27
|
> Previously developed as `steam_api`. It is not related to the [`steam_api`](https://rubygems.org/gems/steam_api) gem on RubyGems.
|
|
25
28
|
|
|
26
29
|
A Ruby gem for interacting with the [Steam Web API](https://developer.valvesoftware.com/wiki/Steam_Web_API). This gem provides a structured and user-friendly way to fetch various types of data from Steam's API endpoints, such as game details, player information, and achievements.
|
|
@@ -35,22 +38,28 @@ A Ruby gem for interacting with the [Steam Web API](https://developer.valvesoftw
|
|
|
35
38
|
|
|
36
39
|
## Installation
|
|
37
40
|
|
|
38
|
-
Add
|
|
41
|
+
Add the gem to your application's Gemfile:
|
|
39
42
|
|
|
40
43
|
```ruby
|
|
44
|
+
gem "steam_api_client"
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
and run `bundle install`. Or let Bundler do both:
|
|
48
|
+
|
|
49
|
+
```bash
|
|
41
50
|
$ bundle add steam_api_client
|
|
42
51
|
```
|
|
43
52
|
|
|
44
|
-
|
|
53
|
+
Without Bundler, install it with:
|
|
45
54
|
|
|
46
55
|
```bash
|
|
47
56
|
$ gem install steam_api_client
|
|
48
57
|
```
|
|
49
58
|
|
|
50
|
-
|
|
59
|
+
and load it with:
|
|
51
60
|
|
|
52
|
-
```
|
|
53
|
-
|
|
61
|
+
```ruby
|
|
62
|
+
require "steam_api_client"
|
|
54
63
|
```
|
|
55
64
|
|
|
56
65
|
## Usage
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: steam_api_client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.9.
|
|
4
|
+
version: 0.9.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- João Pedro
|
|
@@ -59,18 +59,7 @@ executables: []
|
|
|
59
59
|
extensions: []
|
|
60
60
|
extra_rdoc_files: []
|
|
61
61
|
files:
|
|
62
|
-
- ".dockerignore"
|
|
63
|
-
- ".pronto.yml"
|
|
64
|
-
- ".reek.yml"
|
|
65
|
-
- ".rspec"
|
|
66
|
-
- ".ruby-version"
|
|
67
|
-
- ".standard.yml"
|
|
68
|
-
- ".tool-versions"
|
|
69
62
|
- CHANGELOG.md
|
|
70
|
-
- CLAUDE.md
|
|
71
|
-
- CODE_OF_CONDUCT.md
|
|
72
|
-
- Gemfile
|
|
73
|
-
- Gemfile.lock
|
|
74
63
|
- LICENSE
|
|
75
64
|
- README.md
|
|
76
65
|
- lib/steam_api_client.rb
|
data/.dockerignore
DELETED
data/.pronto.yml
DELETED
data/.reek.yml
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
|
|
3
|
-
# References:
|
|
4
|
-
# https://github.com/troessner/reek#configuration-options
|
|
5
|
-
|
|
6
|
-
exclude_paths:
|
|
7
|
-
- bin
|
|
8
|
-
- public
|
|
9
|
-
- spec
|
|
10
|
-
- storage
|
|
11
|
-
- tmp
|
|
12
|
-
- vendor
|
|
13
|
-
|
|
14
|
-
detectors:
|
|
15
|
-
# https://github.com/troessner/reek/blob/master/docs/Irresponsible-Module.md
|
|
16
|
-
IrresponsibleModule:
|
|
17
|
-
enabled: false
|
|
18
|
-
|
|
19
|
-
# https://github.com/troessner/reek/blob/master/docs/Nil-Check.md
|
|
20
|
-
NilCheck:
|
|
21
|
-
enabled: false
|
|
22
|
-
|
|
23
|
-
# https://github.com/troessner/reek/blob/master/docs/Too-Many-Statements.md
|
|
24
|
-
TooManyStatements:
|
|
25
|
-
enabled: false # Rubocop's responsability
|
data/.rspec
DELETED
data/.ruby-version
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
3.3.4
|
data/.standard.yml
DELETED
data/.tool-versions
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
ruby 3.3.4
|
data/CLAUDE.md
DELETED
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
# CLAUDE.md
|
|
2
|
-
|
|
3
|
-
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
|
|
4
|
-
|
|
5
|
-
## Project
|
|
6
|
-
|
|
7
|
-
`steam_api_client` is a Ruby gem wrapping the Steam Web API (`https://api.steampowered.com`) and the Storefront API (`https://store.steampowered.com/api/`). Runtime dependencies are only `dry-configurable`, `dry-struct`, and `typhoeus`. Ruby 3.3.4 is used locally (`.ruby-version`); the gemspec allows `>= 3.0`, CI tests 3.2 and 3.3.
|
|
8
|
-
|
|
9
|
-
## Commands
|
|
10
|
-
|
|
11
|
-
```bash
|
|
12
|
-
bin/setup # bundle install
|
|
13
|
-
bin/console # IRB with the gem loaded
|
|
14
|
-
bin/rspec # full test suite (CI runs `bundle exec rspec`)
|
|
15
|
-
bin/rspec spec/steam_api_client/request_spec.rb # single file
|
|
16
|
-
bin/rspec spec/steam_api_client/request_spec.rb:42 # single example by line
|
|
17
|
-
bin/rspec --only-failures # re-run failures (.rspec_status persistence is enabled)
|
|
18
|
-
bin/lint # standardrb --no-fix (target ruby_version 3.3)
|
|
19
|
-
bin/standardrb --fix # autofix style
|
|
20
|
-
bundle exec rubycritic lib --no-browser # Flay/Flog/Reek analysis (report in tmp/rubycritic; Reek reads .reek.yml)
|
|
21
|
-
bundle exec bundler-audit check --update # known advisories in Gemfile.lock
|
|
22
|
-
```
|
|
23
|
-
|
|
24
|
-
CI (`.github/workflows/ci.yml`) runs three jobs: `lint` (standardrb), `analysis` (RubyCritic with a `--minimum-score` gate; raise it when the score improves) and `test` (rspec matrix). `.github/workflows/audit.yml` runs bundler-audit on push, PRs and weekly.
|
|
25
|
-
|
|
26
|
-
SimpleCov runs automatically with the specs. Specs never hit the network: they stub `Typhoeus::Request`/responses with `instance_double`.
|
|
27
|
-
|
|
28
|
-
## Architecture
|
|
29
|
-
|
|
30
|
-
Every endpoint is implemented as three pieces wired together through a shared pipeline:
|
|
31
|
-
|
|
32
|
-
1. **Requestor** (`lib/steam_api_client/requestors/*.rb`, subclass of `Requestors::Base`) — the public method (usually `retrieve`) exposed on the client. It calls `build_request_and_run(RequestStructClass, ResponseStructClass, **params)`.
|
|
33
|
-
2. **Request struct** (`lib/steam_api_client/structs/requests/get_*.rb`) — a Dry::Struct describing the HTTP call. Subclasses either:
|
|
34
|
-
- `Requests::Abstract` for the Web API: must define `interface`, `path`, `version` (each with a trailing `/`, e.g. `"ISteamUser/"`, `"GetPlayerSummaries/"`, `"v0002/"`), or
|
|
35
|
-
- `Requests::StorefrontAbstract` for the Storefront API: defines only `path`; default `query_params` includes `cc`/`l`.
|
|
36
|
-
Each also defines `self.build_from_params(params)` (validates required keys, raises `StandardError` if missing), `query_params`, and usually overrides `body` to `{}` and `needs_authorization?` (adds `key=<api_token>` to the query when true). `endpoint_kind` (`:base_endpoint` / `:storefront_endpoint`) selects the URL builder in `Request`.
|
|
37
|
-
3. **Response struct** (`lib/steam_api_client/structs/*.rb`, subclass of `Structs::Base`) — a Dry::Struct mirroring the JSON payload; `build_from_response(hash)` defaults to `new(**hash)` but can be overridden to reshape the payload (e.g. `AppDetails::Details` unwraps the app-id-keyed top level). Use `attribute?` for fields Steam may omit; shared types live in `Structs::Types` (incl. `Types::Optional::String/Integer`).
|
|
38
|
-
|
|
39
|
-
Pipeline: `Requestor` → `RequestStruct.build_from_params` → `SteamApiClient::Request` (builds URL with `URI.join` and a `Typhoeus::Request`) → `#run` → `SteamApiClient::Response` (wraps Typhoeus response; `#result` parses JSON with symbolized keys into the response struct, raising `Errors::ResponseParseError` with the JSON/Dry::Struct error as `cause` when that fails) → `FailureHandler.instance.call` raises `SteamApiClient::Errors::*` subclasses of `ApiError` by status code / timeout.
|
|
40
|
-
|
|
41
|
-
### Adding a new endpoint
|
|
42
|
-
|
|
43
|
-
- Create the request struct, response struct, and requestor (plus specs mirroring the `lib/` path under `spec/`).
|
|
44
|
-
- **Register every new file manually in `lib/steam_api_client.rb`** — there is no autoloading, and require order matters (nested struct classes such as `PlayerSummary` or `AppDetails::*` must be required before the structs that reference them).
|
|
45
|
-
- Add an `attr_reader` and instantiate the requestor in `SteamApiClient::Client#initialize`.
|
|
46
|
-
|
|
47
|
-
### Gotchas
|
|
48
|
-
|
|
49
|
-
- `Client.new` takes a keyword arg: `SteamApiClient::Client.new(api_token: "...")` (the README's positional example is outdated).
|
|
50
|
-
- `Client#api_token` returns the instance token, falling back to the class-level `Client.configure` value. Specs that call `configure` must reset it (`after { described_class.config.api_token = nil }`) because the setting is global.
|
|
51
|
-
- ActiveSupport is not a dependency — don't use `as_json`, `deep_symbolize_keys`, etc. `Dry::Struct#to_h` already returns a recursively symbolized hash.
|
|
52
|
-
- SimpleCov loads stdlib gems (e.g. `json`) during specs, which can mask missing requires in `lib/steam_api_client.rb`. Check with `bundle exec ruby -Ilib -e 'require "steam_api_client"; ...'` outside RSpec.
|
data/CODE_OF_CONDUCT.md
DELETED
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
# Contributor Covenant Code of Conduct
|
|
2
|
-
|
|
3
|
-
## Our Pledge
|
|
4
|
-
|
|
5
|
-
We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.
|
|
6
|
-
|
|
7
|
-
We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.
|
|
8
|
-
|
|
9
|
-
## Our Standards
|
|
10
|
-
|
|
11
|
-
Examples of behavior that contributes to a positive environment for our community include:
|
|
12
|
-
|
|
13
|
-
* Demonstrating empathy and kindness toward other people
|
|
14
|
-
* Being respectful of differing opinions, viewpoints, and experiences
|
|
15
|
-
* Giving and gracefully accepting constructive feedback
|
|
16
|
-
* Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
|
|
17
|
-
* Focusing on what is best not just for us as individuals, but for the overall community
|
|
18
|
-
|
|
19
|
-
Examples of unacceptable behavior include:
|
|
20
|
-
|
|
21
|
-
* The use of sexualized language or imagery, and sexual attention or
|
|
22
|
-
advances of any kind
|
|
23
|
-
* Trolling, insulting or derogatory comments, and personal or political attacks
|
|
24
|
-
* Public or private harassment
|
|
25
|
-
* Publishing others' private information, such as a physical or email
|
|
26
|
-
address, without their explicit permission
|
|
27
|
-
* Other conduct which could reasonably be considered inappropriate in a
|
|
28
|
-
professional setting
|
|
29
|
-
|
|
30
|
-
## Enforcement Responsibilities
|
|
31
|
-
|
|
32
|
-
Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful.
|
|
33
|
-
|
|
34
|
-
Community leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, and will communicate reasons for moderation decisions when appropriate.
|
|
35
|
-
|
|
36
|
-
## Scope
|
|
37
|
-
|
|
38
|
-
This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public spaces. Examples of representing our community include using an official e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event.
|
|
39
|
-
|
|
40
|
-
## Enforcement
|
|
41
|
-
|
|
42
|
-
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at TODO: Write your email address. All complaints will be reviewed and investigated promptly and fairly.
|
|
43
|
-
|
|
44
|
-
All community leaders are obligated to respect the privacy and security of the reporter of any incident.
|
|
45
|
-
|
|
46
|
-
## Enforcement Guidelines
|
|
47
|
-
|
|
48
|
-
Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct:
|
|
49
|
-
|
|
50
|
-
### 1. Correction
|
|
51
|
-
|
|
52
|
-
**Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community.
|
|
53
|
-
|
|
54
|
-
**Consequence**: A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate. A public apology may be requested.
|
|
55
|
-
|
|
56
|
-
### 2. Warning
|
|
57
|
-
|
|
58
|
-
**Community Impact**: A violation through a single incident or series of actions.
|
|
59
|
-
|
|
60
|
-
**Consequence**: A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban.
|
|
61
|
-
|
|
62
|
-
### 3. Temporary Ban
|
|
63
|
-
|
|
64
|
-
**Community Impact**: A serious violation of community standards, including sustained inappropriate behavior.
|
|
65
|
-
|
|
66
|
-
**Consequence**: A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban.
|
|
67
|
-
|
|
68
|
-
### 4. Permanent Ban
|
|
69
|
-
|
|
70
|
-
**Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals.
|
|
71
|
-
|
|
72
|
-
**Consequence**: A permanent ban from any sort of public interaction within the community.
|
|
73
|
-
|
|
74
|
-
## Attribution
|
|
75
|
-
|
|
76
|
-
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.0,
|
|
77
|
-
available at https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
|
|
78
|
-
|
|
79
|
-
Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder](https://github.com/mozilla/diversity).
|
|
80
|
-
|
|
81
|
-
[homepage]: https://www.contributor-covenant.org
|
|
82
|
-
|
|
83
|
-
For answers to common questions about this code of conduct, see the FAQ at
|
|
84
|
-
https://www.contributor-covenant.org/faq. Translations are available at https://www.contributor-covenant.org/translations.
|
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
|