Sha256: 2486ffc782f329fae6e37c7f3e8345b31f286b0e986e677ef2a5e40904c88b4b

Contents?: true

Size: 366 Bytes

Versions: 15

Compression:

Stored size: 366 Bytes

Contents

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

          builder = super(builder, opts)
          builder = builder.with_option(
                '--trust-mode', trust_mode) if trust_mode
          builder
        end
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
ruby_gpg2-0.9.0.pre.6 lib/ruby_gpg2/commands/mixins/trust_mode_config.rb
ruby_gpg2-0.9.0.pre.5 lib/ruby_gpg2/commands/mixins/trust_mode_config.rb
ruby_gpg2-0.9.0.pre.4 lib/ruby_gpg2/commands/mixins/trust_mode_config.rb
ruby_gpg2-0.9.0.pre.3 lib/ruby_gpg2/commands/mixins/trust_mode_config.rb
ruby_gpg2-0.9.0.pre.2 lib/ruby_gpg2/commands/mixins/trust_mode_config.rb
ruby_gpg2-0.9.0.pre.1 lib/ruby_gpg2/commands/mixins/trust_mode_config.rb
ruby_gpg2-0.8.0 lib/ruby_gpg2/commands/mixins/trust_mode_config.rb
ruby_gpg2-0.7.0.pre.1 lib/ruby_gpg2/commands/mixins/trust_mode_config.rb
ruby_gpg2-0.6.0 lib/ruby_gpg2/commands/mixins/trust_mode_config.rb
ruby_gpg2-0.5.0.pre.1 lib/ruby_gpg2/commands/mixins/trust_mode_config.rb
ruby_gpg2-0.4.0 lib/ruby_gpg2/commands/mixins/trust_mode_config.rb
ruby_gpg2-0.3.0.pre.2 lib/ruby_gpg2/commands/mixins/trust_mode_config.rb
ruby_gpg2-0.3.0.pre.1 lib/ruby_gpg2/commands/mixins/trust_mode_config.rb
ruby_gpg2-0.2.0 lib/ruby_gpg2/commands/mixins/trust_mode_config.rb
ruby_gpg2-0.1.0.pre.27 lib/ruby_gpg2/commands/mixins/trust_mode_config.rb