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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0a96d199558134e523611d49ca8d004c19f5ddd102139cb0353cce384f9bb05b
|
4
|
+
data.tar.gz: 12de63ac2076476529e1d164ac0c18e761e82e3d42ffb1745522c2873035725e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dcec379b4e2e09ce4cc00bed798632cc647c1cf013bbf359ccf31413c4d046b60d8db90627845e1ace0255f5aa278f8f2fccaca4e1c9adbf73aeba7644ea8633
|
7
|
+
data.tar.gz: 17a0a1444ef0eb3903c2e4e897cbcb43144ecf22034b7dd5fe18855a995cc318f6e458b7e0d684f971434465ee3e275e9d9fa5940d0facdea0a126fbe338a9db
|
data/Gemfile.lock
CHANGED
@@ -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
|
data/lib/ruby_gpg2/version.rb
CHANGED
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.
|
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-
|
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
|