mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-10 05:06:46 +10:00
6 lines
142 B
Ruby
6 lines
142 B
Ruby
module GitHelper
|
|
def strip_gpg_signature(text)
|
|
text.gsub(/-----BEGIN PGP SIGNATURE-----(.*)-----END PGP SIGNATURE-----/m, "")
|
|
end
|
|
end
|