strava-ruby-client 3.1.0 → 3.2.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +15 -0
- data/README.md +43 -978
- data/bin/strava-webhooks +50 -38
- data/lib/strava/api/pagination.rb +1 -2
- data/lib/strava/models/activity_total.rb +7 -0
- data/lib/strava/models/activity_zone.rb +7 -0
- data/lib/strava/models/club_event.rb +2 -2
- data/lib/strava/models/comment.rb +1 -1
- data/lib/strava/models/detailed_activity.rb +8 -1
- data/lib/strava/models/detailed_athlete.rb +2 -2
- data/lib/strava/models/detailed_photo.rb +3 -3
- data/lib/strava/models/detailed_photos.rb +7 -0
- data/lib/strava/models/detailed_segment.rb +9 -2
- data/lib/strava/models/detailed_segment_effort.rb +1 -1
- data/lib/strava/models/lap.rb +1 -1
- data/lib/strava/models/mixins/start_date_local.rb +1 -1
- data/lib/strava/models/model.rb +15 -0
- data/lib/strava/models/photos_summary.rb +7 -0
- data/lib/strava/models/route.rb +9 -2
- data/lib/strava/models/summary_activity.rb +8 -1
- data/lib/strava/models/summary_athlete.rb +2 -2
- data/lib/strava/models/summary_segment.rb +1 -1
- data/lib/strava/models/summary_segment_effort.rb +1 -1
- data/lib/strava/models/timed_zone_range.rb +14 -0
- data/lib/strava/models/zone_range.rb +14 -0
- data/lib/strava/version.rb +1 -1
- data/lib/strava/web/client.rb +1 -1
- data/lib/strava/web/config.rb +4 -0
- data/lib/strava/web/connection.rb +7 -2
- data/lib/strava/web/filter.rb +72 -0
- data/lib/strava/web/log_formatter.rb +20 -0
- data/lib/strava/web/raise_response_error.rb +26 -9
- data/lib/strava/web/response.rb +16 -33
- data/lib/strava/webhooks/models/event.rb +8 -0
- data/lib/strava/webhooks/models/subscription.rb +2 -2
- data/lib/strava-ruby-client.rb +2 -0
- metadata +7 -9
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e952359c7d82109171d96d95ede69d08b115aa725dac31afebf6d796649a12fe
|
|
4
|
+
data.tar.gz: dbcc629ebd0fadf0dab7b32b88912075afe8e109de5317c277834ae5a78c1e60
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b0aa37e6b9f9c6fd6fc13dc1c2500a14dc3bc3338bb33c508246b5737fc1a3945ee521d95919eb825d1da034ac4c25c2d58efaa090a37a99cb585c4a555b9a19
|
|
7
|
+
data.tar.gz: 96e7c9044faabfb8e5c9781b608be659f5787fbaa85ccd457df089d00c213bb146cd00b3cd826cf202b2fc8a04188517a0c44dc3b23cf426e4d160ef76259e29
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
### 3.2.0 (2026/11/24)
|
|
2
|
+
|
|
3
|
+
* [#113](https://github.com/dblock/strava-ruby-client/issues/113): Adds Appraisals (`json-2`, `json-3`) - [@dblock](https://github.com/dblock).
|
|
4
|
+
* [#113](https://github.com/dblock/strava-ruby-client/issues/113): Supports `json` gem >= 3.0 by requiring Faraday >= 2.14.4 - [@dblock](https://github.com/dblock).
|
|
5
|
+
* [#116](https://github.com/dblock/strava-ruby-client/pull/116): Adds `Strava::Webhooks::Models::Event#id_str` and `#owner_id_str`, ignores undeclared webhook event properties - [@rvd-kentaa](https://github.com/rvd-kentaa).
|
|
6
|
+
* [#116](https://github.com/dblock/strava-ruby-client/pull/116): Supports `hashie` >= 6.0 with explicit `map`, `count`, `min` and `max` readers, adds Appraisals (`hashie-5`, `hashie-6`) - [@dblock](https://github.com/dblock).
|
|
7
|
+
* [#117](https://github.com/dblock/strava-ruby-client/pull/117): Speeds up CI by skipping duplicate push builds of PR branches, canceling superseded PR builds, using `JRUBY_OPTS=--dev` and not sleeping in replayed upload specs - [@dblock](https://github.com/dblock).
|
|
8
|
+
* [#118](https://github.com/dblock/strava-ruby-client/pull/118): Adds `rake benchmark`, speeds up responses 2-30x by not deep copying them and parsing ISO 8601 timestamps with `Time.iso8601` - [@dblock](https://github.com/dblock).
|
|
9
|
+
* [#119](https://github.com/dblock/strava-ruby-client/pull/119): Releases with [ruby-gem-release](https://github.com/dblock/ruby-gem-release) and RubyGems Trusted Publishing - [@dblock](https://github.com/dblock).
|
|
10
|
+
* [#120](https://github.com/dblock/strava-ruby-client/pull/120): Simplifies README usage and moves the API reference to [docs/USAGE.md](docs/USAGE.md) - [@dblock](https://github.com/dblock).
|
|
11
|
+
* [#122](https://github.com/dblock/strava-ruby-client/pull/122): Displays the reason a request failed and logs raw event JSON in `strava-webhooks`, adds `PORT` to `strava-webhooks handle` - [@dblock](https://github.com/dblock).
|
|
12
|
+
* [#123](https://github.com/dblock/strava-ruby-client/pull/123): Filters client secrets, tokens and authorization codes from logs and request data in errors, unless `filter_credentials` is `false` - [@dblock](https://github.com/dblock).
|
|
13
|
+
* [#124](https://github.com/dblock/strava-ruby-client/pull/124): Adds `Strava::Web::LogFormatter` and a `log_formatter` Web client setting to use it, which adds a blank line after headers in logs - [@dblock](https://github.com/dblock).
|
|
14
|
+
* [#126](https://github.com/dblock/strava-ruby-client/pull/126): Upgrades to [danger-pr-comment](https://github.com/danger/danger-pr-comment) 0.3.0, which doesn't post empty comments and comments on stacked PRs - [@dblock](https://github.com/dblock).
|
|
15
|
+
|
|
1
16
|
### 3.1.0 (2026/08/29)
|
|
2
17
|
|
|
3
18
|
* [#110](https://github.com/dblock/strava-ruby-client/pull/110): Removes `club_activities`, `club_members`, and `club_admins`, which Strava retired on September 1, 2026 - [@dblock](https://github.com/dblock), [@Copilot](https://github.com/apps/copilot-swe-agent).
|