[obs-commits] [openSUSE/open-build-service] eb59b6: [ci] rails 5: Update dynamic fixture loading, Acti...
Branch: refs/heads/master Home: https://github.com/openSUSE/open-build-service Commit: eb59b64d89a9f0dd61090d9d028aad9409b158e7 https://github.com/openSUSE/open-build-service/commit/eb59b64d89a9f0dd61090d... Author: Björn Geuken <bgeuken@suse.de> Date: 2016-07-15 (Fri, 15 Jul 2016) Changed paths: M src/api/test/fixtures/history_elements.yml Log Message: ----------- [ci] rails 5: Update dynamic fixture loading, ActiveRecord::Fixtures -> ActiveRecord::FixtureSet Commit: fdea219d49cee795087594624f4482fd7f363769 https://github.com/openSUSE/open-build-service/commit/fdea219d49cee795087594... Author: Björn Geuken <bgeuken@suse.de> Date: 2016-07-15 (Fri, 15 Jul 2016) Changed paths: M src/api/Rakefile Log Message: ----------- [api] rails 5: Update Rakefile * Use require_relative for loading config/application * Require ruby 2.3 Commit: d4fdcdb6c0da6d39edd4ac55a5cf8b77ca9af10b https://github.com/openSUSE/open-build-service/commit/d4fdcdb6c0da6d39edd4ac... Author: Björn Geuken <bgeuken@suse.de> Date: 2016-07-15 (Fri, 15 Jul 2016) Changed paths: M src/api/app/models/project.rb Log Message: ----------- [api][ci] rails 5: Fix NoMethodError in expand_all_products Found via functional/product_test:test_simple_product_file ============= NoMethodError (undefined method `<<' for #<ActiveRecord::Relation []>): app/models/project.rb:1167:in `block (2 levels) in expand_all_products' app/models/project.rb:1165:in `block in expand_all_products' app/models/project.rb:1161:in `expand_all_products' app/models/product.rb:22:in `all_products' Commit: 906a0c35a94cc87fbed047bea2b35ea013dc6cf9 https://github.com/openSUSE/open-build-service/commit/906a0c35a94cc87fbed047... Author: Björn Geuken <bgeuken@suse.de> Date: 2016-07-15 (Fri, 15 Jul 2016) Changed paths: M src/api/app/models/bs_request.rb Log Message: ----------- [api] rails 5: Add parameter to BsRequest#save! This was causing exceptions when chaining bs requests to a CollectionProxy. =============== ArgumentError (wrong number of arguments (given 1, expected 0)): app/models/bs_request.rb:60:in `save!' app/models/bs_request_action_group.rb:58:in `check_and_add_request' app/models/bs_request_action_group.rb:153:in `addrequest' app/controllers/request_controller.rb:205:in `request_command_addrequest' app/controllers/application_controller.rb:491:in `dispatch_command' app/controllers/request_controller.rb:106:in `request_command' Commit: dca54840dac3c5ad7b8989ba160622ff5c3ff871 https://github.com/openSUSE/open-build-service/commit/dca54840dac3c5ad7b8989... Author: Björn Geuken <bgeuken@suse.de> Date: 2016-07-15 (Fri, 15 Jul 2016) Changed paths: M src/api/test/functional/issue_trackers_controller_test.rb M src/api/test/functional/status_controller_test.rb Log Message: ----------- [ci] Rails 5: Stop using assigns in functional tests With rails 5 the assigns helper is moved outside of rails into a gem. We can still use this gem, but since our functional tests inherit from ActionDispatch::IntegrationTest, assigns won't work there any longer. Commit: 2897642dc3a03556e1cd3cf1f4d4056f506c2f81 https://github.com/openSUSE/open-build-service/commit/2897642dc3a03556e1cd3c... Author: Björn Geuken <bgeuken@suse.de> Date: 2016-07-15 (Fri, 15 Jul 2016) Changed paths: M src/api/app/controllers/application_controller.rb Log Message: ----------- [api][webui] rails 5: Make forward_from_backend private hide_action used to allow public controller methods not beeing callable as actions. Since this method got removed, we need to handle that differently. Hence moving making the method private. Commit: f3dcea0aecf1ca36f67da6473c18beb24cf3ddb5 https://github.com/openSUSE/open-build-service/commit/f3dcea0aecf1ca36f67da6... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2016-07-18 (Mon, 18 Jul 2016) Changed paths: M src/api/Rakefile M src/api/app/controllers/application_controller.rb M src/api/app/models/bs_request.rb M src/api/app/models/project.rb M src/api/test/fixtures/history_elements.yml M src/api/test/functional/issue_trackers_controller_test.rb M src/api/test/functional/status_controller_test.rb Log Message: ----------- Merge pull request #1939 from bgeuken/things_for_rails5 Things needed to be fixed for rails5 Compare: https://github.com/openSUSE/open-build-service/compare/ad07bbf889b2...f3dcea...
participants (1)
-
Henne Vogelsang