git_helper.rb 170 Bytes
module Gitlab
  module GitHelper
    def strip_gpg_signature(text)
      text.gsub(/-----BEGIN PGP SIGNATURE-----(.*)-----END PGP SIGNATURE-----/m, "")
    end
  end
end