lib/eco-rake/shell/gpg.rb in eco-rake-0.2.6 vs lib/eco-rake/shell/gpg.rb in eco-rake-0.2.7
- old
+ new
@@ -2,10 +2,10 @@
module Shell
module Gpg
include EcoRake::Shell::Command
include EcoRake::Shell::Files
- GPG_VERSION_REGEX = /^gpg.*?gnupg.*?(?<maj>\d+)\.(?<min>\d+)\./i.freeze
+ GPG_VERSION_REGEX = /^gpg.*?gnupg.*?(?<maj>\d+)\.(?<min>\d+)\./i
# @note
# 1. The ENV var `GPG_KEY` specifies the `passphrase` to be able to use the
# private gpg key (suppsedly installed in the user's local `gpg keyring`).
# 2. Depending on the `gpg` version, the option to prevent the interactive passphrase to prompt