Branch: refs/heads/master
Home: https://github.com/openSUSE/open-build-service
Commit: ad57f084b04e34af05046f875bd84bf9569a9b4b
https://github.com/openSUSE/open-build-service/commit/ad57f084b04e34af05046f...
Author: Ana María Martínez Gómez
Date: 2017-11-21 (Tue, 21 Nov 2017)
Changed paths:
M src/api/app/controllers/webui/kiwi/images_controller.rb
Log Message:
-----------
[api] Remove unnecesary to_a in ImagesController
`binaries` return a `hash` and `map` over a `hash` has the same result
as converting the `hash` to `array` and then `applying `map`.
Commit: 389b705238ff9b89373ff3e107c848d8e935c99d
https://github.com/openSUSE/open-build-service/commit/389b705238ff9b89373ff3...
Author: Ana María Martínez Gómez
Date: 2017-11-21 (Tue, 21 Nov 2017)
Changed paths:
M src/api/app/controllers/webui/kiwi/images_controller.rb
Log Message:
-----------
[api] Refactor autocomplete_binaries
We were doing `map` over a `hash` to afterwards only using the fist
element of every pair, what are the `hash` keys. Instead we can
retrieve the `keys` first.
I also rename the block variable to make the code more readable.
Commit: bc807b42e44aa3e586ccf3f33876e4f1f3ea353a
https://github.com/openSUSE/open-build-service/commit/bc807b42e44aa3e586ccf3...
Author: David Kang
Date: 2017-11-21 (Tue, 21 Nov 2017)
Changed paths:
M src/api/app/controllers/webui/kiwi/images_controller.rb
Log Message:
-----------
Merge pull request #4144 from Ana06/autocomplete_binaries
Autocomplete binaries
Compare: https://github.com/openSUSE/open-build-service/compare/7755d1b46b0e...bc807b...