From 7af11d92bb0882716815c71c6f77390089777ced Mon Sep 17 00:00:00 2001 From: Chris Schlaeger Date: Sat, 2 May 2020 13:48:30 +0200 Subject: New: Require perobs 4.2.0 --- lib/postrunner/Activity.rb | 2 +- lib/postrunner/FFS_Activity.rb | 2 +- postrunner.gemspec | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/postrunner/Activity.rb b/lib/postrunner/Activity.rb index d169461..472b950 100644 --- a/lib/postrunner/Activity.rb +++ b/lib/postrunner/Activity.rb @@ -380,7 +380,7 @@ module PostRunner end def activity_sub_type - ActivitySubTypes[@sub_sport] || 'Undefined "#{@sub_sport}"' + ActivitySubTypes[@sub_sport] || "Undefined #{@sub_sport}" end def distance(timestamp, unit_system) diff --git a/lib/postrunner/FFS_Activity.rb b/lib/postrunner/FFS_Activity.rb index ef6e17d..7d343eb 100644 --- a/lib/postrunner/FFS_Activity.rb +++ b/lib/postrunner/FFS_Activity.rb @@ -253,7 +253,7 @@ module PostRunner end def activity_sub_type - ActivitySubTypes[@sub_sport] || 'Undefined' + ActivitySubTypes[@sub_sport] || "Undefined #{@sub_sport}" end def distance(timestamp, unit_system) diff --git a/postrunner.gemspec b/postrunner.gemspec index d8cf809..3aab4de 100644 --- a/postrunner.gemspec +++ b/postrunner.gemspec @@ -29,7 +29,7 @@ operating systems as well.} spec.required_ruby_version = '>=2.4' spec.add_dependency 'fit4ruby', '~> 3.5.0' - spec.add_dependency 'perobs', '~> 4.1.0' + spec.add_dependency 'perobs', '~> 4.2.0' spec.add_dependency 'nokogiri', '~> 1.6' spec.add_development_dependency 'bundler', '~> 1.6' -- cgit v1.2.3