-
- Downloads
Fix inconsistent naming for services that delete things
* Changed name of delete_user_service and worker to destroy * Move and change delete_group_service to Groups::DestroyService * Rename Notes::DeleteService to Notes::DestroyService
Showing
- app/controllers/admin/groups_controller.rb 1 addition, 1 deletionapp/controllers/admin/groups_controller.rb
- app/controllers/groups_controller.rb 1 addition, 1 deletionapp/controllers/groups_controller.rb
- app/controllers/projects/notes_controller.rb 1 addition, 1 deletionapp/controllers/projects/notes_controller.rb
- app/controllers/registrations_controller.rb 1 addition, 1 deletionapp/controllers/registrations_controller.rb
- app/services/delete_user_service.rb 0 additions, 31 deletionsapp/services/delete_user_service.rb
- app/services/destroy_group_service.rb 0 additions, 29 deletionsapp/services/destroy_group_service.rb
- app/services/groups/destroy_service.rb 25 additions, 0 deletionsapp/services/groups/destroy_service.rb
- app/services/notes/destroy_service.rb 1 addition, 1 deletionapp/services/notes/destroy_service.rb
- app/services/users/destroy_service.rb 33 additions, 0 deletionsapp/services/users/destroy_service.rb
- app/workers/delete_user_worker.rb 1 addition, 1 deletionapp/workers/delete_user_worker.rb
- app/workers/group_destroy_worker.rb 1 addition, 1 deletionapp/workers/group_destroy_worker.rb
- changelogs/unreleased/rename_delete_services.yml 4 additions, 0 deletionschangelogs/unreleased/rename_delete_services.yml
- lib/api/groups.rb 1 addition, 1 deletionlib/api/groups.rb
- lib/api/notes.rb 1 addition, 1 deletionlib/api/notes.rb
- lib/api/users.rb 1 addition, 1 deletionlib/api/users.rb
- spec/services/groups/destroy_service_spec.rb 8 additions, 8 deletionsspec/services/groups/destroy_service_spec.rb
- spec/services/notes/destroy_service_spec.rb 1 addition, 1 deletionspec/services/notes/destroy_service_spec.rb
- spec/services/users/destroy_spec.rb 6 additions, 5 deletionsspec/services/users/destroy_spec.rb
- spec/workers/delete_user_worker_spec.rb 2 additions, 2 deletionsspec/workers/delete_user_worker_spec.rb
app/services/delete_user_service.rb
deleted
100644 → 0
app/services/groups/destroy_service.rb
0 → 100644
app/services/users/destroy_service.rb
0 → 100644
Please register or sign in to comment