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