[obs-commits] [openSUSE/open-build-service] fbe47c: Update tests to not use DateTime
Branch: refs/heads/depfu/update/srcapi/rubocop-0.60.0 Home: https://github.com/openSUSE/open-build-service Commit: fbe47c6d9bc3f86b34a1b88b8a7dc15ac8d0df2e https://github.com/openSUSE/open-build-service/commit/fbe47c6d9bc3f86b34a1b8... Author: Björn Geuken <bgeuken@suse.de> Date: 2018-11-01 (Thu, 01 Nov 2018) Changed paths: M src/api/spec/models/cloud/backend/upload_job_spec.rb M src/api/spec/models/comment_spec.rb M src/api/test/functional/maintenance_test.rb Log Message: ----------- Update tests to not use DateTime This is needed to silence the Rubocop Style/DateTime cop. Details at: https://github.com/rubocop-hq/ruby-style-guide#date--time https://www.rubydoc.info/gems/rubocop/RuboCop/Cop/Rails/Date Commit: da3454f5e4719b0ab119825dec169f600c5eeafc https://github.com/openSUSE/open-build-service/commit/da3454f5e4719b0ab11982... Author: Björn Geuken <bgeuken@suse.de> Date: 2018-11-01 (Thu, 01 Nov 2018) Changed paths: M src/api/app/models/obs_factory/distribution_strategy_opensuse_leap15.rb M src/api/lib/pretty_nested_errors/key_and_messages_parser.rb Log Message: ----------- Solve Rubocop offenses: Style/MutableConstant Commit: 5a48a3d38c190f12e2d821a36823de5fc52bdea3 https://github.com/openSUSE/open-build-service/commit/5a48a3d38c190f12e2d821... Author: Dany Marcoux <danymarcoux@gmail.com> Date: 2018-11-01 (Thu, 01 Nov 2018) Changed paths: M src/api/app/controllers/request_controller.rb M src/api/app/jobs/project_create_auto_cleanup_requests.rb M src/api/app/models/binary_release.rb M src/api/app/models/bs_request.rb M src/api/app/models/cloud/backend/upload_job.rb Log Message: ----------- Solve Style/DateTime rubocop offenses Details at: https://github.com/rubocop-hq/ruby-style-guide#date--time https://www.rubydoc.info/gems/rubocop/RuboCop/Cop/Rails/Date Compare: https://github.com/openSUSE/open-build-service/compare/86b626029a87...5a48a3... **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/ Functionality will be removed from GitHub.com on January 31st, 2019.
participants (1)
-
Dany Marcoux