-
- Downloads
Merge branch 'deprecated-class-methods-cop' into 'master'
Enable the Rubocop DeprecatedClassMethods cop This reports uses of `File.exists?` and `Dir.exists?`, which were both deprecated in Ruby and will eventually be removed in favor of `.exist?`. Also fixes all existing uses of the deprecated methods. See merge request !4087
No related branches found
No related tags found
Showing
- .rubocop.yml 1 addition, 1 deletion.rubocop.yml
- app/models/ci/build.rb 1 addition, 1 deletionapp/models/ci/build.rb
- app/models/merge_request.rb 1 addition, 1 deletionapp/models/merge_request.rb
- config/boot.rb 1 addition, 1 deletionconfig/boot.rb
- config/initializers/carrierwave.rb 1 addition, 1 deletionconfig/initializers/carrierwave.rb
- lib/gitlab/backend/shell.rb 1 addition, 1 deletionlib/gitlab/backend/shell.rb
- lib/gitlab/redis.rb 1 addition, 1 deletionlib/gitlab/redis.rb
- spec/config/mail_room_spec.rb 1 addition, 1 deletionspec/config/mail_room_spec.rb
- spec/services/projects/create_service_spec.rb 2 additions, 2 deletionsspec/services/projects/create_service_spec.rb
- spec/services/projects/destroy_service_spec.rb 4 additions, 4 deletionsspec/services/projects/destroy_service_spec.rb
Loading
Please register or sign in to comment