Sha256: 92df3aa2dca7745c9cfa69c167c697c3114a0b66e245f82313672c5f61ef4e7d

Contents?: true

Size: 434 Bytes

Versions: 8

Compression:

Stored size: 434 Bytes

Contents

# frozen_string_literal: true

module RubyGPG2
  module Commands
    module Mixins
      module TrustModeConfig
        def configure_command(builder, opts)
          trust_mode = opts[:trust_mode]

          builder = super(builder, opts)
          if trust_mode
            builder = builder.with_option(
              '--trust-mode', trust_mode
            )
          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/trust_mode_config.rb
ruby_gpg2-0.11.0.pre.3 lib/ruby_gpg2/commands/mixins/trust_mode_config.rb
ruby_gpg2-0.11.0.pre.2 lib/ruby_gpg2/commands/mixins/trust_mode_config.rb
ruby_gpg2-0.11.0.pre.1 lib/ruby_gpg2/commands/mixins/trust_mode_config.rb
ruby_gpg2-0.10.0 lib/ruby_gpg2/commands/mixins/trust_mode_config.rb
ruby_gpg2-0.9.0.pre.9 lib/ruby_gpg2/commands/mixins/trust_mode_config.rb
ruby_gpg2-0.9.0.pre.8 lib/ruby_gpg2/commands/mixins/trust_mode_config.rb
ruby_gpg2-0.9.0.pre.7 lib/ruby_gpg2/commands/mixins/trust_mode_config.rb