Branch: refs/heads/master
Home: https://github.com/openSUSE/open-build-service
Commit: 0094e9d3f86c050c6f542086c715f84561389b50
https://github.com/openSUSE/open-build-service/commit/0094e9d3f86c050c6f5420...
Author: Björn Geuken
Date: 2018-06-19 (Tue, 19 Jun 2018)
Changed paths:
M src/api/app/controllers/webui/packages/build_reason_controller.rb
M src/api/app/models/package.rb
Log Message:
-----------
[frontend] Refactor Package#last_build_reason
We've been temporarely converting the xml string, eg. '<a></b>' to
a Nokogiri::XML object before creating a hash from it.
By using Xmlhash#parse we can skip the intermediate step and directly
create a hash.
This reduces the code and slightly improves the performance of that
method.
Commit: 6d5247773028d2ca9094f6828d2e97692ff67f6a
https://github.com/openSUSE/open-build-service/commit/6d5247773028d2ca9094f6828d2e97692ff67f6a
Author: Björn Geuken
Date: 2018-06-19 (Tue, 19 Jun 2018)
Changed paths:
M src/api/spec/controllers/webui/packages/build_reason_controller_spec.rb
Log Message:
-----------
[frontend] Fix build reason test
When flash[:notice] unexpectedly is nil the test failed because
the be_empty helper can not handle nil values.
Using be_blank fixes the issue.
Commit: 9ac1e066ee46e72ec510a63702a6baa664122dd8
https://github.com/openSUSE/open-build-service/commit/9ac1e066ee46e72ec510a63702a6baa664122dd8
Author: Christian Bruckmayer
Date: 2018-06-19 (Tue, 19 Jun 2018)
Changed paths:
M src/api/app/controllers/webui/packages/build_reason_controller.rb
M src/api/app/models/package.rb
M src/api/spec/controllers/webui/packages/build_reason_controller_spec.rb
Log Message:
-----------
Merge pull request #5148 from bgeuken/refactor_last_build_reason
[frontend] Refactor Package#last_build_reason
Compare: https://github.com/openSUSE/open-build-service/compare/e9253e7c7ca5...9ac1e066ee46
**NOTE:** This service 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.