diff options
-rw-r--r-- | lib/postrunner/Activity.rb | 2 | ||||
-rw-r--r-- | lib/postrunner/FFS_Activity.rb | 2 | ||||
-rw-r--r-- | 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' |