Undefined constant GitlabProjects::Tempfile when using SSH authentication
In !154 (merged) we introduced SSH public-key auth and custom known_hosts support too.
Actually using it on master causes this error:
Mirror update for root/gitlab-shell failed with the following message: /home/lupine/dev/gitlab.com/gitlab-org/gdk-ee/go-gitlab-shell/src/gitlab.com/gitlab-org/gitlab-shell/lib/gitlab_projects.rb:416:in `setup_ssh_auth': uninitialized constant GitlabProjects::Tempfile (NameError)
from /home/lupine/dev/gitlab.com/gitlab-org/gdk-ee/go-gitlab-shell/src/gitlab.com/gitlab-org/gitlab-shell/lib/gitlab_projects.rb:215:in `fetch_remote'
from /home/lupine/dev/gitlab.com/gitlab-org/gdk-ee/go-gitlab-shell/src/gitlab.com/gitlab-org/gitlab-shell/lib/gitlab_projects.rb:72:in `block in exec'
from /home/lupine/dev/gitlab.com/gitlab-org/gdk-ee/go-gitlab-shell/src/gitlab.com/gitlab-org/gitlab-shell/lib/gitlab_metrics.rb:47:in `measure'
from /home/lupine/dev/gitlab.com/gitlab-org/gdk-ee/go-gitlab-shell/src/gitlab.com/gitlab-org/gitlab-shell/lib/gitlab_projects.rb:53:in `exec'
from /home/lupine/dev/gitlab.com/gitlab-org/gdk-ee/gitlab-shell/bin/gitlab-projects:25:in `<main>'
Presumably, the tests require 'tempfile'
but the main binary doesn't!
We'll need to release a v5.6.1 alongside this.