ruby_gpg2 0.11.0.pre.5 → 0.11.0.pre.6

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: c27de5d22cf3041ceb816286e96aacfa9bb9d645c8d17dad6f8320f316cc668b
4
- data.tar.gz: 34240663967448aa6405be530bef5b64cddf649a1782bcaeab5a96666bf54032
3
+ metadata.gz: 14f1fb6b0f7b64c1284af1c77fa22e3db6b7fafa3f05bb9429f293910515cb4b
4
+ data.tar.gz: 2910e088a6cf9b5a334bcef468c41f9bc29a6ae1c8a190c0f2e42b9c74ccd911
5
5
  SHA512:
6
- metadata.gz: 882dcf36deceef20058a336045cbab36d47780d968ef7a35cdf03233e97b5e7e300050aa87be6a4ec251185721688a6887e38cc03fecebebcebf1d1a88010a77
7
- data.tar.gz: 26df8353e6c0df19f0cedd7e4793eaa4977fc9e54bdb0ae9b2037f3cb2798a12ec226f8c49d7d2934340dc34f0a49fc7b14f6c3579372d470883d6317dc4c11d
6
+ metadata.gz: c0dd753c439ec2c2e16746b569adc778641a4d31e562040a6f61d9b37cf5e4ad270455601ea012e4b34117b7e317c2864bf37df987f5373a6d8be88711cdc346
7
+ data.tar.gz: a6b6f76ee1e124dc37af69e83c88ec03161c37804614a0571cff57cb55823d247ff7aa92c8fe10c628250883171c96bcfe9b7cf14c522d64ceea1ea031000a23
data/Gemfile.lock CHANGED
@@ -1,13 +1,13 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ruby_gpg2 (0.11.0.pre.5)
5
- lino (= 3.2.0.pre.10)
4
+ ruby_gpg2 (0.11.0.pre.6)
5
+ lino (>= 3.1)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- activesupport (7.1.1)
10
+ activesupport (7.1.3.4)
11
11
  base64
12
12
  bigdecimal
13
13
  concurrent-ruby (~> 1.0, >= 1.0.2)
@@ -17,54 +17,57 @@ GEM
17
17
  minitest (>= 5.1)
18
18
  mutex_m
19
19
  tzinfo (~> 2.0)
20
- addressable (2.8.5)
21
- public_suffix (>= 2.0.2, < 6.0)
20
+ addressable (2.8.7)
21
+ public_suffix (>= 2.0.2, < 7.0)
22
22
  ast (2.4.2)
23
- base64 (0.1.1)
24
- bigdecimal (3.1.4)
23
+ base64 (0.2.0)
24
+ bigdecimal (3.1.8)
25
25
  childprocess (5.0.0)
26
26
  colored2 (3.1.2)
27
- concurrent-ruby (1.2.2)
27
+ concurrent-ruby (1.3.3)
28
28
  connection_pool (2.4.1)
29
- diff-lcs (1.5.0)
29
+ diff-lcs (1.5.1)
30
30
  docile (1.4.0)
31
- drb (2.1.1)
32
- ruby2_keywords
33
- excon (0.104.0)
34
- faraday (2.7.11)
35
- base64
36
- faraday-net_http (>= 2.0, < 3.1)
37
- ruby2_keywords (>= 0.0.4)
38
- faraday-net_http (3.0.2)
31
+ drb (2.2.1)
32
+ excon (0.111.0)
33
+ faraday (2.10.0)
34
+ faraday-net_http (>= 2.0, < 3.2)
35
+ logger
36
+ faraday-net_http (3.1.0)
37
+ net-http
39
38
  gem-release (2.2.2)
40
- git (1.18.0)
39
+ git (1.19.1)
41
40
  addressable (~> 2.8)
42
41
  rchardet (~> 1.8)
43
42
  hamster (3.0.0)
44
43
  concurrent-ruby (~> 1.0)
45
- i18n (1.14.1)
44
+ i18n (1.14.5)
46
45
  concurrent-ruby (~> 1.0)
47
46
  immutable-struct (2.4.1)
48
- json (2.7.1)
47
+ json (2.7.2)
49
48
  language_server-protocol (3.17.0.3)
50
- lino (3.2.0.pre.10)
49
+ lino (4.0.0)
51
50
  childprocess (~> 5.0.0)
52
51
  hamster (~> 3.0)
53
52
  open4 (~> 1.3)
