Branch: refs/heads/master
Home: https://github.com/openSUSE/open-build-service
Commit: 1a6f162b4e0952d0987f96818fd448a669b549fb
https://github.com/openSUSE/open-build-service/commit/1a6f162b4e0952d0987f96...
Author: Dany Marcoux
Date: 2022-02-16 (Wed, 16 Feb 2022)
Changed paths:
M src/api/.rubocop.yml
R src/api/app/lib/rubocop/cop/view_component/avoid_global_state.rb
M src/api/config/initializers/zeitwerk.rb
A src/api/lib/rubocop/cop/view_component/avoid_global_state.rb
M src/api/spec/lib/rubocop/cop/view_component/avoid_global_state_spec.rb
Log Message:
-----------
Move custom RuboCop cop to src/api/lib
The rubocop gem isn't loaded in the production environment, so depending
on `RuboCop::Cop::Base` in an auto-loaded file under `src/api/app/lib/`
crashes the app when it's booted in this environment.
Commit: e57a560d8350da831b0879ebd8f9ab12a85daeb1
https://github.com/openSUSE/open-build-service/commit/e57a560d8350da831b0879...
Author: Dany Marcoux
Date: 2022-02-16 (Wed, 16 Feb 2022)
Changed paths:
M src/api/.rubocop.yml
R src/api/app/lib/rubocop/cop/view_component/avoid_global_state.rb
M src/api/config/initializers/zeitwerk.rb
A src/api/lib/rubocop/cop/view_component/avoid_global_state.rb
M src/api/spec/lib/rubocop/cop/view_component/avoid_global_state_spec.rb
Log Message:
-----------
Merge pull request #12219 from dmarcoux/move-custom-rubocop-cop-to-lib
Move custom RuboCop cop to src/api/lib
Compare: https://github.com/openSUSE/open-build-service/compare/dbe0f39a5d14...e57a56...