File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -38,15 +38,17 @@ $ gem install tcxread
3838``` ruby
3939require ' tcxread'
4040
41- data = TCXRead .new (' 2 .tcx' )
41+ data = TCXRead .new (' 23 .tcx' )
4242
4343puts " Distance meters: #{ data.total_distance_meters } , " \
4444 " Time seconds: #{ data.total_time_seconds } , " \
4545 " Calories: #{ data.total_calories } , " \
4646 " Total ascent: #{ data.total_ascent } , " \
4747 " Total descent: #{ data.total_descent } , " \
4848 " Max altitude: #{ data.max_altitude } , " \
49- " Average heart rate: #{ data.average_heart_rate } "
49+ " Average heart rate: #{ data.average_heart_rate } , " \
50+ " Average watts: #{ data.average_watts } , " \
51+ " Max watts: #{ data.max_watts } "
5052```
5153
5254## 💾 Datasets
Original file line number Diff line number Diff line change 11require 'tcxread'
22
3- data = TCXRead . new ( '2 .tcx' )
3+ data = TCXRead . new ( '23 .tcx' )
44
55puts "Distance meters: #{ data . total_distance_meters } , " \
66 "Time seconds: #{ data . total_time_seconds } , " \
77 "Calories: #{ data . total_calories } , " \
88 "Total ascent: #{ data . total_ascent } , " \
99 "Total descent: #{ data . total_descent } , " \
1010 "Max altitude: #{ data . max_altitude } , " \
11- "Average heart rate: #{ data . average_heart_rate } "
12-
11+ "Average heart rate: #{ data . average_heart_rate } , " \
12+ "Average watts: #{ data . average_watts } , " \
13+ "Max watts: #{ data . max_watts } "
Original file line number Diff line number Diff line change 22
33Gem ::Specification . new do |spec |
44 spec . name = 'tcxread'
5- spec . version = '0.1.0 '
5+ spec . version = '0.1.1 '
66 spec . license = 'MIT'
77 spec . authors = %w[ firefly-cpp ]
88 spec . email = [ 'iztok@iztok-jr-fister.eu' ]
You can’t perform that action at this time.
0 commit comments