rake_easy_rsa 0.14.0.pre.4 → 0.14.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: 9d8fff12843f0b67ea05dc8aeab68790abceb2820044b2c9b5cda2bb2893f4ec
4
- data.tar.gz: fc106a57537aae39d4d64917db26a2e3432a5030f3c5f330792eebcc6f0ba58a
3
+ metadata.gz: 3139c6b417096334f41b84defab12c35ed7cdfd66c0672303f58fc44a94f7c3f
4
+ data.tar.gz: aa54136b55dd7c2cb5844b2786c3d3cb864cd12d3ab6764c18a23d58f494c072
5
5
  SHA512:
6
- metadata.gz: 8b11a9b12bcbf723b517a550e865fbefac3b4d0dbb988583e74c41c6b3c1bf05488e37d48260190cb994fa7e4a6e97d915ca3ebe33de9449c9e13ecd2258f5e4
7
- data.tar.gz: da9f44bf673d2ad1762c28b3527426693f4265fb7b54b19176ddf613acdb25596574b41a24e7a5aaeda83df71c8b83bdc02c07433a7d08b21b8d4fad6da5be33
6
+ metadata.gz: c31964b8235b635cafc5454c496119626f64571abd1ed3608c560480a6466e9142b0a951425f27e4f984f164848f4b9bb4e1b23dd8b2b022ca1b947afe178c71
7
+ data.tar.gz: 4d23f0e10a72f6e4794213f5007a81317341f54bddd7a3fa4bf5fe39666f99c0da747b3e8a0d37c81c2892651c7fb561fc6a2410ea82986a5bac43fc537fef4b
data/Gemfile.lock CHANGED
@@ -1,16 +1,16 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rake_easy_rsa (0.14.0.pre.4)
4
+ rake_easy_rsa (0.14.0.pre.6)
5
5
  rake_dependencies (~> 3.1)
6
6
  rake_factory (~> 0.23)
7
- ruby_easy_rsa (~> 0.7)
7
+ ruby_easy_rsa (= 0.12.0.pre.6)
8
8
  semantic (~> 1.6)
9
9
 
10
10
  GEM
11
11
  remote: https://rubygems.org/
12
12
  specs:
13
- activesupport (7.1.1)
13
+ activesupport (7.1.3.4)
14
14
  base64
15
15
  bigdecimal
16
16
  concurrent-ruby (~> 1.0, >= 1.0.2)
@@ -20,56 +20,59 @@ GEM
20
20
  minitest (>= 5.1)
21
21
  mutex_m
22
22
  tzinfo (~> 2.0)
23
- addressable (2.8.5)
24
- public_suffix (>= 2.0.2, < 6.0)
23
+ addressable (2.8.7)
24
+ public_suffix (>= 2.0.2, < 7.0)
25
25
  ast (2.4.2)
26
- base64 (0.1.1)
27
- bigdecimal (3.1.4)
26
+ base64 (0.2.0)
27
+ bigdecimal (3.1.8)
28
28
  colored2 (3.1.2)
29
- concurrent-ruby (1.2.2)
29
+ concurrent-ruby (1.3.3)
30
30
  connection_pool (2.4.1)
31
- diff-lcs (1.5.0)
31
+ diff-lcs (1.5.1)
32
32
  docile (1.4.0)
33
- down (5.4.1)
33
+ down (5.4.2)
34
34
  addressable (~> 2.8)
35
- drb (2.1.1)
36
- ruby2_keywords
37
- excon (0.104.0)
35
+ drb (2.2.1)
36
+ excon (0.111.0)
38
37
  fakefs (2.5.0)
39
- faraday (2.7.11)
40
- base64
41
- faraday-net_http (>= 2.0, < 3.1)
42
- ruby2_keywords (>= 0.0.4)
43
- faraday-net_http (3.0.2)
38
+ faraday (2.10.0)
39
+ faraday-net_http (>= 2.0, < 3.2)
40
+ logger
41
+ faraday-net_http (3.1.0)
42
+ net-http
44
43
  gem-release (2.2.2)
45
- git (1.18.0)
44
+ git (1.19.1)
46
45
  addressable (~> 2.8)
47
46
  rchardet (~> 1.8)
48
47
  hamster (3.0.0)
49
48
  concurrent-ruby (~> 1.0)
