Branch: refs/heads/master
Home: https://github.com/openSUSE/open-build-service
Commit: 8864662def567753a4eebe904e10bfa4f411ed1f
https://github.com/openSUSE/open-build-service/commit/8864662def567753a4eebe...
Author: Dany Marcoux
Date: 2018-08-03 (Fri, 03 Aug 2018)
Changed paths:
M src/api/.haml-lint_todo.yml
M src/api/app/views/webui/package/_rpmlint_log.html.haml
Log Message:
-----------
Fix haml-lint MultilineScript offense
A false positive is triggered by the linter MultilineScript, so this
explains the switch from =~ to match?.
On top of this, since Ruby 2.4, `String#match?`, `Regexp#match?` and
`Symbol#match?` have been added. The methods are faster than
`match`/`=~`. Because the methods avoid creating a `MatchData` object
or saving backref. So, when `MatchData` is not used, use `match?`
instead of `match`/`=~`.
Commit: 348557bf20d79802459396c7d073ceedd38f105c
https://github.com/openSUSE/open-build-service/commit/348557bf20d79802459396...
Author: Ana María Martínez Gómez
Date: 2018-08-03 (Fri, 03 Aug 2018)
Changed paths:
M src/api/.haml-lint_todo.yml
M src/api/app/views/webui/package/_rpmlint_log.html.haml
Log Message:
-----------
Merge pull request #5546 from dmarcoux/fix_haml-lint_MultilineScript_offense
Fix haml-lint MultilineScript offense
Compare: https://github.com/openSUSE/open-build-service/compare/abb43ef1eee7...348557...
**NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from GitHub.com on January 31st, 2019.