Branch: refs/heads/master
Home: https://github.com/openSUSE/open-build-service
Commit: 781377fa20393fedf29518a6253defff4125ecda
https://github.com/openSUSE/open-build-service/commit/781377fa20393fedf29518...
Author: Stephan Kulow
Date: 2013-04-29 (Mon, 29 Apr 2013)
Changed paths:
M src/api/Gemfile
M src/api/Gemfile.lock
M src/api/app/controllers/attribute_controller.rb
M src/api/app/controllers/build_controller.rb
M src/api/app/controllers/configurations_controller.rb
M src/api/app/controllers/group_controller.rb
M src/api/app/controllers/message_controller.rb
M src/api/app/controllers/person_controller.rb
M src/api/app/controllers/public_controller.rb
M src/api/app/controllers/published_controller.rb
M src/api/app/controllers/request_controller.rb
M src/api/app/controllers/source_controller.rb
M src/api/app/controllers/status_controller.rb
M src/api/app/controllers/webui_controller.rb
M src/api/app/helpers/maintenance_helper.rb
M src/api/app/models/issue.rb
M src/api/app/models/user.rb
A src/api/app/views/configurations/show.xml.builder
M src/api/config/routes.rb
M src/api/script/start_test_backend
M src/api/test/functional/architectures_controller_test.rb
M src/api/test/functional/build_controller_test.rb
M src/api/test/functional/message_controller_test.rb
M src/api/test/functional/read_permission_test.rb
M src/api/test/functional/status_controller_test.rb
M src/api/test/functional/tag_controller_test.rb
M src/api/test/test_helper.rb
M src/api/test/unit/validator_test.rb
M src/webui/Gemfile
M src/webui/Gemfile.lock
M src/webui/script/start_test_api
Log Message:
-----------
[api] fix the routes to say what HTTP methods they support
I took out the valid_http_method calls for those. The test suite passes,
but it's possible that there are routes that allowed a :put without specifying
so. Now a :put on such a route will give you 404, where it emulated a get before