[obs-commits] [openSUSE/open-build-service] b1c1ac: [api][ci] Make statistics mixin a class
Branch: refs/heads/master Home: https://github.com/openSUSE/open-build-service Commit: b1c1acfd44ec5f5bbde412f13722c2d602c704ce https://github.com/openSUSE/open-build-service/commit/b1c1acfd44ec5f5bbde412... Author: Björn Geuken <bgeuken@suse.de> Date: 2017-10-05 (Thu, 05 Oct 2017) Changed paths: M src/api/app/controllers/statistics_controller.rb M src/api/app/controllers/webui/feeds_controller.rb M src/api/app/controllers/webui/main_controller.rb R src/api/app/mixins/statistics_calculations.rb A src/api/lib/statistics_calculations.rb A src/api/spec/lib/statistics_calculations_spec.rb R src/api/spec/mixins/statistics_calculations_spec.rb Log Message: ----------- [api][ci] Make statistics mixin a class This is not used as a mixin and can be handled as a simple lib. Commit: 3c2e02b0adcb3e01a67496557203cc0f0ea5a54d https://github.com/openSUSE/open-build-service/commit/3c2e02b0adcb3e01a67496... Author: Björn Geuken <bgeuken@suse.de> Date: 2017-10-05 (Thu, 05 Oct 2017) Changed paths: M src/api/lib/statistics_calculations.rb Log Message: ----------- [api] Refactor StatisticsCalculations class * Sort results right away instead of temporarely storing it * Shorten how we apply the limit Commit: 140e20088dfb9d738ef9f8200dc47f2776bd8911 https://github.com/openSUSE/open-build-service/commit/140e20088dfb9d738ef9f8... Author: Björn Geuken <bgeuken@suse.de> Date: 2017-10-05 (Thu, 05 Oct 2017) Changed paths: M src/api/lib/statistics_calculations.rb Log Message: ----------- [api] Reduce complexity of get_latest_updated This moves the two queries into seperate methods. Commit: 12520f7f7af1ad4f41942d1a8c67851c94237f7b https://github.com/openSUSE/open-build-service/commit/12520f7f7af1ad4f41942d... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2017-10-06 (Fri, 06 Oct 2017) Changed paths: M src/api/app/controllers/statistics_controller.rb M src/api/app/controllers/webui/feeds_controller.rb M src/api/app/controllers/webui/main_controller.rb R src/api/app/mixins/statistics_calculations.rb A src/api/lib/statistics_calculations.rb A src/api/spec/lib/statistics_calculations_spec.rb R src/api/spec/mixins/statistics_calculations_spec.rb Log Message: ----------- Merge pull request #3945 from bgeuken/make_mixin_a_class [api][ci] Make statistics mixin a class Compare: https://github.com/openSUSE/open-build-service/compare/0fb4bf8d540a...12520f...
participants (1)
-
Henne Vogelsang