diff options
author | Chris Schlaeger <chris@linux.com> | 2015-03-01 06:48:13 +0100 |
---|---|---|
committer | Chris Schlaeger <chris@linux.com> | 2015-03-01 06:48:13 +0100 |
commit | 5e8ff4b640c5cdc91d1e86b983b9a6bd2d7dc17d (patch) | |
tree | 806e99993ef5c42d58650cbceb3c33dec8c8b38e /lib | |
parent | 7acd36daa3d727eae37d540193480614ff369061 (diff) | |
parent | b48b75ae4bffffa867396004f1809a94fd0ad5e7 (diff) | |
download | postrunner-5e8ff4b640c5cdc91d1e86b983b9a6bd2d7dc17d.zip |
Merge branch 'master' of github.com:scrapper/postrunner
Diffstat (limited to 'lib')
-rw-r--r-- | lib/postrunner/ActivitiesDB.rb | 2 | ||||
-rw-r--r-- | lib/postrunner/Activity.rb | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/lib/postrunner/ActivitiesDB.rb b/lib/postrunner/ActivitiesDB.rb index 44db6ff..13052dd 100644 --- a/lib/postrunner/ActivitiesDB.rb +++ b/lib/postrunner/ActivitiesDB.rb @@ -149,6 +149,8 @@ module PostRunner def check @activities.each { |a| a.check } + # Ensure that HTML index is up-to-date. + ActivityListView.new(self).update_html_index end def ref_by_fit_file(fit_file) diff --git a/lib/postrunner/Activity.rb b/lib/postrunner/Activity.rb index 72c1e12..1ca96b1 100644 --- a/lib/postrunner/Activity.rb +++ b/lib/postrunner/Activity.rb @@ -114,7 +114,7 @@ module PostRunner end def check - @fit_activity = load_fit_file + generate_html_view Log.info "FIT file #{@fit_file} is OK" end |