50
- i18n (1.14.1)
49
+ i18n (1.14.5)
51
50
  concurrent-ruby (~> 1.0)
52
51
  immutable-struct (2.4.1)
53
- json (2.6.3)
52
+ json (2.7.2)
54
53
  language_server-protocol (3.17.0.3)
55
54
  lino (3.1.0)
56
55
  hamster (~> 3.0)
57
56
  open4 (~> 1.3)
57
+ logger (1.6.0)
58
58
  minitar (0.9)
59
- minitest (5.20.0)
60
- mutex_m (0.1.2)
61
- octokit (8.0.0)
59
+ minitest (5.24.1)
60
+ mutex_m (0.2.0)
61
+ net-http (0.4.1)
62
+ uri
63
+ octokit (8.1.0)
64
+ base64
62
65
  faraday (>= 1, < 3)
63
66
  sawyer (~> 0.9)
64
67
  open4 (1.3.4)
65
- parallel (1.23.0)
66
- parser (3.2.2.4)
68
+ parallel (1.25.1)
69
+ parser (3.3.4.0)
67
70
  ast (~> 2.4.1)
68
71
  racc
69
- public_suffix (5.0.3)
70
- racc (1.7.3)
72
+ public_suffix (6.0.0)
73
+ racc (1.8.0)
71
74
  rainbow (3.1.1)
72
- rake (13.1.0)
75
+ rake (13.2.1)
73
76
  rake_circle_ci (0.11.0)
74
77
  colored2 (~> 3.1)
75
78
  excon (~> 0.72)
@@ -84,14 +87,14 @@ GEM
84
87
  rake_factory (0.32.0.pre.2)
85
88
  activesupport (>= 4)
86
89
  rake (~> 13.0)
87
- rake_git (0.1.0.pre.9)
90
+ rake_git (0.1.0.pre.10)
88
91
  colored2 (~> 3.1)
89
92
  git (~> 1.13, >= 1.13.2)
90
93
  rake_factory (= 0.32.0.pre.2)
91
- rake_git_crypt (0.1.0.pre.28)
94
+ rake_git_crypt (0.1.0.pre.29)
92
95
  colored2 (~> 3.1)
93
96
  rake_factory (= 0.32.0.pre.2)
94
- ruby_git_crypt (= 0.1.0.pre.2)
97
+ ruby_git_crypt (= 0.1.0.pre.4)
95
98
  ruby_gpg2 (~> 0.6)
96
99
  rake_github (0.13.0)
97
100
  colored2 (~> 3.1)
@@ -106,49 +109,43 @@ GEM
106
109
  rake_factory (~> 0.23)
107
110
  sshkey (~> 2.0)
108
111
  rchardet (1.8.0)
109
- regexp_parser (2.8.2)
110
- rexml (3.2.6)
111
- rspec (3.12.0)
112
- rspec-core (~> 3.12.0)
113
- rspec-expectations (~> 3.12.0)
114
- rspec-mocks (~> 3.12.0)
115
- rspec-core (3.12.2)
116
- rspec-support (~> 3.12.0)
117
- rspec-expectations (3.12.3)
112
+ regexp_parser (2.9.2)
113
+ rexml (3.3.2)
114
+ strscan
115
+ rspec (3.13.0)
116
+ rspec-core (~> 3.13.0)
117
+ rspec-expectations (~> 3.13.0)
118
+ rspec-mocks (~> 3.13.0)
119
+ rspec-core (3.13.0)
120
+ rspec-support (~> 3.13.0)
121
+ rspec-expectations (3.13.1)
118
122
  diff-lcs (>= 1.2.0, < 2.0)
119
- rspec-support (~> 3.12.0)
120
- rspec-mocks (3.12.6)
123
+ rspec-support (~> 3.13.0)
124
+ rspec-mocks (3.13.1)
121
125
  diff-lcs (>= 1.2.0, < 2.0)
122
- rspec-support (~> 3.12.0)
123
- rspec-support (3.12.1)
124
- rubocop (1.57.2)
126
+ rspec-support (~> 3.13.0)
127
+ rspec-support (3.13.1)
128
+ rubocop (1.65.0)
125
129
  json (~> 2.3)
126
130
  language_server-protocol (>= 3.17.0)
127
131
  parallel (~> 1.10)
