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

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Reigel <mail@koffeinfrei.org>2017-02-16 17:39:37 +0300
committerAlexis Reigel <mail@koffeinfrei.org>2017-07-27 16:40:40 +0300
commit28bb5e3d53a585b1fb958d1d91622da0a038bea8 (patch)
treef28c59d8350737429b003997017a5cd76d9166cf /app/models/commit.rb
parent817d9558febde484f23f623bd66d8c861ebc8236 (diff)
commit signature with spec
Diffstat (limited to 'app/models/commit.rb')
-rw-r--r--app/models/commit.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/commit.rb b/app/models/commit.rb
index b22aaa3c461..0d50a32d138 100644
--- a/app/models/commit.rb
+++ b/app/models/commit.rb
@@ -237,7 +237,7 @@ class Commit
def signature
return @signature if defined?(@signature)
- sig, signed = @raw.extract_signature(project.repository.raw_repository)
+ sig, signed = @raw.signature(project.repository)
if sig && signed
GPGME::Crypto.new.verify(sig, signed_text: signed) do |sign|
@signature = sign