Fixes #167: Constants in GitlabNet throw warnings
Change the require order to avoid warnings for redefined constants as described in #167 (closed).
The require_relative '../lib/gitlab_access'
from pre-receive also requires gitlab_net
which collides with the explicit require require_relative '../lib/gitlab_net'
.
Edited by Horatiu Eugen Vlad