Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git_helper.rb « gitlab « helpers « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 867b30b8c748f104a0f4bf0c76347558e20162ee (plain)
1
2
3
4
5
6
7
module Gitlab
  module GitHelper
    def strip_gpg_signature(text)
      text.gsub(/-----BEGIN PGP SIGNATURE-----(.*)-----END PGP SIGNATURE-----/m, "")
    end
  end
end