[obs-commits] [openSUSE/open-build-service] 8fa8a1: [frontend] Move constants to the classes they belo...
Branch: refs/heads/master Home: https://github.com/openSUSE/open-build-service Commit: 8fa8a1998e39acb55a3863f93807ef132f6696a5 https://github.com/openSUSE/open-build-service/commit/8fa8a1998e39acb55a3863... Author: Björn Geuken <bgeuken@suse.de> Date: 2017-10-12 (Thu, 12 Oct 2017) Changed paths: M src/api/app/models/bs_request.rb M src/api/app/models/review.rb R src/api/config/initializers/valid_states.rb M src/api/spec/models/user_spec.rb Log Message: ----------- [frontend] Move constants to the classes they belong to We just shouldn't define constants via initializers. What else could I say?;-) Commit: cd40e6c0f077384814274c660e41d8a5a3d731ef https://github.com/openSUSE/open-build-service/commit/cd40e6c0f077384814274c... Author: Björn Geuken <bgeuken@suse.de> Date: 2017-10-12 (Thu, 12 Oct 2017) Changed paths: M src/api/app/models/bs_request.rb M src/api/app/models/review.rb R src/api/config/initializers/valid_states.rb M src/api/spec/models/user_spec.rb Log Message: ----------- Merge pull request #3995 from bgeuken/drop_initializer_for_constants [frontend] Move constants to the classes they belong to Compare: https://github.com/openSUSE/open-build-service/compare/f75c35d5be00...cd40e6...
participants (1)
-
Björn Geuken