Skip to content

Commit

Permalink
Require gpgme 1.0.8 (v2 breaks API)
Browse files Browse the repository at this point in the history
Signed-off-by: Hamish Downer <[email protected]>
  • Loading branch information
stapelberg authored and foobacca committed Jan 2, 2012
1 parent b3825ed commit b8c42da
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bin/sup
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions lib/sup/crypto.rb
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit b8c42da

Please sign in to comment.