commit b8c42da2b0ae6f7e4fc59357e159b2091df4113c
parent b3825ed8d9c715c02f9308cdd72e6f2bd4590694
Author: Michael Stapelberg <michael@stapelberg.de>
Date: Tue, 29 Nov 2011 23:18:34 +0000
Require gpgme 1.0.8 (v2 breaks API)
Signed-off-by: Hamish Downer
Diffstat:
2 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/bin/sup b/bin/sup
@@ -12,6 +12,8 @@ end
no_gpgme = false
begin
+ # gpgme broke its API in 2.0, so make sure we have the old version for now.
+ gem 'gpgme', '=1.0.8'
require 'gpgme'
rescue LoadError
no_gpgme = true
diff --git a/lib/sup/crypto.rb b/lib/sup/crypto.rb
@@ -1,4 +1,6 @@
begin
+ # gpgme broke its API in 2.0, so make sure we have the old version for now.
+ gem 'gpgme', '=1.0.8'
require 'gpgme'
rescue LoadError
end