Sha256: 086ed4823910a00f4c3ff6bb9720cf48efffafee838c090af45d891cd24f829a

Contents?: true

Size: 381 Bytes

Versions: 21

Compression:

Stored size: 381 Bytes

Contents

module RubyGPG2
  module Commands
    module Mixins
      module PassphraseConfig
        def configure_command(builder, opts)
          passphrase = opts[:passphrase]

          builder = super(builder, opts)
          builder = builder.with_option(
                '--passphrase', passphrase, quoting: '"') if passphrase
          builder
        end
      end
    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
ruby_gpg2-0.9.0.pre.6 lib/ruby_gpg2/commands/mixins/passphrase_config.rb
ruby_gpg2-0.9.0.pre.5 lib/ruby_gpg2/commands/mixins/passphrase_config.rb
ruby_gpg2-0.9.0.pre.4 lib/ruby_gpg2/commands/mixins/passphrase_config.rb
ruby_gpg2-0.9.0.pre.3 lib/ruby_gpg2/commands/mixins/passphrase_config.rb
ruby_gpg2-0.9.0.pre.2 lib/ruby_gpg2/commands/mixins/passphrase_config.rb
ruby_gpg2-0.9.0.pre.1 lib/ruby_gpg2/commands/mixins/passphrase_config.rb
ruby_gpg2-0.8.0 lib/ruby_gpg2/commands/mixins/passphrase_config.rb
ruby_gpg2-0.7.0.pre.1 lib/ruby_gpg2/commands/mixins/passphrase_config.rb
ruby_gpg2-0.6.0 lib/ruby_gpg2/commands/mixins/passphrase_config.rb
ruby_gpg2-0.5.0.pre.1 lib/ruby_gpg2/commands/mixins/passphrase_config.rb
ruby_gpg2-0.4.0 lib/ruby_gpg2/commands/mixins/passphrase_config.rb
ruby_gpg2-0.3.0.pre.2 lib/ruby_gpg2/commands/mixins/passphrase_config.rb
ruby_gpg2-0.3.0.pre.1 lib/ruby_gpg2/commands/mixins/passphrase_config.rb
ruby_gpg2-0.2.0 lib/ruby_gpg2/commands/mixins/passphrase_config.rb
ruby_gpg2-0.1.0.pre.27 lib/ruby_gpg2/commands/mixins/passphrase_config.rb
ruby_gpg2-0.1.0.pre.26 lib/ruby_gpg2/commands/mixins/passphrase_config.rb
ruby_gpg2-0.1.0.pre.25 lib/ruby_gpg2/commands/mixins/passphrase_config.rb
ruby_gpg2-0.1.0.pre.24 lib/ruby_gpg2/commands/mixins/passphrase_config.rb
ruby_gpg2-0.1.0.pre.23 lib/ruby_gpg2/commands/mixins/passphrase_config.rb
ruby_gpg2-0.1.0.pre.22 lib/ruby_gpg2/commands/mixins/passphrase_config.rb