Fix warnings for upcoming ruby version
Ruby 2.7 made some deprecation warnings verbose and they become visible to users e.g.:
remote: gitlab-gitaly/ruby/gitlab-shell/lib/httpunix.rb:15: warning: URI.unescape is obsolete
remote: gitlab-gitaly/ruby/gitlab-shell/lib/gitlab_net.rb:63: warning: Passing the keyword argument as the last hash parameter is deprecated
remote: gitlab-gitaly/ruby/gitlab-shell/lib/http_helper.rb:98: warning: The called method `post' is defined here
remote: gitlab-gitaly/ruby/gitlab-shell/lib/httpunix.rb:15: warning: URI.unescape is obsolete
remote: gitlab-gitaly/ruby/gitlab-shell/lib/httpunix.rb:15: warning: URI.unescape is obsolete
Fix the warnings.
TESTS: unittests, manually by pushing to a gitlab server
Signed-off-by: Anatol Pomozov anatol.pomozov@gmail.com
Edited by GitLab Release Tools Bot