54
- minitest (5.20.0)
55
- mutex_m (0.1.2)
56
- octokit (8.0.0)
53
+ logger (1.6.0)
54
+ minitest (5.24.1)
55
+ mutex_m (0.2.0)
56
+ net-http (0.4.1)
57
+ uri
58
+ octokit (8.1.0)
59
+ base64
57
60
  faraday (>= 1, < 3)
58
61
  sawyer (~> 0.9)
59
62
  open4 (1.3.4)
60
- parallel (1.23.0)
61
- parser (3.2.2.4)
63
+ parallel (1.25.1)
64
+ parser (3.3.4.0)
62
65
  ast (~> 2.4.1)
63
66
  racc
64
- public_suffix (5.0.3)
65
- racc (1.7.3)
67
+ public_suffix (6.0.0)
68
+ racc (1.8.0)
66
69
  rainbow (3.1.1)
67
- rake (13.1.0)
70
+ rake (13.2.1)
68
71
  rake_circle_ci (0.11.0)
69
72
  colored2 (~> 3.1)
70
73
  excon (~> 0.72)
@@ -77,11 +80,11 @@ GEM
77
80
  colored2 (~> 3.1)
78
81
  git (~> 1.13, >= 1.13.2)
79
82
  rake_factory (= 0.32.0.pre.2)
80
- rake_git_crypt (0.1.0.pre.29)
83
+ rake_git_crypt (0.1.0.pre.31)
81
84
  colored2 (~> 3.1)
82
85
  rake_factory (= 0.32.0.pre.2)
83
- ruby_git_crypt (= 0.1.0.pre.4)
84
- ruby_gpg2 (~> 0.6)
86
+ ruby_git_crypt (= 0.1.0.pre.8)
87
+ ruby_gpg2 (= 0.11.0.pre.5)
85
88
  rake_github (0.13.0)
86
89
  colored2 (~> 3.1)
87
90
  octokit (>= 4.16, < 9.0)
@@ -95,49 +98,43 @@ GEM
95
98
  rake_factory (~> 0.23)
96
99
  sshkey (~> 2.0)
97
100
  rchardet (1.8.0)
98
- regexp_parser (2.8.3)
99
- rexml (3.2.6)
100
- rspec (3.12.0)
101
- rspec-core (~> 3.12.0)
102
- rspec-expectations (~> 3.12.0)
103
- rspec-mocks (~> 3.12.0)
104
- rspec-core (3.12.2)
105
- rspec-support (~> 3.12.0)
106
- rspec-expectations (3.12.3)
101
+ regexp_parser (2.9.2)
102
+ rexml (3.3.1)
103
+ strscan
104
+ rspec (3.13.0)
105
+ rspec-core (~> 3.13.0)
106
+ rspec-expectations (~> 3.13.0)
107
+ rspec-mocks (~> 3.13.0)
108
+ rspec-core (3.13.0)
109
+ rspec-support (~> 3.13.0)
110
+ rspec-expectations (3.13.1)
107
111
  diff-lcs (>= 1.2.0, < 2.0)
108
- rspec-support (~> 3.12.0)
109
- rspec-mocks (3.12.6)
112
+ rspec-support (~> 3.13.0)
113
+ rspec-mocks (3.13.1)
110
114
  diff-lcs (>= 1.2.0, < 2.0)
111
- rspec-support (~> 3.12.0)
112
- rspec-support (3.12.1)
113
- rubocop (1.59.0)
115
+ rspec-support (~> 3.13.0)
116
+ rspec-support (3.13.1)
117
+ rubocop (1.65.0)
114
118
  json (~> 2.3)
115
119
  language_server-protocol (>= 3.17.0)
116
120
  parallel (~> 1.10)
117
- parser (>= 3.2.2.4)
121
+ parser (>= 3.3.0.2)
118
122
  rainbow (>= 2.2.2, < 4.0)
119
- regexp_parser (>= 1.8, < 3.0)
123
+ regexp_parser (>= 2.4, < 3.0)
120
124
  rexml (>= 3.2.5, < 4.0)
121
- rubocop-ast (>= 1.30.0, < 2.0)
125
+ rubocop-ast (>= 1.31.1, < 2.0)
122
126
  ruby-progressbar (~> 1.7)
123
127
  unicode-display_width (>= 2.4.0, < 3.0)
124
- rubocop-ast (1.30.0)
125
- parser (>= 3.2.1.0)
126
- rubocop-capybara (2.19.0)
127
- rubocop (~> 1.41)
128
- rubocop-factory_bot (2.24.0)
129
- rubocop (~> 1.33)
128
+ rubocop-ast (1.31.3)
129
+ parser (>= 3.3.1.0)
130
130
  rubocop-rake (0.6.0)
