Sha256: c888fac60a452711502917a2224a6ec462d1d16a4584b7d152510e9fa7454c38

Contents?: true

Size: 438 Bytes

Versions: 7

Compression:

Stored size: 438 Bytes

Contents

# frozen_string_literal: true

module RubyGPG2
  module Commands
    module Mixins
      module PinentryConfig
        private

        def configure_command(builder, parameters)
          pinentry_mode = parameters[:pinentry_mode]

          b = super
          if pinentry_mode
            b = b.with_option(
              '--pinentry-mode', pinentry_mode
            )
          end
          b
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
ruby_gpg2-0.13.0.pre.4 lib/ruby_gpg2/commands/mixins/pinentry_config.rb
ruby_gpg2-0.13.0.pre.3 lib/ruby_gpg2/commands/mixins/pinentry_config.rb
ruby_gpg2-0.13.0.pre.2 lib/ruby_gpg2/commands/mixins/pinentry_config.rb
ruby_gpg2-0.13.0.pre.1 lib/ruby_gpg2/commands/mixins/pinentry_config.rb
ruby_gpg2-0.12.0 lib/ruby_gpg2/commands/mixins/pinentry_config.rb
ruby_gpg2-0.11.0.pre.7 lib/ruby_gpg2/commands/mixins/pinentry_config.rb
ruby_gpg2-0.11.0.pre.6 lib/ruby_gpg2/commands/mixins/pinentry_config.rb