ruby_gpg2 0.1.0.pre.11 → 0.1.0.pre.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/ruby_gpg2/commands/generate_key.rb +2 -0
- data/lib/ruby_gpg2/commands/mixins/pinentry_config.rb +16 -0
- data/lib/ruby_gpg2/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7bcbde10d4fc7b46bd1cb4ce62f80ef33ad2c0c24145267fde57974b9abf7aa8
|
4
|
+
data.tar.gz: 132a6fd205e3be5fe2bd99d925b9b69751f377c480d7ead9353e83a8f884ffc4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ce74fe316e2b38e999751dd28835672130924e83e3969d88969417afc0ea8ad681a25d002fc201d19385f5dae4eca0579121655bfc69ecafb7f254f474082ae9
|
7
|
+
data.tar.gz: cd91a872e6f9e80db4b463a80b925be9a4ed3b1d9ed5134931d7b0d780e9da1436e701f8fb9839356041a2ba469a6ee4a570c59aafed01137499ae5f94574b95
|
data/Gemfile.lock
CHANGED
@@ -4,6 +4,7 @@ require_relative 'base'
|
|
4
4
|
require_relative 'mixins/global_config'
|
5
5
|
require_relative 'mixins/batch_config'
|
6
6
|
require_relative 'mixins/passphrase_config'
|
7
|
+
require_relative 'mixins/pinentry_config'
|
7
8
|
|
8
9
|
module RubyGPG2
|
9
10
|
module Commands
|
@@ -11,6 +12,7 @@ module RubyGPG2
|
|
11
12
|
include Mixins::GlobalConfig
|
12
13
|
include Mixins::BatchConfig
|
13
14
|
include Mixins::PassphraseConfig
|
15
|
+
include Mixins::PinentryConfig
|
14
16
|
|
15
17
|
def configure_command(builder, opts)
|
16
18
|
parameter_file_path = opts[:parameter_file_path]
|
@@ -0,0 +1,16 @@
|
|
1
|
+
module RubyGPG2
|
2
|
+
module Commands
|
3
|
+
module Mixins
|
4
|
+
module PinentryConfig
|
5
|
+
def configure_command(builder, opts)
|
6
|
+
pinentry_mode = opts[:pinentry_mode]
|
7
|
+
|
8
|
+
builder = super(builder, opts)
|
9
|
+
builder = builder.with_option(
|
10
|
+
'--pinentry-mode', pinentry_mode) if pinentry_mode
|
11
|
+
builder
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
data/lib/ruby_gpg2/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
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.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Toby Clemson
|
@@ -170,6 +170,7 @@ files:
|
|
170
170
|
- lib/ruby_gpg2/commands/mixins/colon_config.rb
|
171
171
|
- lib/ruby_gpg2/commands/mixins/global_config.rb
|
172
172
|
- lib/ruby_gpg2/commands/mixins/passphrase_config.rb
|
173
|
+
- lib/ruby_gpg2/commands/mixins/pinentry_config.rb
|
173
174
|
- lib/ruby_gpg2/commands/mixins/with_captured_output.rb
|
174
175
|
- lib/ruby_gpg2/key.rb
|
175
176
|
- lib/ruby_gpg2/parameter_file_contents.rb
|