strava-ruby-client 3.0.0.pre.2 → 3.0.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 +1 -2
- data/README.md +6 -1
- data/lib/strava/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ac773d592190518ab62b3e5d9065493c6809bc5013e04a7fb93a659d040776ca
|
|
4
|
+
data.tar.gz: 19b6778e3e80bde45c38b67ce40296788d9a347dc90728a2c75f0a1cc7a85f2b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5103a4e4c8cf34590ce701ab6cdc2586e4869f4b72e5dce68c8270c2c54e2beacaed12dcbfee5f9640e8b88b8ee2e9acca5342e1d45b07103f4daa82273d1f57
|
|
7
|
+
data.tar.gz: e33ff02a4ce9fc464a647778c4c724f71574838d5a3d81a961f87dea8da545de5dd980cb78c1a301bf179bc92b521f9f2183af8b2dbf97f5718afb335c1adda9
|
data/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
### 3.0.0 (
|
|
1
|
+
### 3.0.0 (2025/10/24)
|
|
2
2
|
|
|
3
3
|
* [#96](https://github.com/dblock/strava-ruby-client/pull/96): Updates and refactors models to spec - [@dblock](https://github.com/dblock).
|
|
4
4
|
* [#98](https://github.com/dblock/strava-ruby-client/pull/98): Changes all `latlng` properties to return an instance of `Strava::Models::LatLng` - [@dblock](https://github.com/dblock).
|
|
@@ -8,7 +8,6 @@
|
|
|
8
8
|
* [#92](https://github.com/dblock/strava-ruby-client/pull/92): Fixes `Hashie::Trash` serialization warning for `object_id` of `Strava::Webhooks::Models::Event` - [@simonneutert](https://github.com/simonneutert).
|
|
9
9
|
* [#95](https://github.com/dblock/strava-ruby-client/pull/95): Fixes `club_events` returning `Strava::Models::ClubEvent` with an empty string in `created_at` - [@dblock](https://github.com/dblock).
|
|
10
10
|
* [#93](https://github.com/dblock/strava-ruby-client/pull/93): Updates GitHub Actions workflows - [@simonneutert](https://github.com/simonneutert).
|
|
11
|
-
* Your contribution here.
|
|
12
11
|
|
|
13
12
|
### 2.3.0 (2025/10/16)
|
|
14
13
|
|
data/README.md
CHANGED
|
@@ -508,13 +508,18 @@ gpx.tracks # => Array[GPX::Track]
|
|
|
508
508
|
|
|
509
509
|
#### Export Route TCX
|
|
510
510
|
|
|
511
|
-
Returns a [Training Center XML](https://en.wikipedia.org/wiki/Training_Center_XML) (TCX) data of the route. Combine with [multi_xml](https://github.com/sferik/multi_xml) to parse it.
|
|
511
|
+
Returns a [Training Center XML](https://en.wikipedia.org/wiki/Training_Center_XML) (TCX) data of the route. Combine with [multi_xml](https://github.com/sferik/multi_xml) or [tcx](https://github.com/dblock/tcx) to parse it.
|
|
512
512
|
|
|
513
513
|
```ruby
|
|
514
514
|
data = client.export_route_tcx(16341573) # => String
|
|
515
515
|
|
|
516
516
|
require 'multi_xml'
|
|
517
517
|
xml = MultiXml.parse(data) # => parsed TCX
|
|
518
|
+
|
|
519
|
+
require 'tcx'
|
|
520
|
+
tcx = Tcx.load(data) # => Tcx::Database
|
|
521
|
+
|
|
522
|
+
tcx.courses.first.name # => 'Lower Manhattan'
|
|
518
523
|
```
|
|
519
524
|
|
|
520
525
|
#### Get Route
|
data/lib/strava/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: strava-ruby-client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.0.0
|
|
4
|
+
version: 3.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Daniel Doubrovkine
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2025-10-
|
|
11
|
+
date: 2025-10-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|