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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 85404dadff6dfd290b5c0430a7f53b3f32c8a4e44e0d274225bb7f46ef8b4dc8
4
- data.tar.gz: 2455fc9a14b62a9e3d0c25fd7c2f46773b6e2d7b735392ad5addbf315a79130d
3
+ metadata.gz: ac773d592190518ab62b3e5d9065493c6809bc5013e04a7fb93a659d040776ca
4
+ data.tar.gz: 19b6778e3e80bde45c38b67ce40296788d9a347dc90728a2c75f0a1cc7a85f2b
5
5
  SHA512:
6
- metadata.gz: 3107a6341b8d7a94212e6cb09eda0235144c2c07b429ff081b3b5d9ee908a6ae97911f8eef07c05b5c5116b284e793abe62fbe6fdc1d8350332cc201b05400b3
7
- data.tar.gz: f6a861046c655134c025fc203793c918534922d984acd094d08c895936187989577aad58a659e8567bd742e33e521228b4e0b858f3acc100ab6cb6f15506c8b2
6
+ metadata.gz: 5103a4e4c8cf34590ce701ab6cdc2586e4869f4b72e5dce68c8270c2c54e2beacaed12dcbfee5f9640e8b88b8ee2e9acca5342e1d45b07103f4daa82273d1f57
7
+ data.tar.gz: e33ff02a4ce9fc464a647778c4c724f71574838d5a3d81a961f87dea8da545de5dd980cb78c1a301bf179bc92b521f9f2183af8b2dbf97f5718afb335c1adda9
data/CHANGELOG.md CHANGED
@@ -1,4 +1,4 @@
1
- ### 3.0.0 (Next)
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Strava
4
- VERSION = '3.0.0.pre.2'
4
+ VERSION = '3.0.0'
5
5
  end
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.pre.2
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-22 00:00:00.000000000 Z
11
+ date: 2025-10-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport