Branch: refs/heads/master
Home: https://github.com/openSUSE/open-build-service
Commit: f8ac9e47fcfd18cec5d146e1c4b2ced5c47136d9
https://github.com/openSUSE/open-build-service/commit/f8ac9e47fcfd18cec5d146...
Author: Christian Bruckmayer
Date: 2016-08-19 (Fri, 19 Aug 2016)
Changed paths:
M src/api/app/models/project.rb
M src/api/spec/models/project_spec.rb
Log Message:
-----------
[webui][api] Fix commit_opts omitted by store
Project#store always omitted the commit_opts set previously to the function call.
because the check for the empty hash always returned true.
While project.store({ options }) worked, setting the options in two steps did not:
project.commit_opts = { options }
project.store
This fix brings the store function in accordance with the destroy function.
Commit: 34c80b98f18f1dc5161851080069cd52b0ce7c7c
https://github.com/openSUSE/open-build-service/commit/34c80b98f18f1dc5161851...
Author: Björn Geuken
Date: 2016-08-21 (Sun, 21 Aug 2016)
Changed paths:
M src/api/app/models/project.rb
M src/api/spec/models/project_spec.rb
Log Message:
-----------
Merge pull request #2055 from ChrisBr/fix_store
[webui][api] Fix commit_opts omitted by store
Compare: https://github.com/openSUSE/open-build-service/compare/7b868ac65188...34c80b...