strava-ruby-client 0.4.1 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +11 -6
- data/lib/strava/models/gear.rb +3 -0
- data/lib/strava/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c405363163b2332c696362fcaecc55b27ebcc9cc36dc78bfff54059d4433a580
|
4
|
+
data.tar.gz: a555beb0bf2072cf7cfe40a8178e72d0d4bc846963446704a642e344d46f780e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ca090cb5fc5553cbf275f36e797e90cbede14cbe8c400520b79a4ddd061719878e3f1b38e13efbf948bab884f5ab62f8d5b5e49812cc154af155e78bd3601dfc
|
7
|
+
data.tar.gz: 662f42daf772d75c032a2f228f4d0a2f268c8de68a9ea91b95cae9840d0a185c3a159df5023b182026fd47deaa5909494b06d3b03e91cd85ac74bed66a249239
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
### 0.4.2 (2021/10/03)
|
2
|
+
|
3
|
+
* [#45](https://github.com/dblock/strava-ruby-client/pull/45): Added `Gear#frame_type` `#retired` `#weight` - [@deuber](https://github.com/deuber).
|
4
|
+
|
1
5
|
### 0.4.1 (2021/07/11)
|
2
6
|
|
3
7
|
* [#37](https://github.com/dblock/strava-ruby-client/pull/38): Added `Club#club_events` - [@simonneutert](https://github.com/simonneutert).
|
data/README.md
CHANGED
@@ -29,6 +29,7 @@ Unlike other clients, including [strava-api-v3](https://github.com/jaredholdcrof
|
|
29
29
|
- [Update Athlete](#update-athlete)
|
30
30
|
- [Clubs](#clubs)
|
31
31
|
- [List Club Activities](#list-club-activities)
|
32
|
+
- [List Club Events](#list-club-events)
|
32
33
|
- [List Club Administrators](#list-club-administrators)
|
33
34
|
- [Get Club](#get-club)
|
34
35
|
- [List Club Members](#list-club-members)
|
@@ -431,15 +432,19 @@ See [Strava::Models::Club](lib/strava/models/club.rb) for all available properti
|
|
431
432
|
Returns an equipment using its identifier.
|
432
433
|
|
433
434
|
```ruby
|
434
|
-
gear = client.gear('
|
435
|
+
gear = client.gear(id: 'b2338517') # => Strava::Models::Gear
|
435
436
|
|
436
|
-
gear.id # => '
|
437
|
-
gear.name # => '
|
437
|
+
gear.id # => 'b2338517'
|
438
|
+
gear.name # => 'Trek'
|
438
439
|
gear.distance # => 380939.0
|
439
440
|
gear.distance_s # => '380.94km'
|
440
|
-
gear.brand_name # => '
|
441
|
-
gear.model_name # => '
|
442
|
-
gear.description # => '
|
441
|
+
gear.brand_name # => 'Trek'
|
442
|
+
gear.model_name # => 'Madone'
|
443
|
+
gear.description # => 'white'
|
444
|
+
gear.primary # => 'false'
|
445
|
+
gear.frame_type # => '3'
|
446
|
+
gear.weight # => '9'
|
447
|
+
gear.retired # => 'false'
|
443
448
|
```
|
444
449
|
|
445
450
|
See [Strava::Models::Gear](lib/strava/models/gear.rb) for all available properties.
|
data/lib/strava/models/gear.rb
CHANGED
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: 0.4.
|
4
|
+
version: 0.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Doubrovkine
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-10-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -170,7 +170,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
170
170
|
- !ruby/object:Gem::Version
|
171
171
|
version: 1.3.6
|
172
172
|
requirements: []
|
173
|
-
rubygems_version: 3.
|
173
|
+
rubygems_version: 3.1.3
|
174
174
|
signing_key:
|
175
175
|
specification_version: 4
|
176
176
|
summary: Strava API Ruby client.
|