Run rubocop on travis
This commit is contained in:
parent
f200bc89d0
commit
2bb6641bf4
@ -38,4 +38,5 @@ before_script:
|
||||
script:
|
||||
- export SKIP_COVERAGE=1
|
||||
- if [[ "$REDMINE_VER" == "master" ]]; then brakeman plugins/$PLUGIN_NAME; fi
|
||||
- if [[ "$REDMINE_VER" == "master" ]]; then rubocop plugins/$PLUGIN_NAME; fi
|
||||
- bundle exec rake redmine:plugins:test NAME=$PLUGIN_NAME RUBYOPT="-W0"
|
||||
|
@ -31,8 +31,9 @@ module Additionals
|
||||
|
||||
return unless page
|
||||
|
||||
# TODO: find solution for time_tag without to use html_safe
|
||||
content_tag(:span,
|
||||
l(:label_updated_time, time_tag(page.updated_on)).html_safe,
|
||||
l(:label_updated_time, time_tag(page.updated_on)).html_safe, # rubocop:disable Rails/OutputSafety
|
||||
class: 'last-updated-at')
|
||||
end
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user