6 Commits

Author SHA1 Message Date
Dominyk Tiller
ca9b8bea2e
gpg: flip search priority order
Makes more sense this way around now Homebrew has migrated across
to 2.1.x & the latest version of that doesn't install as `gpg2`
any more.

Doesn't need to be merged before this PR but for the sake of referencing
the PR introducing the upstream death of the `gpg2` symlink is:
https://github.com/Homebrew/homebrew-core/pull/16580
2017-08-09 17:04:50 +01:00
JCount
889d61660a gpg: add version method to retrieve current version in path 2017-04-08 20:20:26 -04:00
JCount
7058c089a6 gpg: add the 2.1.x series as a recognized GnuPG version 2017-03-15 16:04:52 -04:00
Dominyk Tiller
2776f08fa0
gpg: simplify available check
which_all already runs some checks to see if the file is a file & is executable.
Our usage here inside `self.available?` is mostly a smoke test.

Closes #676.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2016-08-12 23:46:43 +01:00
Dominyk Tiller
3005582f15
gpg: combine detection logic 2016-08-12 23:46:42 +01:00
Dominyk Tiller
92a6a557f5
gpg: add initial bare-bones wrapper 2016-08-12 23:46:42 +01:00