[obs-commits] [openSUSE/open-build-service] f477ac: [api] Use Hash#dig
Branch: refs/heads/master Home: https://github.com/openSUSE/open-build-service Commit: f477ac32d7260d548ee25c399f460f7e2d2a3c03 https://github.com/openSUSE/open-build-service/commit/f477ac32d7260d548ee25c... Author: Ana María Martínez Gómez <ammartinez@suse.de> Date: 2017-12-27 (Wed, 27 Dec 2017) Changed paths: M src/api/app/controllers/configurations_controller.rb Log Message: ----------- [api] Use Hash#dig `Hash#dig` was introduced in Ruby 2.3. It retrieves the value object corresponding to the each key objects repeatedly. Commit: cb98c573dffd611630a22df7ff9141ff68f459c0 https://github.com/openSUSE/open-build-service/commit/cb98c573dffd611630a22d... Author: Ana María Martínez Gómez <ammartinez@suse.de> Date: 2017-12-27 (Wed, 27 Dec 2017) Changed paths: M src/api/app/controllers/configurations_controller.rb Log Message: ----------- Merge pull request #4274 from Ana06/dig [api] Use Hash#dig Compare: https://github.com/openSUSE/open-build-service/compare/8d56994ad66b...cb98c5...
participants (1)
-
Ana María Martínez Gómez