131
131
  rubocop (~> 1.0)
132
- rubocop-rspec (2.25.0)
133
- rubocop (~> 1.40)
134
- rubocop-capybara (~> 2.17)
135
- rubocop-factory_bot (~> 2.22)
132
+ rubocop-rspec (3.0.3)
133
+ rubocop (~> 1.61)
136
134
  ruby-progressbar (1.13.0)
137
- ruby2_keywords (0.0.5)
138
- ruby_git_crypt (0.1.0.pre.4)
135
+ ruby_git_crypt (0.1.0.pre.8)
139
136
  immutable-struct (~> 2.4)
140
- lino (~> 3.0)
137
+ lino (>= 3.1)
141
138
  sawyer (0.9.2)
142
139
  addressable (>= 2.3.5)
143
140
  faraday (>= 0.17.3, < 3)
@@ -148,9 +145,11 @@ GEM
148
145
  simplecov-html (0.12.3)
149
146
  simplecov_json_formatter (0.1.4)
150
147
  sshkey (2.0.0)
148
+ strscan (3.1.0)
151
149
  tzinfo (2.0.6)
152
150
  concurrent-ruby (~> 1.0)
153
151
  unicode-display_width (2.5.0)
152
+ uri (0.13.0)
154
153
 
155
154
  PLATFORMS
156
155
  arm64-darwin-21
@@ -25,8 +25,8 @@ module RubyGPG2
25
25
  include Mixins::WithoutPassphrase
26
26
 
27
27
  def configure_command(builder, parameters)
28
- builder = super(builder, parameters)
29
- builder.with_subcommand('--decrypt')
28
+ b = super
29
+ b.with_subcommand('--decrypt')
30
30
  end
31
31
  end
32
32
  end
@@ -23,8 +23,8 @@ module RubyGPG2
23
23
  include Mixins::TrustModeConfig
24
24
 
25
25
  def configure_command(builder, parameters)
26
- builder = super(builder, parameters)
27
- builder.with_subcommand('--encrypt')
26
+ b = super
27
+ b.with_subcommand('--encrypt')
28
28
  end
29
29
  end
30
30
  end
@@ -17,12 +17,12 @@ module RubyGPG2
17
17
  def configure_command(builder, parameters)
18
18
  names = parameters[:names] || []
19
19
 
20
- builder = super(builder, parameters)
21
- builder = builder.with_subcommand('--export')
20
+ b = super
21
+ b = b.with_subcommand('--export')
22
22
  names.each do |name|
23
- builder = builder.with_argument(name)
23
+ b = b.with_argument(name)
24
24
  end
25
- builder
25
+ b
26
26
  end
27
27
  end
28
28
  end
@@ -25,12 +25,12 @@ module RubyGPG2
25
25
  def configure_command(builder, parameters)
26
26
  names = parameters[:names] || []
27
27
 
28
- builder = super(builder, parameters)
29
- builder = builder.with_subcommand('--export-secret-keys')
28
+ b = super
29
+ b = b.with_subcommand('--export-secret-keys')
30
30
  names.each do |name|
31
- builder = builder.with_argument(name)
31
+ b = b.with_argument(name)
32
32
  end
33
- builder
33
+ b
34
34
  end
35
35
  end
36
36
  end
@@ -25,12 +25,10 @@ module RubyGPG2
25
25
  def configure_command(builder, parameters)
26
26
  parameter_file_path = parameters[:parameter_file_path]
27
27
 
28
- builder = builder.with_subcommand('--generate-key')
29
- builder = super(builder, parameters)
30
- if parameter_file_path
31
- builder = builder.with_argument(parameter_file_path)
32
- end
33
- builder
28
+ b = builder.with_subcommand('--generate-key')
29
+ b = super(b, parameters)
30
+ b = b.with_argument(parameter_file_path) if parameter_file_path
31
+ b
34
32
  end
35
33
  end
36
34
  end
@@ -19,12 +19,12 @@ module RubyGPG2
19
19
  def configure_command(builder, parameters)
20
20
  key_file_paths = parameters[:key_file_paths] || []
21
21
 
22
- builder = super(builder, parameters)
23
- builder = builder.with_subcommand('--import')
22
+ b = super
23
+ b = b.with_subcommand('--import')
24
24
  key_file_paths.each do |key_file_path|
