Branch: refs/heads/master
Home: https://github.com/openSUSE/open-build-service
Commit: 3b2825788909bdd05f06eccafe738eb75ab3bfa7
https://github.com/openSUSE/open-build-service/commit/3b2825788909bdd05f06ec...
Author: Dany Marcoux
Date: 2022-02-16 (Wed, 16 Feb 2022)
Changed paths:
M src/api/.rubocop.yml
A src/api/app/lib/rubocop/cop/view_component/avoid_global_state.rb
M src/api/config/initializers/zeitwerk.rb
A src/api/spec/lib/rubocop/cop/view_component/avoid_global_state_spec.rb
M src/api/spec/rails_helper.rb
A src/api/spec/support/rubocop.rb
Log Message:
-----------
Create RuboCop cop to avoid global state in view components
To enforce what we've defined in our developer wiki:
https://github.com/openSUSE/open-build-service/wiki/View-Components#avoid-gl...
Commit: 35682ed65c7ddea16c00af698cdb20f3d0950118
https://github.com/openSUSE/open-build-service/commit/35682ed65c7ddea16c00af...
Author: Lukas Krause
Date: 2022-02-16 (Wed, 16 Feb 2022)
Changed paths:
M src/api/.rubocop.yml
A src/api/app/lib/rubocop/cop/view_component/avoid_global_state.rb
M src/api/config/initializers/zeitwerk.rb
A src/api/spec/lib/rubocop/cop/view_component/avoid_global_state_spec.rb
M src/api/spec/rails_helper.rb
A src/api/spec/support/rubocop.rb
Log Message:
-----------
Merge pull request #12210 from dmarcoux/rubocop-view-component-avoid-global-state
Create RuboCop cop to avoid global state in view components
Compare: https://github.com/openSUSE/open-build-service/compare/59843af321a7...35682e...