Branch: refs/heads/master
Home: https://github.com/openSUSE/open-build-service
Commit: 779efd7a302daeccaa3e57f5dabf6e3bc7c88e8d
https://github.com/openSUSE/open-build-service/commit/779efd7a302daeccaa3e57...
Author: Björn Geuken
Date: 2017-03-02 (Thu, 02 Mar 2017)
Changed paths:
M src/api/app/models/issue_tracker.rb
Log Message:
-----------
[api] DRY code by splitting out redirect loop
The issue tracker fetches data from a remote http location via GET. In case
that the server responds with a redirect location we want to follow this route.
Since the code for that is always the same, we can move it into a seperate
method to avoid duplication.
Commit: ad1168888ad3a30592670274e30c926d815a1dc4
https://github.com/openSUSE/open-build-service/commit/ad1168888ad3a305926702...
Author: Björn Geuken
Date: 2017-03-02 (Thu, 02 Mar 2017)
Changed paths:
M src/api/.rubocop.yml
M src/api/.rubocop_todo.yml
M src/api/app/models/issue_tracker.rb
M src/api/app/models/update_notification_events.rb
Log Message:
-----------
[api] Apply rubocop rule 'Lint/Loop'
"Lint/Loop: Use Kernel#loop with break rather than begin/end/until(or while)."
Commit: 4ac437b353009ea9ea5e399db624ab240a3d7167
https://github.com/openSUSE/open-build-service/commit/4ac437b353009ea9ea5e39...
Author: Björn Geuken
Date: 2017-03-02 (Thu, 02 Mar 2017)
Changed paths:
M src/api/app/models/issue_tracker.rb
Log Message:
-----------
[api] Cleanup app/models/issue_tracker.rb
* Fix rubocop offense: "Rails/Date: Do not use to_time on Date objects,
because they know nothing about the time zone in use."
* Remove outcommented code
* Use selfexplaining variable names, eg. u -> user
* Cleanup conditions
Commit: dc25073097f54f2a8c7c56cf84e8122aafbe24a5
https://github.com/openSUSE/open-build-service/commit/dc25073097f54f2a8c7c56...
Author: Björn Geuken
Date: 2017-03-02 (Thu, 02 Mar 2017)
Changed paths:
M src/api/.rubocop.yml
M src/api/.rubocop_todo.yml
M src/api/app/models/issue_tracker.rb
M src/api/app/models/update_notification_events.rb
Log Message:
-----------
Merge pull request #2742 from bgeuken/ruboloop
Apply rubocop rule 'Lint/Loop' and do some cleanup
Compare: https://github.com/openSUSE/open-build-service/compare/06d197ae3ddb...dc2507...