25
- builder = builder.with_argument(key_file_path)
25
+ b = b.with_argument(key_file_path)
26
26
  end
27
- builder
27
+ b
28
28
  end
29
29
  end
30
30
  end
@@ -15,8 +15,8 @@ module RubyGPG2
15
15
  include Mixins::WithCapturedOutput
16
16
 
17
17
  def configure_command(builder, parameters)
18
- builder = builder.with_subcommand('--list-public-keys')
19
- super(builder, parameters)
18
+ b = builder.with_subcommand('--list-public-keys')
19
+ super(b, parameters)
20
20
  end
21
21
  end
22
22
  end
@@ -15,8 +15,8 @@ module RubyGPG2
15
15
  include Mixins::WithCapturedOutput
16
16
 
17
17
  def configure_command(builder, parameters)
18
- builder = builder.with_subcommand('--list-secret-keys')
19
- super(builder, parameters)
18
+ b = builder.with_subcommand('--list-secret-keys')
19
+ super(b, parameters)
20
20
  end
21
21
  end
22
22
  end
@@ -9,9 +9,9 @@ module RubyGPG2
9
9
  def configure_command(builder, parameters)
10
10
  armor = parameters[:armor]
11
11
 
12
- builder = super(builder, parameters)
13
- builder = builder.with_flag('--armor') if armor
14
- builder
12
+ b = super
13
+ b = b.with_flag('--armor') if armor
14
+ b
15
15
  end
16
16
  end
17
17
  end
@@ -14,9 +14,9 @@ module RubyGPG2
14
14
  def configure_command(builder, parameters)
15
15
  batch = parameters[:batch]
16
16
 
17
- builder = super(builder, parameters)
18
- builder = builder.with_flag('--batch') if batch
19
- builder
17
+ b = super
18
+ b = b.with_flag('--batch') if batch
19
+ b
20
20
  end
21
21
  end
22
22
  end
@@ -14,9 +14,9 @@ module RubyGPG2
14
14
  def configure_command(builder, parameters)
15
15
  with_colons = parameters[:with_colons]
16
16
 
17
- builder = super(builder, parameters)
18
- builder = builder.with_flag('--with-colons') if with_colons
19
- builder
17
+ b = super
18
+ b = b.with_flag('--with-colons') if with_colons
19
+ b
20
20
  end
21
21
  end
22
22
  end
@@ -15,14 +15,14 @@ module RubyGPG2
15
15
  home_directory = parameters[:home_directory]
16
16
  without_tty = parameters[:without_tty]
17
17
 
18
- builder = super(builder, parameters)
18
+ b = super
19
19
  if home_directory