128
- parser (>= 3.2.2.4)
132
+ parser (>= 3.3.0.2)
129
133
  rainbow (>= 2.2.2, < 4.0)
130
- regexp_parser (>= 1.8, < 3.0)
134
+ regexp_parser (>= 2.4, < 3.0)
131
135
  rexml (>= 3.2.5, < 4.0)
132
- rubocop-ast (>= 1.28.1, < 2.0)
136
+ rubocop-ast (>= 1.31.1, < 2.0)
133
137
  ruby-progressbar (~> 1.7)
134
138
  unicode-display_width (>= 2.4.0, < 3.0)
135
- rubocop-ast (1.30.0)
136
- parser (>= 3.2.1.0)
137
- rubocop-capybara (2.19.0)
138
- rubocop (~> 1.41)
139
- rubocop-factory_bot (2.24.0)
140
- rubocop (~> 1.33)
139
+ rubocop-ast (1.31.3)
140
+ parser (>= 3.3.1.0)
141
141
  rubocop-rake (0.6.0)
142
142
  rubocop (~> 1.0)
143
- rubocop-rspec (2.25.0)
144
- rubocop (~> 1.40)
145
- rubocop-capybara (~> 2.17)
146
- rubocop-factory_bot (~> 2.22)
143
+ rubocop-rspec (3.0.3)
144
+ rubocop (~> 1.61)
147
145
  ruby-progressbar (1.13.0)
148
- ruby2_keywords (0.0.5)
149
- ruby_easy_rsa (0.11.0)
150
- lino (~> 3.0)
151
- ruby_git_crypt (0.1.0.pre.2)
146
+ ruby_easy_rsa (0.12.0.pre.6)
147
+ lino (>= 3.1)
148
+ ruby_git_crypt (0.1.0.pre.4)
152
149
  immutable-struct (~> 2.4)
153
150
  lino (~> 3.0)
154
151
  ruby_gpg2 (0.10.0)
@@ -165,9 +162,11 @@ GEM
165
162
  simplecov-html (0.12.3)
166
163
  simplecov_json_formatter (0.1.4)
167
164
  sshkey (2.0.0)
165
+ strscan (3.1.0)
168
166
  tzinfo (2.0.6)
169
167
  concurrent-ruby (~> 1.0)
170
168
  unicode-display_width (2.5.0)
169
+ uri (0.13.0)
171
170
 
172
171
  PLATFORMS
173
172
  ruby
@@ -4,7 +4,7 @@ module RakeEasyRSA
4
4
  module Mixins
5
5
  module AlgorithmParameters
6
6
  def self.included(base)
7
- super(base)
7
+ super
8
8
  base.class_eval do
9
9
  parameter :algorithm
10
10
  parameter :curve
@@ -6,7 +6,7 @@ module RakeEasyRSA
6
6
  module Mixins
7
7
  module EasyRSAEnsurePrerequisite
8
8
  def self.included(base)
9
- super(base)
9
+ super
10
10
  base.class_eval do
11
11
  parameter :ensure_task_name, default: :'easy_rsa:ensure'
12
12
  default_prerequisites(RakeFactory::DynamicValue.new do |t|
@@ -4,7 +4,7 @@ module RakeEasyRSA
4
4
  module Mixins
5
5
  module EncryptKeyParameters
6
6
  def self.included(base)
7
- super(base)
7
+ super
8
8
  base.class_eval do
9
9
  parameter :encrypt_key, default: false
10
10
  end
@@ -4,7 +4,7 @@ module RakeEasyRSA
4
4
  module Mixins
5
5
  module GitkeepParameters
6
6
  def self.included(base)
7
- super(base)
7
+ super
8
8
  base.class_eval do
9
9
  parameter :include_gitkeep_files, default: true
10
10
  end
@@ -5,7 +5,7 @@ module RakeEasyRSA
5
5
  module GlobalParameters
6
6
  # rubocop:disable Metrics/MethodLength
7
7
  def self.included(base)
8
- super(base)
8
+ super
9
9
  base.class_eval do
10
10
  parameter :pki_directory, default: './pki'
11
11
  parameter :extensions_directory
@@ -5,7 +5,7 @@ module RakeEasyRSA
5
5
  module SSLParameters
6
6
  # rubocop:disable Metrics/MethodLength
7
7
  def self.included(base)
8
- super(base)
8
+ super
9
9
  base.class_eval do
10
10
  parameter :expires_in_days
11
11
  parameter :digest
@@ -55,13 +55,13 @@ module RakeEasyRSA
55
55
  ts.initialise_task_name
56
56
  },
