summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Schlaeger <chris@linux.com>2020-05-02 13:48:30 +0200
committerChris Schlaeger <chris@linux.com>2020-05-02 13:48:30 +0200
commit7af11d92bb0882716815c71c6f77390089777ced (patch)
treee455063bdd524aaaeb6aa39ba717a36bdd0e82d2
parent0bead6fa4bba929315b6d405e19574013785f23e (diff)
downloadpostrunner-7af11d92bb0882716815c71c6f77390089777ced.zip
New: Require perobs 4.2.0
-rw-r--r--lib/postrunner/Activity.rb2
-rw-r--r--lib/postrunner/FFS_Activity.rb2
-rw-r--r--postrunner.gemspec2
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'