ruby_gpg2 0.1.0.pre.25 → 0.3.0.pre.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5a80ab1ed8962cd0c714ecdd9325045ed5752a3e76bb014592d42d45eac59a81
4
- data.tar.gz: 49b777b75ac682a3f9a8fac1aac0a676b5cf73a38209ad3835901cc0c5ed5c07
3
+ metadata.gz: a29a7add717806ba415a7d1f58fda213abdb1b1a1f9ed0a9fb2b86810fad847e
4
+ data.tar.gz: 21645c3a275fe138be73f89d9263a3f4b8ccd7c7f068b4670976c2036fdb7c50
5
5
  SHA512:
6
- metadata.gz: 4469e08c68aea7942e3f1fce9c66bc9e155a273a7b2fcc5b9ff7cbce8a24aa638efd3e27123fd8219900c2fdae342d6f25329b75142b954cbdd6eb7349eb2931
7
- data.tar.gz: cb6661b93426cfd9f8e01edb6c1e0619eb6d20e88dbdcc4179bdb1b65e825a2bf64da95d71b9a803d2dd84aca810940699e49482c3e66d0e2224a3c2373b8f47
6
+ metadata.gz: 84cbdcf244ef517c0ae3108cdf4bcd60e32fa6687664c6ad3f72fbe719ba13b8724c20a78db2023850f059a30c4795fc84adf344a65f4fe2bd1913a7889a3983
7
+ data.tar.gz: d71c9ae8f1b13e087f23541f02ac4494bc4edc5c56d7804b76966657423d5a7b56371888f398fca890e85108d361ee3247c80580f4abb2065d751605eca356b3
@@ -1,41 +1,42 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ruby_gpg2 (0.1.0.pre.25)
5
- lino (= 1.3.0)
4
+ ruby_gpg2 (0.3.0.pre.2)
5
+ lino (>= 1.5)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- activesupport (6.0.2.2)
10
+ activesupport (6.0.3.4)
11
11
  concurrent-ruby (~> 1.0, >= 1.0.2)
12
12
  i18n (>= 0.7, < 2)
13
13
  minitest (~> 5.1)
14
14
  tzinfo (~> 1.1)
15
- zeitwerk (~> 2.2)
15
+ zeitwerk (~> 2.2, >= 2.2.2)
16
16
  addressable (2.7.0)
17
17
  public_suffix (>= 2.0.2, < 5.0)
18
18
  colored2 (3.1.2)
19
- concurrent-ruby (1.1.6)
20
- diff-lcs (1.3)
21
- excon (0.73.0)
22
- faraday (1.0.1)
19
+ concurrent-ruby (1.1.7)
20
+ diff-lcs (1.4.4)
21
+ excon (0.78.0)
22
+ faraday (1.1.0)
23
23
  multipart-post (>= 1.2, < 3)
24
- gem-release (2.1.1)
24
+ ruby2_keywords
25
+ gem-release (2.2.0)
25
26
  hamster (3.0.0)
26
27
  concurrent-ruby (~> 1.0)
27
- i18n (1.8.2)
28
+ i18n (1.8.5)
28
29
  concurrent-ruby (~> 1.0)
29
- lino (1.3.0)
30
+ lino (1.5.0)
30
31
  hamster (~> 3.0)
31
32
  open4 (~> 1.3)
32
- minitest (5.14.0)
33
+ minitest (5.14.2)
33
34
  multipart-post (2.1.1)
34
- octokit (4.18.0)
35
+ octokit (4.19.0)
35
36
  faraday (>= 0.9)
36
37
  sawyer (~> 0.8.0, >= 0.5.3)
37
38
  open4 (1.3.4)
38
- public_suffix (4.0.4)
39
+ public_suffix (4.0.6)
39
40
  rake (13.0.1)
40
41
  rake_circle_ci (0.7.0)
41
42
  colored2 (~> 3.1)
@@ -54,27 +55,28 @@ GEM
54
55
  colored2 (~> 3.1)
55
56
  rake_factory (~> 0.23)
56
57
  sshkey (~> 2.0)
57
- rspec (3.9.0)
58
- rspec-core (~> 3.9.0)
59
- rspec-expectations (~> 3.9.0)
60
- rspec-mocks (~> 3.9.0)
61
- rspec-core (3.9.1)
62
- rspec-support (~> 3.9.1)
63
- rspec-expectations (3.9.1)
58
+ rspec (3.10.0)
59
+ rspec-core (~> 3.10.0)
60
+ rspec-expectations (~> 3.10.0)
61
+ rspec-mocks (~> 3.10.0)
62
+ rspec-core (3.10.0)
63
+ rspec-support (~> 3.10.0)
64
+ rspec-expectations (3.10.0)
64
65
  diff-lcs (>= 1.2.0, < 2.0)
65
- rspec-support (~> 3.9.0)
66
- rspec-mocks (3.9.1)
66
+ rspec-support (~> 3.10.0)
67
+ rspec-mocks (3.10.0)
67
68
  diff-lcs (>= 1.2.0, < 2.0)
68
- rspec-support (~> 3.9.0)
69
- rspec-support (3.9.2)
69
+ rspec-support (~> 3.10.0)
70
+ rspec-support (3.10.0)
71
+ ruby2_keywords (0.0.2)
70
72
  sawyer (0.8.2)
71
73
  addressable (>= 2.3.5)
72
74
  faraday (> 0.8, < 2.0)
73
75
  sshkey (2.0.0)
74
76
  thread_safe (0.3.6)
75
- tzinfo (1.2.7)
77
+ tzinfo (1.2.8)
76
78
  thread_safe (~> 0.1)
77
- zeitwerk (2.3.0)
79
+ zeitwerk (2.4.1)
78
80
 
79
81
  PLATFORMS
80
82
  ruby
@@ -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)
@@ -3,12 +3,18 @@ require 'lino'
3
3
  require_relative 'base'
4
4
  require_relative 'mixins/global_config'
5
5
  require_relative 'mixins/batch_config'
6
+ require_relative 'mixins/status_config'
7
+ require_relative 'mixins/with_result'
8
+ require_relative 'mixins/with_captured_status'
6
9
 
7
10
  module RubyGPG2
8
11
  module Commands
9
12
  class Import < Base
10
13
  include Mixins::GlobalConfig
11
14
  include Mixins::BatchConfig
15
+ include Mixins::StatusConfig
16
+ include Mixins::WithResult
17
+ include Mixins::WithCapturedStatus
12
18
 
13
19
  def configure_command(builder, opts)
14
20
  key_file_paths = opts[:key_file_paths] || []
@@ -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.25'
2
+ VERSION = '0.3.0.pre.2'
3
3
  end
@@ -24,7 +24,7 @@ Gem::Specification.new do |spec|
24
24
 
25
25
  spec.required_ruby_version = '>= 2.6'
26
26
 
27
- spec.add_dependency 'lino', '1.3.0'
27
+ spec.add_dependency 'lino', '>= 1.5'
28
28
 
29
29
  spec.add_development_dependency 'bundler', '~> 2.1'
30
30
  spec.add_development_dependency 'rake', '~> 13.0'
metadata CHANGED
@@ -1,29 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby_gpg2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.pre.25
4
+ version: 0.3.0.pre.2
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-11-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: lino
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 1.3.0
19
+ version: '1.5'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - '='
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: 1.3.0
26
+ version: '1.5'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -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