20
- builder = builder.with_option(
20
+ b = b.with_option(
21
21
  '--homedir', home_directory, quoting: '"'
22
22
  )
23
23
  end
24
- builder = builder.with_flag('--no-tty') if without_tty
25
- builder
24
+ b = b.with_flag('--no-tty') if without_tty
25
+ b
26
26
  end
27
27
  end
28
28
  end
@@ -9,9 +9,9 @@ module RubyGPG2
9
9
  def configure_command(builder, parameters)
10
10
  input_file_path = parameters[:input_file_path]
11
11
 
12
- builder = super(builder, parameters)
13
- builder = builder.with_argument(input_file_path) if input_file_path
14
- builder
12
+ b = super
13
+ b = b.with_argument(input_file_path) if input_file_path
14
+ b
15
15
  end
16
16
  end
17
17
  end
@@ -9,13 +9,13 @@ module RubyGPG2
9
9
  def configure_command(builder, parameters)
10
10
  output_file_path = parameters[:output_file_path]
11
11
 
12
- builder = super(builder, parameters)
12
+ b = super
13
13
  if output_file_path
14
- builder = builder.with_option(
14
+ b = b.with_option(
15
15
  '--output', output_file_path, quoting: '"'
16
16
  )
17
17
  end
18
- builder
18
+ b
19
19
  end
20
20
  end
21
21
  end
@@ -9,13 +9,13 @@ module RubyGPG2
9
9
  def configure_command(builder, parameters)
10
10
  passphrase = parameters[:passphrase]
11
11
 
12
- builder = super(builder, parameters)
12
+ b = super
13
13
  if passphrase
14
- builder = builder.with_option(
14
+ b = b.with_option(
15
15
  '--passphrase', passphrase, quoting: '"'
16
16
  )
17
17
  end
18
- builder
18
+ b
19
19
  end
20
20
  end
21
21
  end
@@ -9,13 +9,13 @@ module RubyGPG2
9
9
  def configure_command(builder, parameters)
10
10
  pinentry_mode = parameters[:pinentry_mode]
11
11
 
12
- builder = super(builder, parameters)
12
+ b = super
13
13
  if pinentry_mode
14
- builder = builder.with_option(
14
+ b = b.with_option(
15
15
  '--pinentry-mode', pinentry_mode
16
16
  )
17
17
  end
18
- builder
18
+ b
19
19
  end
20
20
  end
21
21
  end
@@ -9,13 +9,13 @@ module RubyGPG2
9
9
  def configure_command(builder, parameters)
10
10
  recipient = parameters[:recipient]
11
11
 
12
- builder = super(builder, parameters)
12
+ b = super
13
13
  if recipient
14
- builder = builder.with_option(
14
+ b = b.with_option(
15
15
  '--recipient', recipient
16
16
  )
17
17
  end
18
- builder
18
+ b
19
19
  end
20
20
  end
21
21
  end
@@ -9,13 +9,13 @@ module RubyGPG2
9
9
  def configure_command(builder, parameters)
10
10
  status_file = parameters[:status_file]
11
11
 
12
- builder = super(builder, parameters)
12
+ b = super
13
13
  if status_file
14
- builder = builder.with_option(
14
+ b = b.with_option(
15
15
  '--status-file', status_file, quoting: '"'
16
16
  )
17
17
  end
18
- builder
18
+ b
19
19
  end
20
20
  end
21
21
  end
@@ -9,13 +9,13 @@ module RubyGPG2
9
9
  def configure_command(builder, parameters)
10
10
  trust_mode = parameters[:trust_mode]
11
11
 
12
- builder = super(builder, parameters)
12
+ b = super
13
13
  if trust_mode
14
- builder = builder.with_option(
14
+ b = b.with_option(
15
15
  '--trust-mode', trust_mode
16
16
  )
17
17
  end
18
- builder
18
+ b
19
19
  end
20
20
  end
21
21
  end
@@ -18,12 +18,12 @@ module RubyGPG2
18
18
  end
19
19
 
20
20
  def process_result(result, parameters, invocation_options)
21
- result = super(result, parameters, invocation_options)
21
+ r = super
22
22
  if parameters[:parse_output]
23
- result.output =
24
- ColonOutput.parse(result.output)
23
+ r.output =
24
+ ColonOutput.parse(r.output)
25
25
  end
26
- result
26
+ r
27
27
  end
28
28
  end
29
29
  end
@@ -36,9 +36,9 @@ module RubyGPG2
36
36
  end
37
37
 
38
38
  def process_result(result, parameters, invocation_options)
39
- result = super(result, parameters, invocation_options)
40
- result.status = status(parameters) if parameters[:with_status]
41
- result
39
+ r = super
40
+ r.status = status(parameters) if parameters[:with_status]
41
+ r
42
42
  end
43
43
  end
44
44
  end
@@ -6,11 +6,14 @@ module RubyGPG2
6
6
  module WithoutPassphrase
7
7
  def configure_command(builder, parameters)
8
8
  without_passphrase = parameters[:without_passphrase]
9
+ p = parameters
9
10
  if without_passphrase
10
- parameters = parameters.merge(passphrase: '',
11
- pinentry_mode: :loopback)
11
+ p = p.merge(
12
+ passphrase: '',
13
+ pinentry_mode: :loopback
14
+ )
12
15
  end
13
- super(builder, parameters)
16
+ super(builder, p)
14
17
  end
15
18
  end
16
19
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RubyGPG2
4
- VERSION = '0.11.0.pre.5'
4
+ VERSION = '0.11.0.pre.6'
5
5
  end
data/ruby_gpg2.gemspec CHANGED
@@ -36,7 +36,7 @@ Gem::Specification.new do |spec|
36
36
 
37
37
  spec.required_ruby_version = '>= 3.1'
38
38
 
39
- spec.add_dependency 'lino', '3.2.0.pre.10'
39
+ spec.add_dependency 'lino', '>= 3.1'
40
40
 
41
41
  spec.add_development_dependency 'bundler'
42
42
  spec.add_development_dependency 'gem-release'
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.11.0.pre.5
4
+ version: 0.11.0.pre.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - InfraBlocks Maintainers
@@ -14,16 +14,16 @@ dependencies:
14
14
  name: lino
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 3.2.0.pre.10
19
+ version: '3.1'
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: 3.2.0.pre.10
26
+ version: '3.1'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement