Sha256: 535fb460454e517099c9daa5f89a0f7033480abaa5cab57a1aee30d17cc75090
Contents?: true
Size: 661 Bytes
Versions: 3
Compression:
Stored size: 661 Bytes
Contents
module RubyGPG2 module Commands module Mixins module PassphraseConfig def configure_command(builder, opts) without_passphrase = opts[:without_passphrase].nil? ? false : opts[:without_passphrase] passphrase = opts[:passphrase] builder = super(builder, opts) if passphrase builder = builder.with_option( '--passphrase', passphrase, quoting: "'") elsif without_passphrase builder = builder.with_option( '--passphrase', '', quoting: "'") end builder end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems