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

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