28 lines
449 B
Ruby
Raw Normal View History

2016-08-10 04:50:59 +01:00
require "utils"
module Gpg
2017-12-23 16:52:50 +00:00
module_function
2016-08-10 04:50:59 +01:00
2017-12-23 16:52:50 +00:00
def executable
odeprecated "Gpg.executable", 'which "gpg"'
2017-12-23 16:52:50 +00:00
which "gpg"
2016-08-10 16:46:58 +01:00
end
2017-12-23 16:52:50 +00:00
def available?
odeprecated "Gpg.available?", 'which "gpg"'
File.executable?(executable.to_s)
2016-08-10 04:50:59 +01:00
end
def create_test_key(_)
odeprecated "Gpg.create_test_key"
2016-08-10 04:50:59 +01:00
end
2017-08-28 16:51:58 +01:00
2017-12-23 16:52:50 +00:00
def cleanup_test_processes!
odeprecated "Gpg.cleanup_test_processes!"
2017-08-28 16:51:58 +01:00
end
2017-09-01 01:50:26 +01:00
def test(_)
odeprecated "Gpg.test"
2017-09-01 01:50:26 +01:00
end
2016-08-10 04:50:59 +01:00
end