57
57
  ca_create_task_name: RakeFactory::DynamicValue.new { |ts|
58
- "#{ts.ca_namespace}:#{ts.ca_create_task_name}".to_sym
58
+ :"#{ts.ca_namespace}:#{ts.ca_create_task_name}"
59
59
  },
60
60
  crl_generate_task_name: RakeFactory::DynamicValue.new { |ts|
61
- "#{ts.crl_namespace}:#{ts.crl_generate_task_name}".to_sym
61
+ :"#{ts.crl_namespace}:#{ts.crl_generate_task_name}"
62
62
  },
63
63
  dh_generate_task_name: RakeFactory::DynamicValue.new { |ts|
64
- "#{ts.dh_namespace}:#{ts.dh_generate_task_name}".to_sym
64
+ :"#{ts.dh_namespace}:#{ts.dh_generate_task_name}"
65
65
  }
66
66
  task Tasks::CA::Create,
67
67
  name: RakeFactory::DynamicValue.new { |ts|
@@ -32,7 +32,7 @@ module RakeEasyRSA
32
32
  reason = args.reason || t.reason
33
33
  RubyEasyRSA.revoke(
34
34
  t.parameter_values.merge(
35
- reason: reason,
35
+ reason:,
36
36
  filename_base: args.filename_base
37
37
  )
38
38
  )
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RakeEasyRSA
4
- VERSION = '0.14.0.pre.4'
4
+ VERSION = '0.14.0.pre.6'
5
5
  end
data/lib/rake_easy_rsa.rb CHANGED
@@ -17,8 +17,8 @@ module RakeEasyRSA
17
17
  )
18
18
  end
19
19
 
20
- def self.define_pki_tasks(opts = {}, &block)
21
- RakeEasyRSA::TaskSets::PKI.define(opts, &block)
20
+ def self.define_pki_tasks(opts = {}, &)
21
+ RakeEasyRSA::TaskSets::PKI.define(opts, &)
22
22
  end
23
23
 
24
24
  class << self
@@ -33,11 +33,11 @@ Gem::Specification.new do |spec|
33
33
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
34
34
  spec.require_paths = ['lib']
35
35
 
36
- spec.required_ruby_version = '>= 2.7'
36
+ spec.required_ruby_version = '>= 3.1'
37
37
 
38
38
  spec.add_dependency 'rake_dependencies', '~> 3.1'
39
39
  spec.add_dependency 'rake_factory', '~> 0.23'
40
- spec.add_dependency 'ruby_easy_rsa', '~> 0.7'
40
+ spec.add_dependency 'ruby_easy_rsa', '0.12.0.pre.6'
41
41
  spec.add_dependency 'semantic', '~> 1.6'
42
42
 
43
43
  spec.add_development_dependency 'activesupport'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rake_easy_rsa
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.0.pre.4
4
+ version: 0.14.0.pre.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - InfraBlocks Maintainers
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-11-06 00:00:00.000000000 Z
11
+ date: 2024-07-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake_dependencies
@@ -42,16 +42,16 @@ dependencies:
42
42
  name: ruby_easy_rsa
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - "~>"
45
+ - - '='
46
46
  - !ruby/object:Gem::Version
47
- version: '0.7'
47
+ version: 0.12.0.pre.6
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - "~>"
52
+ - - '='
53
53
  - !ruby/object:Gem::Version
54
- version: '0.7'
54
+ version: 0.12.0.pre.6
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: semantic
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -345,14 +345,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
345
345
  requirements:
346
346
  - - ">="
347
347
  - !ruby/object:Gem::Version
348
- version: '2.7'
348
+ version: '3.1'
349
349
  required_rubygems_version: !ruby/object:Gem::Requirement
350
350
  requirements:
351
351
  - - ">"
352
352
  - !ruby/object:Gem::Version
353
353
  version: 1.3.1
354
354
  requirements: []
355
- rubygems_version: 3.1.6
355
+ rubygems_version: 3.3.7
356
356
  signing_key:
357
357
  specification_version: 4
358
358
  summary: Rake tasks for managing PKI using EasyRSA.