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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f045573621bd73cc02f898a0490f82e9dd23bb16c3bb19b59d8a221769f82b05
4
- data.tar.gz: bad5418a5021c71875676cdcad683d436f2e3d657a1bf5dd0f235140d625c7fa
3
+ metadata.gz: c405363163b2332c696362fcaecc55b27ebcc9cc36dc78bfff54059d4433a580
4
+ data.tar.gz: a555beb0bf2072cf7cfe40a8178e72d0d4bc846963446704a642e344d46f780e
5
5
  SHA512:
6
- metadata.gz: e7df01bd670072327b685ecfdeee70f9e2eb04be470a950baa6c7fb577236c263d8938c128ee9aad08c9290f8976883094a54f14fb621a8ebe8d5992a49e7741
7
- data.tar.gz: 2044195773cb4676fd417d73746c4f0287f986f15a8fa997c703ae9aa3c857dabe65dc4533f102ca5ee077531d6d6a82ab1978f2d236892592fadc4b511ca155
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('g3844087') # => Strava::Models::Gear
435
+ gear = client.gear(id: 'b2338517') # => Strava::Models::Gear
435
436
 
436
- gear.id # => 'g3844087'
437
- gear.name # => 'Adidas Supernova ST'
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 # => 'Adidas'
441
- gear.model_name # => 'Supernova'
442
- gear.description # => 'My NYC TCS Marathon 2018 shoes.'
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.
@@ -11,6 +11,9 @@ module Strava
11
11
  property 'brand_name'
12
12
  property 'model_name'
13
13
  property 'description'
14
+ property 'frame_type'
15
+ property 'weight'
16
+ property 'retired'
14
17
  end
15
18
  end
16
19
  end
@@ -1,3 +1,3 @@
1
1
  module Strava
2
- VERSION = '0.4.1'.freeze
2
+ VERSION = '0.4.2'.freeze
3
3
  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: 0.4.1
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-07-17 00:00:00.000000000 Z
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.0.6
173
+ rubygems_version: 3.1.3
174
174
  signing_key:
175
175
  specification_version: 4
176
176
  summary: Strava API Ruby client.