ruby_gpg2 0.1.0.pre.26 → 0.4.0

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: 77686b0ccde6e02f471d7f2d8bce18bae4ab5f6bcc503b8eb56c3402968ed50e
4
+ data.tar.gz: 0bf54fa5f0ed8619a5737803eb25eeb34e44faf7ff5c3198d8d5e29daae5c81e
5
5
  SHA512:
6
- metadata.gz: 16ebf43ca5f5312a5912ea28e2d409ae1b784236472bea8bf4db2cc1b329a48ffe928a185115c42525b8dd3dd5e2b6d371661807e49316c54d5b557e196b4dba
7
- data.tar.gz: 838889f8b750651fdd376d508b2468eadd59cc8aad18989591c75a83e58bce148a9642f9f9c4126d9117ab273bcc9724d5753c153706769973ad983db0306436
6
+ metadata.gz: ac037c0c92e905a541240fa91ef6029440f3acfbd2cd26606d0f1664e70d67bff2a4e9cb843bcc9edc2b7d93ed291262195c84b53b5630fb2655ac214c5b2371
7
+ data.tar.gz: 15fa033931e65a5553cb31dd2ff2e2d70257e113f2fc176fb3cbb370ab94af1b8ae9ec6154865f4ee8226157d7134bca28a5ee95aa3b41df203e12bd383ca409
@@ -1,41 +1,42 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ruby_gpg2 (0.1.0.pre.26)
5
- lino (= 1.3.0)
4
+ ruby_gpg2 (0.4.0)
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)
@@ -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.4.0'
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.26
4
+ version: 0.4.0
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
@@ -222,9 +223,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
222
223
  version: '2.6'
223
224
  required_rubygems_version: !ruby/object:Gem::Requirement
224
225
  requirements:
225
- - - ">"
226
+ - - ">="
226
227
  - !ruby/object:Gem::Version
227
- version: 1.3.1
228
+ version: '0'
228
229
  requirements: []
229
230
  rubygems_version: 3.0.1
230
231
  signing_key: