ruby_gpg2 0.1.0.pre.26 → 0.1.0.pre.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b1c5966fcb2f0f8811976934294114b7242813a669ce481b6c6b907ee30c143d
4
- data.tar.gz: 8e0bd8cc31fed8ccc25c2e877f377759309c05461f492c187e5f896ce7d4eca0
3
+ metadata.gz: 0a96d199558134e523611d49ca8d004c19f5ddd102139cb0353cce384f9bb05b
4
+ data.tar.gz: 12de63ac2076476529e1d164ac0c18e761e82e3d42ffb1745522c2873035725e
5
5
  SHA512:
6
- metadata.gz: 16ebf43ca5f5312a5912ea28e2d409ae1b784236472bea8bf4db2cc1b329a48ffe928a185115c42525b8dd3dd5e2b6d371661807e49316c54d5b557e196b4dba
7
- data.tar.gz: 838889f8b750651fdd376d508b2468eadd59cc8aad18989591c75a83e58bce148a9642f9f9c4126d9117ab273bcc9724d5753c153706769973ad983db0306436
6
+ metadata.gz: dcec379b4e2e09ce4cc00bed798632cc647c1cf013bbf359ccf31413c4d046b60d8db90627845e1ace0255f5aa278f8f2fccaca4e1c9adbf73aeba7644ea8633
7
+ data.tar.gz: 17a0a1444ef0eb3903c2e4e897cbcb43144ecf22034b7dd5fe18855a995cc318f6e458b7e0d684f971434465ee3e275e9d9fa5940d0facdea0a126fbe338a9db
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ruby_gpg2 (0.1.0.pre.26)
4
+ ruby_gpg2 (0.1.0.pre.27)
5
5
  lino (= 1.3.0)
6
6
 
7
7
  GEM
@@ -5,6 +5,7 @@ require_relative 'mixins/global_config'
5
5
  require_relative 'mixins/batch_config'
6
6
  require_relative 'mixins/input_config'
7
7
  require_relative 'mixins/output_config'
8
+ require_relative 'mixins/trust_mode_config'
8
9
  require_relative 'mixins/passphrase_config'
9
10
  require_relative 'mixins/pinentry_config'
10
11
  require_relative 'mixins/without_passphrase'
@@ -16,6 +17,7 @@ module RubyGPG2
16
17
  include Mixins::BatchConfig
17
18
  include Mixins::InputConfig
18
19
  include Mixins::OutputConfig
20
+ include Mixins::TrustModeConfig
19
21
  include Mixins::PassphraseConfig
20
22
  include Mixins::PinentryConfig
21
23
  include Mixins::WithoutPassphrase
@@ -7,6 +7,7 @@ require_relative 'mixins/armor_config'
7
7
  require_relative 'mixins/input_config'
8
8
  require_relative 'mixins/output_config'
9
9
  require_relative 'mixins/recipient_config'
10
+ require_relative 'mixins/trust_mode_config'
10
11
 
11
12
  module RubyGPG2
12
13
  module Commands
@@ -17,6 +18,7 @@ module RubyGPG2
17
18
  include Mixins::InputConfig
18
19
  include Mixins::OutputConfig
19
20
  include Mixins::RecipientConfig
21
+ include Mixins::TrustModeConfig
20
22
 
21
23
  def configure_command(builder, opts)
22
24
  builder = super(builder, opts)
@@ -0,0 +1,16 @@
1
+ module RubyGPG2
2
+ module Commands
3
+ module Mixins
4
+ module TrustModeConfig
5
+ def configure_command(builder, opts)
6
+ trust_mode = opts[:trust_mode]
7
+
8
+ builder = super(builder, opts)
9
+ builder = builder.with_option(
10
+ '--trust-mode', trust_mode) if trust_mode
11
+ builder
12
+ end
13
+ end
14
+ end
15
+ end
16
+ end
@@ -1,3 +1,3 @@
1
1
  module RubyGPG2
2
- VERSION = '0.1.0.pre.26'
2
+ VERSION = '0.1.0.pre.27'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby_gpg2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.pre.26
4
+ version: 0.1.0.pre.27
5
5
  platform: ruby
6
6
  authors:
7
7
  - Toby Clemson
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-05-05 00:00:00.000000000 Z
11
+ date: 2020-05-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: lino
@@ -181,6 +181,7 @@ files:
181
181
  - lib/ruby_gpg2/commands/mixins/pinentry_config.rb
182
182
  - lib/ruby_gpg2/commands/mixins/recipient_config.rb
183
183
  - lib/ruby_gpg2/commands/mixins/status_config.rb
184
+ - lib/ruby_gpg2/commands/mixins/trust_mode_config.rb
184
185
  - lib/ruby_gpg2/commands/mixins/with_captured_output.rb
185
186
  - lib/ruby_gpg2/commands/mixins/with_captured_status.rb
186
187
  - lib/ruby_gpg2/commands/mixins/with_result.rb