debian-mirror-gitlab/app/helpers/git_helper.rb

6 lines
142 B
Ruby
Raw Normal View History

2015-04-26 12:48:37 +05:30
module GitHelper
def strip_gpg_signature(text)
text.gsub(/-----BEGIN PGP SIGNATURE-----(.*)-----END PGP SIGNATURE-----/m, "")
end
end