summaryrefslogtreecommitdiff
path: root/app/helpers/git_helper.rb
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