[obs-commits] [openSUSE/open-build-service] 525a2a: [webui] Replace validator classes by validation me...
Branch: refs/heads/master Home: https://github.com/openSUSE/open-build-service Commit: 525a2aca10fce3ddfe41854b02f0d137e3c47102 https://github.com/openSUSE/open-build-service/commit/525a2aca10fce3ddfe4185... Author: Björn Geuken <bgeuken@suse.de> Date: 2015-09-02 (Wed, 02 Sep 2015) Changed paths: M src/api/app/models/attrib.rb R src/api/app/validators/attrib_allowed_values_validator.rb R src/api/app/validators/attrib_issue_validator.rb R src/api/app/validators/attrib_value_length_validator.rb Log Message: ----------- [webui] Replace validator classes by validation methods Those validations were very specific and only used by the Attrib model. Thus it belongs there. Commit: e3ec17cbe122d8fcc76b0854419162ed60c4f4ce https://github.com/openSUSE/open-build-service/commit/e3ec17cbe122d8fcc76b08... Author: Björn Geuken <bgeuken@suse.de> Date: 2015-09-02 (Wed, 02 Sep 2015) Changed paths: M src/api/app/models/attrib.rb M src/api/test/unit/attrib_test.rb Log Message: ----------- [webui] Cleanup validators methods of attrib model Commit: 06570ce6842d3e5f9bc1c307825dfec9a47daebe https://github.com/openSUSE/open-build-service/commit/06570ce6842d3e5f9bc1c3... Author: Björn Geuken <bgeuken@suse.de> Date: 2015-09-02 (Wed, 02 Sep 2015) Changed paths: M src/api/app/models/attrib.rb Log Message: ----------- [webui] Show the actual value in the validation error and not the object Commit: dea630b1aee6b6750a256901bb9d6edb10027677 https://github.com/openSUSE/open-build-service/commit/dea630b1aee6b6750a2569... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2015-09-02 (Wed, 02 Sep 2015) Changed paths: M src/api/app/models/attrib.rb R src/api/app/validators/attrib_allowed_values_validator.rb R src/api/app/validators/attrib_issue_validator.rb R src/api/app/validators/attrib_value_length_validator.rb M src/api/test/unit/attrib_test.rb Log Message: ----------- Merge pull request #1084 from bgeuken/attrib_validators Attrib validators Compare: https://github.com/openSUSE/open-build-service/compare/3229a3cfff21...dea630...
participants (1)
-
Henne Vogelsang