ruby_gpg2 0.1.0.pre.11 → 0.1.0.pre.12

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: d0f1c497793ca8e10e18312b6805e54cfe58d9f30af9023b046aec9918b723ae
4
- data.tar.gz: d0dc24b709e4de758a441ee498397d1b210e511522bc203fadca802c8b67e59f
3
+ metadata.gz: 7bcbde10d4fc7b46bd1cb4ce62f80ef33ad2c0c24145267fde57974b9abf7aa8
4
+ data.tar.gz: 132a6fd205e3be5fe2bd99d925b9b69751f377c480d7ead9353e83a8f884ffc4
5
5
  SHA512:
6
- metadata.gz: 9a7bf9068e83753bc1c60961e18dd04ca26d0ccb7c40e136c5bb9bb1df9d954cf9aa6d25317d5bb3cd4fc9b25882d9326b8d63663cbcba5a7477ef6e16ae8221
7
- data.tar.gz: 0cb6bbabc9465890a74e99409b2bfc63d504cde5d2e1167977e65b052a9cc5e168b803314ac1a0e75cb8442ef7fd28bf21770c12bd6c09609c3563645cabd48a
6
+ metadata.gz: ce74fe316e2b38e999751dd28835672130924e83e3969d88969417afc0ea8ad681a25d002fc201d19385f5dae4eca0579121655bfc69ecafb7f254f474082ae9
7
+ data.tar.gz: cd91a872e6f9e80db4b463a80b925be9a4ed3b1d9ed5134931d7b0d780e9da1436e701f8fb9839356041a2ba469a6ee4a570c59aafed01137499ae5f94574b95
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ruby_gpg2 (0.1.0.pre.11)
4
+ ruby_gpg2 (0.1.0.pre.12)
5
5
  lino (= 1.3.0)
6
6
 
7
7
  GEM
@@ -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
@@ -1,3 +1,3 @@
1
1
  module RubyGPG2
2
- VERSION = '0.1.0.pre.11'
2
+ VERSION = '0.1.0.pre.12'
3
3
  end
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.11
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