modulesync 2.5.0 → 2.7.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 +4 -4
- data/.github/dependabot.yml +17 -0
- data/.github/workflows/ci.yml +19 -9
- data/.github/workflows/release.yml +7 -5
- data/.rubocop.yml +3 -47
- data/.rubocop_todo.yml +121 -24
- data/CHANGELOG.md +36 -0
- data/Gemfile +6 -5
- data/Rakefile +8 -4
- data/features/update/pull_request.feature +3 -6
- data/lib/modulesync/cli.rb +107 -107
- data/lib/modulesync/git_service/base.rb +2 -2
- data/lib/modulesync/git_service/github.rb +7 -8
- data/lib/modulesync/git_service/gitlab.rb +11 -12
- data/lib/modulesync/hook.rb +4 -4
- data/lib/modulesync/renderer.rb +1 -1
- data/lib/modulesync/repository.rb +5 -2
- data/lib/modulesync.rb +21 -21
- data/modulesync.gemspec +6 -10
- data/spec/helpers/faker/puppet_module_remote_repo.rb +4 -4
- data/spec/helpers/faker.rb +1 -0
- data/spec/unit/modulesync/git_service/factory_spec.rb +8 -2
- data/spec/unit/modulesync/git_service/github_spec.rb +23 -25
- data/spec/unit/modulesync/git_service/gitlab_spec.rb +26 -29
- data/spec/unit/modulesync/git_service_spec.rb +48 -47
- data/spec/unit/modulesync/settings_spec.rb +1 -1
- data/spec/unit/modulesync/source_code_spec.rb +5 -7
- metadata +27 -82
@@ -4,13 +4,19 @@ require 'modulesync/git_service/factory'
|
|
4
4
|
describe ModuleSync::GitService::Factory do
|
5
5
|
context 'when instantiate a GitHub service without credentials' do
|
6
6
|
it 'raises an error' do
|
7
|
-
expect
|
7
|
+
expect do
|
8
|
+
ModuleSync::GitService::Factory.instantiate(type: :github, endpoint: nil,
|
9
|
+
token: nil)
|
10
|
+
end.to raise_error(ModuleSync::GitService::MissingCredentialsError)
|
8
11
|
end
|
9
12
|
end
|
10
13
|
|
11
14
|
context 'when instantiate a GitLab service without credentials' do
|
12
15
|
it 'raises an error' do
|
13
|
-
expect
|
16
|
+
expect do
|
17
|
+
ModuleSync::GitService::Factory.instantiate(type: :gitlab, endpoint: nil,
|
18
|
+
token: nil)
|
19
|
+
end.to raise_error(ModuleSync::GitService::MissingCredentialsError)
|
14
20
|
end
|
15
21
|
end
|
16
22
|
end
|
@@ -4,8 +4,8 @@ require 'modulesync/git_service/github'
|
|
4
4
|
|
5
5
|
describe ModuleSync::GitService::GitHub do
|
6
6
|
context '::open_pull_request' do
|
7
|
-
before
|
8
|
-
@client = double
|
7
|
+
before do
|
8
|
+
@client = double
|
9
9
|
allow(Octokit::Client).to receive(:new).and_return(@client)
|
10
10
|
@it = ModuleSync::GitService::GitHub.new('test', 'https://api.github.com')
|
11
11
|
end
|
@@ -28,53 +28,51 @@ describe ModuleSync::GitService::GitHub do
|
|
28
28
|
it 'submits PR when --pr is set' do
|
29
29
|
allow(@client).to receive(:pull_requests)
|
30
30
|
.with(args[:repo_path],
|
31
|
-
:
|
32
|
-
:
|
33
|
-
:
|
34
|
-
).and_return([])
|
31
|
+
state: 'open',
|
32
|
+
base: 'master',
|
33
|
+
head: "#{args[:namespace]}:#{args[:source_branch]}").and_return([])
|
35
34
|
expect(@client).to receive(:create_pull_request)
|
36
35
|
.with(args[:repo_path],
|
37
36
|
'master',
|
38
37
|
args[:source_branch],
|
39
38
|
args[:title],
|
40
|
-
args[:message]
|
41
|
-
).and_return({"html_url" => "http://example.com/pulls/22"})
|
39
|
+
args[:message]).and_return({ 'html_url' => 'http://example.com/pulls/22' })
|
42
40
|
expect { @it.open_pull_request(**args) }.to output(/Submitted PR/).to_stdout
|
43
41
|
end
|
44
42
|
|
45
43
|
it 'skips submitting PR if one has already been issued' do
|
46
44
|
pr = {
|
47
|
-
|
48
|
-
|
49
|
-
|
45
|
+
'title' => 'Test title',
|
46
|
+
'html_url' => 'https://example.com/pulls/44',
|
47
|
+
'number' => '44',
|
50
48
|
}
|
51
49
|
|
52
50
|
expect(@client).to receive(:pull_requests)
|
53
51
|
.with(args[:repo_path],
|
54
|
-
:
|
55
|
-
:
|
56
|
-
:
|
57
|
-
).and_return([pr])
|
52
|
+
state: 'open',
|
53
|
+
base: 'master',
|
54
|
+
head: "#{args[:namespace]}:#{args[:source_branch]}").and_return([pr])
|
58
55
|
expect { @it.open_pull_request(**args) }.to output("Skipped! 1 PRs found for branch 'test'\n").to_stdout
|
59
56
|
end
|
60
57
|
|
61
58
|
context 'when labels are set' do
|
62
|
-
let(:labels) { %w
|
59
|
+
let(:labels) { %w[HELLO WORLD] }
|
63
60
|
|
64
61
|
it 'adds labels to PR' do
|
65
|
-
allow(@client).to receive(:create_pull_request).and_return({
|
62
|
+
allow(@client).to receive(:create_pull_request).and_return({ 'html_url' => 'http://example.com/pulls/22',
|
63
|
+
'number' => '44', })
|
66
64
|
allow(@client).to receive(:pull_requests)
|
67
65
|
.with(args[:repo_path],
|
68
|
-
:
|
69
|
-
:
|
70
|
-
:
|
71
|
-
).and_return([])
|
66
|
+
state: 'open',
|
67
|
+
base: 'master',
|
68
|
+
head: "#{args[:namespace]}:#{args[:source_branch]}").and_return([])
|
72
69
|
expect(@client).to receive(:add_labels_to_an_issue)
|
73
70
|
.with(args[:repo_path],
|
74
|
-
|
75
|
-
[
|
76
|
-
|
77
|
-
|
71
|
+
'44',
|
72
|
+
%w[HELLO WORLD])
|
73
|
+
expect do
|
74
|
+
@it.open_pull_request(**args)
|
75
|
+
end.to output(/Attaching the following labels to PR 44: HELLO, WORLD/).to_stdout
|
78
76
|
end
|
79
77
|
end
|
80
78
|
end
|
@@ -4,8 +4,8 @@ require 'modulesync/git_service/gitlab'
|
|
4
4
|
|
5
5
|
describe ModuleSync::GitService::GitLab do
|
6
6
|
context '::open_pull_request' do
|
7
|
-
before
|
8
|
-
@client = double
|
7
|
+
before do
|
8
|
+
@client = double
|
9
9
|
allow(Gitlab::Client).to receive(:new).and_return(@client)
|
10
10
|
@it = ModuleSync::GitService::GitLab.new('test', 'https://gitlab.com/api/v4')
|
11
11
|
end
|
@@ -28,62 +28,59 @@ describe ModuleSync::GitService::GitLab do
|
|
28
28
|
it 'submits MR when --pr is set' do
|
29
29
|
allow(@client).to receive(:merge_requests)
|
30
30
|
.with(args[:repo_path],
|
31
|
-
:
|
32
|
-
:
|
33
|
-
:
|
34
|
-
).and_return([])
|
31
|
+
state: 'opened',
|
32
|
+
source_branch: args[:source_branch],
|
33
|
+
target_branch: 'master').and_return([])
|
35
34
|
|
36
35
|
expect(@client).to receive(:create_merge_request)
|
37
36
|
.with(args[:repo_path],
|
38
37
|
args[:title],
|
39
|
-
:
|
40
|
-
:
|
41
|
-
:
|
42
|
-
).and_return({"html_url" => "http://example.com/pulls/22"})
|
38
|
+
labels: [],
|
39
|
+
source_branch: args[:source_branch],
|
40
|
+
target_branch: 'master').and_return({ 'html_url' => 'http://example.com/pulls/22' })
|
43
41
|
|
44
42
|
expect { @it.open_pull_request(**args) }.to output(/Submitted MR/).to_stdout
|
45
43
|
end
|
46
44
|
|
47
45
|
it 'skips submitting MR if one has already been issued' do
|
48
46
|
mr = {
|
49
|
-
|
50
|
-
|
51
|
-
|
47
|
+
'title' => 'Test title',
|
48
|
+
'html_url' => 'https://example.com/pulls/44',
|
49
|
+
'iid' => '44',
|
52
50
|
}
|
53
51
|
|
54
52
|
expect(@client).to receive(:merge_requests)
|
55
53
|
.with(args[:repo_path],
|
56
|
-
:
|
57
|
-
:
|
58
|
-
:
|
59
|
-
).and_return([mr])
|
54
|
+
state: 'opened',
|
55
|
+
source_branch: args[:source_branch],
|
56
|
+
target_branch: 'master').and_return([mr])
|
60
57
|
|
61
58
|
expect { @it.open_pull_request(**args) }.to output("Skipped! 1 MRs found for branch 'test'\n").to_stdout
|
62
59
|
end
|
63
60
|
|
64
61
|
context 'when labels are set' do
|
65
|
-
let(:labels) { %w
|
62
|
+
let(:labels) { %w[HELLO WORLD] }
|
66
63
|
|
67
64
|
it 'adds labels to MR' do
|
68
|
-
mr = double
|
69
|
-
allow(mr).to receive(:iid).and_return(
|
65
|
+
mr = double
|
66
|
+
allow(mr).to receive(:iid).and_return('42')
|
70
67
|
|
71
68
|
expect(@client).to receive(:create_merge_request)
|
72
69
|
.with(args[:repo_path],
|
73
70
|
args[:title],
|
74
|
-
:
|
75
|
-
:
|
76
|
-
:
|
77
|
-
).and_return(mr)
|
71
|
+
labels: %w[HELLO WORLD],
|
72
|
+
source_branch: args[:source_branch],
|
73
|
+
target_branch: 'master').and_return(mr)
|
78
74
|
|
79
75
|
allow(@client).to receive(:merge_requests)
|
80
76
|
.with(args[:repo_path],
|
81
|
-
:
|
82
|
-
:
|
83
|
-
:
|
84
|
-
).and_return([])
|
77
|
+
state: 'opened',
|
78
|
+
source_branch: args[:source_branch],
|
79
|
+
target_branch: 'master').and_return([])
|
85
80
|
|
86
|
-
expect
|
81
|
+
expect do
|
82
|
+
@it.open_pull_request(**args)
|
83
|
+
end.to output(/Attached the following labels to MR 42: HELLO, WORLD/).to_stdout
|
87
84
|
end
|
88
85
|
end
|
89
86
|
end
|
@@ -4,9 +4,9 @@ require 'modulesync/git_service'
|
|
4
4
|
describe ModuleSync::GitService do
|
5
5
|
before do
|
6
6
|
options = ModuleSync.config_defaults.merge({
|
7
|
-
|
8
|
-
|
9
|
-
ModuleSync.instance_variable_set
|
7
|
+
git_base: 'file:///tmp/dummy',
|
8
|
+
})
|
9
|
+
ModuleSync.instance_variable_set :@options, options
|
10
10
|
end
|
11
11
|
|
12
12
|
context 'when guessing the git service configuration' do
|
@@ -31,10 +31,10 @@ describe ModuleSync::GitService do
|
|
31
31
|
|
32
32
|
it 'build git service arguments from configuration entry' do
|
33
33
|
expect(ModuleSync::GitService.configuration_for(sourcecode: sourcecode)).to eq({
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
34
|
+
type: :gitlab,
|
35
|
+
endpoint: 'https://vcs.example.com/api/v4',
|
36
|
+
token: 'secret',
|
37
|
+
})
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
@@ -56,10 +56,10 @@ describe ModuleSync::GitService do
|
|
56
56
|
.and_return('secret')
|
57
57
|
|
58
58
|
expect(ModuleSync::GitService.configuration_for(sourcecode: sourcecode)).to eq({
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
59
|
+
type: :gitlab,
|
60
|
+
endpoint: 'https://vcs.example.com/api/v4',
|
61
|
+
token: 'secret',
|
62
|
+
})
|
63
63
|
end
|
64
64
|
end
|
65
65
|
|
@@ -70,20 +70,20 @@ describe ModuleSync::GitService do
|
|
70
70
|
.and_return('secret')
|
71
71
|
|
72
72
|
expect(ModuleSync::GitService.configuration_for(sourcecode: sourcecode)).to eq({
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
73
|
+
type: :gitlab,
|
74
|
+
endpoint: 'https://git.example.com/api/v4',
|
75
|
+
token: 'secret',
|
76
|
+
})
|
77
77
|
end
|
78
78
|
end
|
79
79
|
|
80
80
|
context 'without any environment variable sets' do
|
81
81
|
it 'returns a nil token' do
|
82
82
|
expect(ModuleSync::GitService.configuration_for(sourcecode: sourcecode)).to eq({
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
83
|
+
type: :gitlab,
|
84
|
+
endpoint: 'https://git.example.com/api/v4',
|
85
|
+
token: nil,
|
86
|
+
})
|
87
87
|
end
|
88
88
|
end
|
89
89
|
end
|
@@ -103,20 +103,20 @@ describe ModuleSync::GitService do
|
|
103
103
|
.and_return('secret')
|
104
104
|
|
105
105
|
expect(ModuleSync::GitService.configuration_for(sourcecode: sourcecode)).to eq({
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
106
|
+
type: :gitlab,
|
107
|
+
endpoint: 'https://gitlab.example.com/api/v4',
|
108
|
+
token: 'secret',
|
109
|
+
})
|
110
110
|
end
|
111
111
|
end
|
112
112
|
|
113
113
|
context 'without a GITLAB_TOKEN environment variable sets' do
|
114
114
|
it 'returns a nil token' do
|
115
115
|
expect(ModuleSync::GitService.configuration_for(sourcecode: sourcecode)).to eq({
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
116
|
+
type: :gitlab,
|
117
|
+
endpoint: 'https://gitlab.example.com/api/v4',
|
118
|
+
token: nil,
|
119
|
+
})
|
120
120
|
end
|
121
121
|
end
|
122
122
|
end
|
@@ -135,10 +135,10 @@ describe ModuleSync::GitService do
|
|
135
135
|
.and_return('secret')
|
136
136
|
|
137
137
|
expect(ModuleSync::GitService.configuration_for(sourcecode: sourcecode)).to eq({
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
138
|
+
type: :github,
|
139
|
+
endpoint: 'https://vcs.example.com',
|
140
|
+
token: 'secret',
|
141
|
+
})
|
142
142
|
end
|
143
143
|
end
|
144
144
|
|
@@ -152,7 +152,7 @@ describe ModuleSync::GitService do
|
|
152
152
|
.with('GITLAB_TOKEN')
|
153
153
|
.and_return('secret')
|
154
154
|
|
155
|
-
expect{ModuleSync::GitService.configuration_for(sourcecode: sourcecode)}
|
155
|
+
expect { ModuleSync::GitService.configuration_for(sourcecode: sourcecode) }
|
156
156
|
.to raise_error ModuleSync::Error
|
157
157
|
end
|
158
158
|
end
|
@@ -163,31 +163,32 @@ describe ModuleSync::GitService do
|
|
163
163
|
RSpec.shared_examples 'hostname_extractor' do |url, hostname|
|
164
164
|
context "with '#{url}' URL" do
|
165
165
|
subject { ModuleSync::GitService::Base.extract_hostname(url) }
|
166
|
-
|
166
|
+
|
167
|
+
it "extracts #{hostname.nil? ? 'nil' : "'#{hostname}'"} as hostname" do
|
167
168
|
expect(subject).to eq(hostname)
|
168
169
|
end
|
169
170
|
end
|
170
171
|
end
|
171
172
|
|
172
|
-
|
173
|
+
describe '#extract_hostname' do
|
173
174
|
[
|
174
175
|
%w[ssh://user@host.xz:4444/path/to/repo.git/ host.xz],
|
175
|
-
%w[ssh://user@host.xz:/path/to/repo.git/
|
176
|
-
%w[ssh://host.xz/path/to/repo.git/
|
176
|
+
%w[ssh://user@host.xz:/path/to/repo.git/ host.xz],
|
177
|
+
%w[ssh://host.xz/path/to/repo.git/ host.xz],
|
177
178
|
|
178
|
-
%w[git://host.xz/path/to/repo.git/
|
179
|
-
%w[git://host.xz/path/to/repo/
|
180
|
-
%w[git://host.xz/path/to/repo
|
179
|
+
%w[git://host.xz/path/to/repo.git/ host.xz],
|
180
|
+
%w[git://host.xz/path/to/repo/ host.xz],
|
181
|
+
%w[git://host.xz/path/to/repo host.xz],
|
181
182
|
|
182
|
-
%w[user@host.xz:path/to/repo.git/
|
183
|
-
%w[user@host.xz:path/to/repo.git
|
184
|
-
%w[user@host.xz:path/to/repo
|
185
|
-
%w[host.xz:path/to/repo.git/
|
183
|
+
%w[user@host.xz:path/to/repo.git/ host.xz],
|
184
|
+
%w[user@host.xz:path/to/repo.git host.xz],
|
185
|
+
%w[user@host.xz:path/to/repo host.xz],
|
186
|
+
%w[host.xz:path/to/repo.git/ host.xz],
|
186
187
|
|
187
|
-
%w[https://host.xz:8443/path/to/repo.git/
|
188
|
-
%w[https://host.xz/path/to/repo.git/
|
188
|
+
%w[https://host.xz:8443/path/to/repo.git/ host.xz],
|
189
|
+
%w[https://host.xz/path/to/repo.git/ host.xz],
|
189
190
|
|
190
|
-
%w[ftp://host.xz/path/to/repo/
|
191
|
+
%w[ftp://host.xz/path/to/repo/ host.xz],
|
191
192
|
|
192
193
|
['/path/to/repo.git/', nil],
|
193
194
|
|
@@ -195,7 +196,7 @@ describe ModuleSync::GitService do
|
|
195
196
|
|
196
197
|
['something-invalid', nil],
|
197
198
|
].each do |url, hostname|
|
198
|
-
|
199
|
+
it_behaves_like 'hostname_extractor', url, hostname
|
199
200
|
end
|
200
201
|
end
|
201
202
|
end
|
@@ -1,17 +1,15 @@
|
|
1
1
|
require 'spec_helper'
|
2
2
|
|
3
3
|
describe ModuleSync::SourceCode do
|
4
|
-
before do
|
5
|
-
options = ModuleSync.config_defaults.merge({
|
6
|
-
git_base: 'file:///tmp/dummy',
|
7
|
-
})
|
8
|
-
ModuleSync.instance_variable_set '@options', options
|
9
|
-
end
|
10
|
-
|
11
4
|
subject do
|
12
5
|
ModuleSync::SourceCode.new('namespace/name', nil)
|
13
6
|
end
|
14
7
|
|
8
|
+
before do
|
9
|
+
options = ModuleSync.config_defaults.merge({ git_base: 'file:///tmp/dummy' })
|
10
|
+
ModuleSync.instance_variable_set :@options, options
|
11
|
+
end
|
12
|
+
|
15
13
|
it 'has a repository namespace sets to "namespace"' do
|
16
14
|
expect(subject.repository_namespace).to eq 'namespace'
|
17
15
|
end
|
metadata
CHANGED
@@ -1,49 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: modulesync
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vox Pupuli
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-06-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aruba
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '0.14'
|
20
|
-
- - "<"
|
21
|
-
- !ruby/object:Gem::Version
|
22
|
-
version: '2'
|
23
|
-
type: :development
|
24
|
-
prerelease: false
|
25
|
-
version_requirements: !ruby/object:Gem::Requirement
|
26
|
-
requirements:
|
27
|
-
- - ">="
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
version: '0.14'
|
30
|
-
- - "<"
|
31
|
-
- !ruby/object:Gem::Version
|
32
|
-
version: '2'
|
33
|
-
- !ruby/object:Gem::Dependency
|
34
|
-
name: bundler
|
35
|
-
requirement: !ruby/object:Gem::Requirement
|
36
|
-
requirements:
|
37
|
-
- - ">="
|
17
|
+
- - "~>"
|
38
18
|
- !ruby/object:Gem::Version
|
39
|
-
version: '0'
|
19
|
+
version: '2.0'
|
40
20
|
type: :development
|
41
21
|
prerelease: false
|
42
22
|
version_requirements: !ruby/object:Gem::Requirement
|
43
23
|
requirements:
|
44
|
-
- - "
|
24
|
+
- - "~>"
|
45
25
|
- !ruby/object:Gem::Version
|
46
|
-
version: '0'
|
26
|
+
version: '2.0'
|
47
27
|
- !ruby/object:Gem::Dependency
|
48
28
|
name: cucumber
|
49
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -87,49 +67,7 @@ dependencies:
|
|
87
67
|
- !ruby/object:Gem::Version
|
88
68
|
version: '0'
|
89
69
|
- !ruby/object:Gem::Dependency
|
90
|
-
name:
|
91
|
-
requirement: !ruby/object:Gem::Requirement
|
92
|
-
requirements:
|
93
|
-
- - "~>"
|
94
|
-
- !ruby/object:Gem::Version
|
95
|
-
version: '1.2'
|
96
|
-
type: :development
|
97
|
-
prerelease: false
|
98
|
-
version_requirements: !ruby/object:Gem::Requirement
|
99
|
-
requirements:
|
100
|
-
- - "~>"
|
101
|
-
- !ruby/object:Gem::Version
|
102
|
-
version: '1.2'
|
103
|
-
- !ruby/object:Gem::Dependency
|
104
|
-
name: rubocop-performance
|
105
|
-
requirement: !ruby/object:Gem::Requirement
|
106
|
-
requirements:
|
107
|
-
- - ">="
|
108
|
-
- !ruby/object:Gem::Version
|
109
|
-
version: '0'
|
110
|
-
type: :development
|
111
|
-
prerelease: false
|
112
|
-
version_requirements: !ruby/object:Gem::Requirement
|
113
|
-
requirements:
|
114
|
-
- - ">="
|
115
|
-
- !ruby/object:Gem::Version
|
116
|
-
version: '0'
|
117
|
-
- !ruby/object:Gem::Dependency
|
118
|
-
name: rubocop-rake
|
119
|
-
requirement: !ruby/object:Gem::Requirement
|
120
|
-
requirements:
|
121
|
-
- - ">="
|
122
|
-
- !ruby/object:Gem::Version
|
123
|
-
version: '0'
|
124
|
-
type: :development
|
125
|
-
prerelease: false
|
126
|
-
version_requirements: !ruby/object:Gem::Requirement
|
127
|
-
requirements:
|
128
|
-
- - ">="
|
129
|
-
- !ruby/object:Gem::Version
|
130
|
-
version: '0'
|
131
|
-
- !ruby/object:Gem::Dependency
|
132
|
-
name: rubocop-rspec
|
70
|
+
name: simplecov
|
133
71
|
requirement: !ruby/object:Gem::Requirement
|
134
72
|
requirements:
|
135
73
|
- - ">="
|
@@ -143,19 +81,19 @@ dependencies:
|
|
143
81
|
- !ruby/object:Gem::Version
|
144
82
|
version: '0'
|
145
83
|
- !ruby/object:Gem::Dependency
|
146
|
-
name:
|
84
|
+
name: voxpupuli-rubocop
|
147
85
|
requirement: !ruby/object:Gem::Requirement
|
148
86
|
requirements:
|
149
|
-
- - "
|
87
|
+
- - "~>"
|
150
88
|
- !ruby/object:Gem::Version
|
151
|
-
version: '
|
89
|
+
version: '1.3'
|
152
90
|
type: :development
|
153
91
|
prerelease: false
|
154
92
|
version_requirements: !ruby/object:Gem::Requirement
|
155
93
|
requirements:
|
156
|
-
- - "
|
94
|
+
- - "~>"
|
157
95
|
- !ruby/object:Gem::Version
|
158
|
-
version: '
|
96
|
+
version: '1.3'
|
159
97
|
- !ruby/object:Gem::Dependency
|
160
98
|
name: git
|
161
99
|
requirement: !ruby/object:Gem::Requirement
|
@@ -188,16 +126,22 @@ dependencies:
|
|
188
126
|
name: octokit
|
189
127
|
requirement: !ruby/object:Gem::Requirement
|
190
128
|
requirements:
|
191
|
-
- - "
|
129
|
+
- - ">="
|
192
130
|
- !ruby/object:Gem::Version
|
193
|
-
version: '4
|
131
|
+
version: '4'
|
132
|
+
- - "<"
|
133
|
+
- !ruby/object:Gem::Version
|
134
|
+
version: '7'
|
194
135
|
type: :runtime
|
195
136
|
prerelease: false
|
196
137
|
version_requirements: !ruby/object:Gem::Requirement
|
197
138
|
requirements:
|
198
|
-
- - "
|
139
|
+
- - ">="
|
199
140
|
- !ruby/object:Gem::Version
|
200
|
-
version: '4
|
141
|
+
version: '4'
|
142
|
+
- - "<"
|
143
|
+
- !ruby/object:Gem::Version
|
144
|
+
version: '7'
|
201
145
|
- !ruby/object:Gem::Dependency
|
202
146
|
name: puppet-blacksmith
|
203
147
|
requirement: !ruby/object:Gem::Requirement
|
@@ -207,7 +151,7 @@ dependencies:
|
|
207
151
|
version: '3.0'
|
208
152
|
- - "<"
|
209
153
|
- !ruby/object:Gem::Version
|
210
|
-
version: '
|
154
|
+
version: '8'
|
211
155
|
type: :runtime
|
212
156
|
prerelease: false
|
213
157
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -217,7 +161,7 @@ dependencies:
|
|
217
161
|
version: '3.0'
|
218
162
|
- - "<"
|
219
163
|
- !ruby/object:Gem::Version
|
220
|
-
version: '
|
164
|
+
version: '8'
|
221
165
|
- !ruby/object:Gem::Dependency
|
222
166
|
name: thor
|
223
167
|
requirement: !ruby/object:Gem::Requirement
|
@@ -241,6 +185,7 @@ extensions: []
|
|
241
185
|
extra_rdoc_files: []
|
242
186
|
files:
|
243
187
|
- ".config/cucumber.yml"
|
188
|
+
- ".github/dependabot.yml"
|
244
189
|
- ".github/workflows/ci.yml"
|
245
190
|
- ".github/workflows/release.yml"
|
246
191
|
- ".gitignore"
|
@@ -308,14 +253,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
308
253
|
requirements:
|
309
254
|
- - ">="
|
310
255
|
- !ruby/object:Gem::Version
|
311
|
-
version: 2.
|
256
|
+
version: 2.7.0
|
312
257
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
313
258
|
requirements:
|
314
259
|
- - ">="
|
315
260
|
- !ruby/object:Gem::Version
|
316
261
|
version: '0'
|
317
262
|
requirements: []
|
318
|
-
rubygems_version: 3.
|
263
|
+
rubygems_version: 3.4.10
|
319
264
|
signing_key:
|
320
265
|
specification_version: 4
|
321
266
|
summary: Puppet Module Synchronizer
|