Sha256: 7d40d9745b79b83ce297b19b388e142180937d9d7303437d7135183fd9dd2ba5

Contents?: true

Size: 429 Bytes

Versions: 8

Compression:

Stored size: 429 Bytes

Contents

# frozen_string_literal: true

module RubyGPG2
  module Commands
    module Mixins
      module RecipientConfig
        def configure_command(builder, opts)
          recipient = opts[:recipient]

          builder = super(builder, opts)
          if recipient
            builder = builder.with_option(
              '--recipient', recipient
            )
          end
          builder
        end
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
ruby_gpg2-0.11.0.pre.4 lib/ruby_gpg2/commands/mixins/recipient_config.rb
ruby_gpg2-0.11.0.pre.3 lib/ruby_gpg2/commands/mixins/recipient_config.rb
ruby_gpg2-0.11.0.pre.2 lib/ruby_gpg2/commands/mixins/recipient_config.rb
ruby_gpg2-0.11.0.pre.1 lib/ruby_gpg2/commands/mixins/recipient_config.rb
ruby_gpg2-0.10.0 lib/ruby_gpg2/commands/mixins/recipient_config.rb
ruby_gpg2-0.9.0.pre.9 lib/ruby_gpg2/commands/mixins/recipient_config.rb
ruby_gpg2-0.9.0.pre.8 lib/ruby_gpg2/commands/mixins/recipient_config.rb
ruby_gpg2-0.9.0.pre.7 lib/ruby_gpg2/commands/mixins/recipient_config.rb