puppet-check 1.6.1 → 2.1.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/CHANGELOG.md +21 -1
- data/README.md +27 -24
- data/lib/puppet-check/cli.rb +5 -6
- data/lib/puppet-check/data_parser.rb +14 -22
- data/lib/puppet-check/output_results.rb +6 -5
- data/lib/puppet-check/puppet_parser.rb +24 -18
- data/lib/puppet-check/rspec_puppet_support.rb +21 -8
- data/lib/puppet-check/ruby_parser.rb +13 -8
- data/lib/puppet-check/tasks.rb +1 -1
- data/lib/{puppet-check.rb → puppet_check.rb} +23 -24
- data/spec/octocatalog-diff/{octocatalog-diff.cfg.rb → octocatalog_diff.cfg.rb} +6 -6
- data/spec/puppet-check/cli_spec.rb +3 -3
- data/spec/puppet-check/data_parser_spec.rb +41 -43
- data/spec/puppet-check/output_results_spec.rb +9 -18
- data/spec/puppet-check/puppet_parser_spec.rb +19 -17
- data/spec/puppet-check/regression_check_spec.rb +7 -9
- data/spec/puppet-check/rspec_puppet_support_spec.rb +13 -5
- data/spec/puppet-check/ruby_parser_spec.rb +18 -14
- data/spec/puppet-check/tasks_spec.rb +3 -3
- data/spec/{puppet-check_spec.rb → puppet_check_spec.rb} +9 -10
- data/spec/spec_helper.rb +7 -2
- data/spec/system/system_spec.rb +4 -4
- metadata +36 -37
@@ -10,25 +10,25 @@ describe RubyParser do
|
|
10
10
|
|
11
11
|
context '.ruby' do
|
12
12
|
it 'puts a bad syntax ruby file in the error files array' do
|
13
|
-
RubyParser.ruby([fixtures_dir
|
13
|
+
RubyParser.ruby(["#{fixtures_dir}lib/syntax.rb"], false, [])
|
14
14
|
expect(PuppetCheck.settings[:error_files][0]).to match(%r{^#{fixtures_dir}lib/syntax.rb:\n.*syntax error})
|
15
15
|
expect(PuppetCheck.settings[:warning_files]).to eql([])
|
16
16
|
expect(PuppetCheck.settings[:clean_files]).to eql([])
|
17
17
|
end
|
18
18
|
it 'puts a bad style ruby file in the warning files array' do
|
19
|
-
RubyParser.ruby([fixtures_dir
|
19
|
+
RubyParser.ruby(["#{fixtures_dir}lib/style.rb"], true, [])
|
20
20
|
expect(PuppetCheck.settings[:error_files]).to eql([])
|
21
21
|
expect(PuppetCheck.settings[:warning_files][0]).to match(%r{^#{fixtures_dir}lib/style.rb:\n.*Useless assignment.*\n.*Use the new.*\n.*Do not introduce.*\n.*Prefer single.*\n.*Source code comment is empty.*\n.*is a writable attribute.*\n.*Issue has no descriptive comment})
|
22
22
|
expect(PuppetCheck.settings[:clean_files]).to eql([])
|
23
23
|
end
|
24
24
|
it 'puts a bad style ruby file in the clean files array when rubocop_args ignores its warnings' do
|
25
|
-
RubyParser.ruby([fixtures_dir
|
25
|
+
RubyParser.ruby(["#{fixtures_dir}lib/rubocop_style.rb"], true, ['--except', 'Lint/UselessAssignment,Style/HashSyntax,Style/GlobalVars,Style/StringLiterals'])
|
26
26
|
expect(PuppetCheck.settings[:error_files]).to eql([])
|
27
27
|
expect(PuppetCheck.settings[:warning_files]).to eql([])
|
28
28
|
expect(PuppetCheck.settings[:clean_files]).to eql(["#{fixtures_dir}lib/rubocop_style.rb"])
|
29
29
|
end
|
30
30
|
it 'puts a good ruby file in the clean files array' do
|
31
|
-
RubyParser.ruby([fixtures_dir
|
31
|
+
RubyParser.ruby(["#{fixtures_dir}lib/good.rb"], true, [])
|
32
32
|
expect(PuppetCheck.settings[:error_files]).to eql([])
|
33
33
|
expect(PuppetCheck.settings[:warning_files]).to eql([])
|
34
34
|
expect(PuppetCheck.settings[:clean_files]).to eql(["#{fixtures_dir}lib/good.rb"])
|
@@ -37,25 +37,29 @@ describe RubyParser do
|
|
37
37
|
|
38
38
|
context '.template' do
|
39
39
|
it 'puts a bad syntax ruby template file in the error files array' do
|
40
|
-
RubyParser.template([fixtures_dir
|
41
|
-
|
40
|
+
RubyParser.template(["#{fixtures_dir}templates/syntax.erb"])
|
41
|
+
if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new('2.7')
|
42
|
+
expect(PuppetCheck.settings[:error_files][0]).to match(%r{^#{fixtures_dir}templates/syntax.erb:\n.*1: syntax error, unexpected.*\n.*ruby})
|
43
|
+
else
|
44
|
+
expect(PuppetCheck.settings[:error_files][0]).to match(%r{^#{fixtures_dir}templates/syntax.erb:\n.*syntax error, unexpected tIDENTIFIER})
|
45
|
+
end
|
42
46
|
expect(PuppetCheck.settings[:warning_files]).to eql([])
|
43
47
|
expect(PuppetCheck.settings[:clean_files]).to eql([])
|
44
48
|
end
|
45
49
|
it 'puts a bad style ruby template file in the warning files array' do
|
46
|
-
RubyParser.template([fixtures_dir
|
50
|
+
RubyParser.template(["#{fixtures_dir}templates/style.erb"])
|
47
51
|
expect(PuppetCheck.settings[:error_files]).to eql([])
|
48
52
|
expect(PuppetCheck.settings[:warning_files][0]).to match(%r{^#{fixtures_dir}templates/style.erb:\n.*already initialized constant.*\n.*previous definition of})
|
49
53
|
expect(PuppetCheck.settings[:clean_files]).to eql([])
|
50
54
|
end
|
51
55
|
it 'puts a ruby template file with ignored errors in the clean files array' do
|
52
|
-
RubyParser.template([fixtures_dir
|
56
|
+
RubyParser.template(["#{fixtures_dir}templates/no_method_error.erb"])
|
53
57
|
expect(PuppetCheck.settings[:error_files]).to eql([])
|
54
58
|
expect(PuppetCheck.settings[:warning_files]).to eql([])
|
55
59
|
expect(PuppetCheck.settings[:clean_files]).to eql(["#{fixtures_dir}templates/no_method_error.erb"])
|
56
60
|
end
|
57
61
|
it 'puts a good ruby template file in the clean files array' do
|
58
|
-
RubyParser.template([fixtures_dir
|
62
|
+
RubyParser.template(["#{fixtures_dir}templates/good.erb"])
|
59
63
|
expect(PuppetCheck.settings[:error_files]).to eql([])
|
60
64
|
expect(PuppetCheck.settings[:warning_files]).to eql([])
|
61
65
|
expect(PuppetCheck.settings[:clean_files]).to eql(["#{fixtures_dir}templates/good.erb"])
|
@@ -64,25 +68,25 @@ describe RubyParser do
|
|
64
68
|
|
65
69
|
context '.librarian' do
|
66
70
|
it 'puts a bad syntax librarian Puppet file in the error files array' do
|
67
|
-
RubyParser.librarian([fixtures_dir
|
71
|
+
RubyParser.librarian(["#{fixtures_dir}librarian_syntax/Puppetfile"], false, [])
|
68
72
|
expect(PuppetCheck.settings[:error_files][0]).to match(%r{^#{fixtures_dir}librarian_syntax/Puppetfile:\n.*syntax error})
|
69
73
|
expect(PuppetCheck.settings[:warning_files]).to eql([])
|
70
74
|
expect(PuppetCheck.settings[:clean_files]).to eql([])
|
71
75
|
end
|
72
76
|
it 'puts a bad style librarian Puppet file in the warning files array' do
|
73
|
-
RubyParser.librarian([fixtures_dir
|
77
|
+
RubyParser.librarian(["#{fixtures_dir}librarian_style/Puppetfile"], true, [])
|
74
78
|
expect(PuppetCheck.settings[:error_files]).to eql([])
|
75
|
-
expect(PuppetCheck.settings[:warning_files][0]).to match(%r{^#{fixtures_dir}librarian_style/Puppetfile:\n.*Align the
|
79
|
+
expect(PuppetCheck.settings[:warning_files][0]).to match(%r{^#{fixtures_dir}librarian_style/Puppetfile:\n.*Align the arguments.*\n.*Use the new})
|
76
80
|
expect(PuppetCheck.settings[:clean_files]).to eql([])
|
77
81
|
end
|
78
82
|
it 'puts a bad style librarian Puppet file in the clean files array when rubocop_args ignores its warnings' do
|
79
|
-
RubyParser.librarian([fixtures_dir
|
83
|
+
RubyParser.librarian(["#{fixtures_dir}librarian_style/Puppetfile"], true, ['--except', 'Layout/AlignArguments,Style/HashSyntax'])
|
80
84
|
expect(PuppetCheck.settings[:error_files]).to eql([])
|
81
85
|
expect(PuppetCheck.settings[:warning_files]).to eql([])
|
82
86
|
expect(PuppetCheck.settings[:clean_files]).to eql(["#{fixtures_dir}librarian_style/Puppetfile"])
|
83
87
|
end
|
84
88
|
it 'puts a good librarian Puppet file in the clean files array' do
|
85
|
-
RubyParser.librarian([fixtures_dir
|
89
|
+
RubyParser.librarian(["#{fixtures_dir}librarian_good/Puppetfile"], true, [])
|
86
90
|
expect(PuppetCheck.settings[:error_files]).to eql([])
|
87
91
|
expect(PuppetCheck.settings[:warning_files]).to eql([])
|
88
92
|
expect(PuppetCheck.settings[:clean_files]).to eql(["#{fixtures_dir}librarian_good/Puppetfile"])
|
@@ -1,12 +1,12 @@
|
|
1
1
|
require 'rake/task'
|
2
|
-
require_relative '../spec_helper
|
2
|
+
require_relative '../spec_helper'
|
3
3
|
require_relative '../../lib/puppet-check/tasks'
|
4
4
|
|
5
5
|
describe PuppetCheck::Tasks do
|
6
6
|
after(:all) do
|
7
7
|
# cleanup rspec_puppet_setup
|
8
|
-
|
9
|
-
%w[manifests modules].each { |dir| FileUtils.rm_r(
|
8
|
+
File.delete("#{fixtures_dir}/spec/spec_helper.rb")
|
9
|
+
%w[manifests modules].each { |dir| FileUtils.rm_r("#{fixtures_dir}/spec/fixtures/#{dir}") }
|
10
10
|
end
|
11
11
|
|
12
12
|
context 'puppetcheck:spec' do
|
@@ -1,19 +1,18 @@
|
|
1
1
|
require_relative 'spec_helper'
|
2
|
-
require_relative '../lib/
|
2
|
+
require_relative '../lib/puppet_check'
|
3
3
|
|
4
4
|
describe PuppetCheck do
|
5
5
|
context 'self' do
|
6
6
|
it 'settings can be altered' do
|
7
|
-
PuppetCheck.settings[:future_parser]
|
8
|
-
expect(PuppetCheck.settings[:future_parser]).to eql(true)
|
7
|
+
expect(PuppetCheck.settings[:future_parser]).to eql(nil)
|
9
8
|
PuppetCheck.settings[:fail_on_warnings] = true
|
10
9
|
expect(PuppetCheck.settings[:fail_on_warnings]).to eql(true)
|
11
|
-
PuppetCheck.settings[:
|
12
|
-
expect(PuppetCheck.settings[:
|
13
|
-
PuppetCheck.settings[:
|
14
|
-
expect(PuppetCheck.settings[:
|
15
|
-
PuppetCheck.settings[:
|
16
|
-
expect(PuppetCheck.settings[:
|
10
|
+
PuppetCheck.settings[:style] = true
|
11
|
+
expect(PuppetCheck.settings[:style]).to eql(true)
|
12
|
+
PuppetCheck.settings[:smoke] = true
|
13
|
+
expect(PuppetCheck.settings[:smoke]).to eql(true)
|
14
|
+
PuppetCheck.settings[:regression] = true
|
15
|
+
expect(PuppetCheck.settings[:regression]).to eql(true)
|
17
16
|
PuppetCheck.settings[:public] = 'public.pem'
|
18
17
|
expect(PuppetCheck.settings[:public]).to eql('public.pem')
|
19
18
|
PuppetCheck.settings[:private] = 'private.pem'
|
@@ -66,7 +65,7 @@ describe PuppetCheck do
|
|
66
65
|
|
67
66
|
context '.execute_parsers' do
|
68
67
|
it 'correctly organizes a set of files and invokes the correct parsers' do
|
69
|
-
# parser_output = instance_double('execute_parsers', files: %w[puppet.pp puppet_template.epp ruby.rb ruby_template.erb yaml.yaml yaml.yml json.json Puppetfile Modulefile foobarbaz],
|
68
|
+
# parser_output = instance_double('execute_parsers', files: %w[puppet.pp puppet_template.epp ruby.rb ruby_template.erb yaml.yaml yaml.yml json.json Puppetfile Modulefile foobarbaz], style: false, pl_args: [], rc_args: [])
|
70
69
|
# expect(parser_output).to receive(:manifest).with(%w[puppet.pp])
|
71
70
|
# expect(parser_output).to receive(:template).with(%w[puppet_template.epp])
|
72
71
|
# expect(parser_output).to receive(:ruby).with(%w[ruby.rb])
|
data/spec/spec_helper.rb
CHANGED
@@ -4,8 +4,13 @@ require 'rspec'
|
|
4
4
|
module Variables
|
5
5
|
extend RSpec::SharedContext
|
6
6
|
|
7
|
-
|
8
|
-
|
7
|
+
def fixtures_dir
|
8
|
+
@fixtures_dir = "#{File.dirname(__FILE__)}/fixtures/"
|
9
|
+
end
|
10
|
+
|
11
|
+
def octocatalog_diff_dir
|
12
|
+
@octocatalog_diff_dir = "#{File.dirname(__FILE__)}/octocatalog-diff/"
|
13
|
+
end
|
9
14
|
end
|
10
15
|
|
11
16
|
RSpec.configure do |config|
|
data/spec/system/system_spec.rb
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
require 'rake/task'
|
2
|
-
require_relative '../spec_helper
|
2
|
+
require_relative '../spec_helper'
|
3
3
|
require_relative '../../lib/puppet-check/cli'
|
4
4
|
require_relative '../../lib/puppet-check/tasks'
|
5
5
|
|
6
6
|
describe PuppetCheck do
|
7
7
|
context 'executed as a system from the CLI with arguments and various files to be processed' do
|
8
8
|
# see regression_check_spec
|
9
|
-
if
|
9
|
+
if ENV['TRAVIS'] == 'true' || ENV['CIRCLECI'] == 'true'
|
10
10
|
let(:cli) { PuppetCheck::CLI.run(%w[-s --puppet-lint no-hard_tabs-check,no-140chars-check --rubocop Metrics/LineLength,Style/Encoding .]) }
|
11
11
|
else
|
12
12
|
let(:cli) { PuppetCheck::CLI.run(%w[-s --puppet-lint no-hard_tabs-check,no-140chars-check --rubocop Metrics/LineLength,Style/Encoding --smoke -n good.example.com --octoconfig spec/octocatalog-diff/octocatalog-diff.cfg.rb .]) }
|
@@ -38,10 +38,10 @@ describe PuppetCheck do
|
|
38
38
|
PuppetCheck.settings[:warning_files] = []
|
39
39
|
PuppetCheck.settings[:clean_files] = []
|
40
40
|
PuppetCheck.settings[:ignored_files] = []
|
41
|
-
PuppetCheck.settings[:
|
41
|
+
PuppetCheck.settings[:style] = true
|
42
42
|
# see regression_check_spec
|
43
43
|
unless File.directory?('/home/travis')
|
44
|
-
PuppetCheck.settings[:
|
44
|
+
PuppetCheck.settings[:smoke] = true
|
45
45
|
PuppetCheck.settings[:octonodes] = %w[good.example.com]
|
46
46
|
PuppetCheck.settings[:octoconfig] = 'spec/octocatalog-diff/octocatalog-diff.cfg.rb'
|
47
47
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: puppet-check
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 2.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Schuchard
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-04-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: puppet
|
@@ -16,20 +16,20 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '5.0'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: '
|
22
|
+
version: '8'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: '
|
29
|
+
version: '5.0'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: '
|
32
|
+
version: '8'
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: puppet-lint
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -48,38 +48,44 @@ dependencies:
|
|
48
48
|
name: reek
|
49
49
|
requirement: !ruby/object:Gem::Requirement
|
50
50
|
requirements:
|
51
|
-
- - "
|
51
|
+
- - ">="
|
52
52
|
- !ruby/object:Gem::Version
|
53
53
|
version: '4.0'
|
54
54
|
- - "<"
|
55
55
|
- !ruby/object:Gem::Version
|
56
|
-
version: '
|
56
|
+
version: '7'
|
57
57
|
type: :runtime
|
58
58
|
prerelease: false
|
59
59
|
version_requirements: !ruby/object:Gem::Requirement
|
60
60
|
requirements:
|
61
|
-
- - "
|
61
|
+
- - ">="
|
62
62
|
- !ruby/object:Gem::Version
|
63
63
|
version: '4.0'
|
64
64
|
- - "<"
|
65
65
|
- !ruby/object:Gem::Version
|
66
|
-
version: '
|
66
|
+
version: '7'
|
67
67
|
- !ruby/object:Gem::Dependency
|
68
68
|
name: rubocop
|
69
69
|
requirement: !ruby/object:Gem::Requirement
|
70
70
|
requirements:
|
71
|
-
- - "
|
71
|
+
- - ">="
|
72
72
|
- !ruby/object:Gem::Version
|
73
|
-
version: '0.
|
73
|
+
version: '0.58'
|
74
|
+
- - "<"
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: '2'
|
74
77
|
type: :runtime
|
75
78
|
prerelease: false
|
76
79
|
version_requirements: !ruby/object:Gem::Requirement
|
77
80
|
requirements:
|
78
|
-
- - "
|
81
|
+
- - ">="
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
version: '0.58'
|
84
|
+
- - "<"
|
79
85
|
- !ruby/object:Gem::Version
|
80
|
-
version: '
|
86
|
+
version: '2'
|
81
87
|
- !ruby/object:Gem::Dependency
|
82
|
-
name:
|
88
|
+
name: rubocop-performance
|
83
89
|
requirement: !ruby/object:Gem::Requirement
|
84
90
|
requirements:
|
85
91
|
- - "~>"
|
@@ -110,22 +116,16 @@ dependencies:
|
|
110
116
|
name: rake
|
111
117
|
requirement: !ruby/object:Gem::Requirement
|
112
118
|
requirements:
|
113
|
-
- - "
|
114
|
-
- !ruby/object:Gem::Version
|
115
|
-
version: '9'
|
116
|
-
- - "<"
|
119
|
+
- - "~>"
|
117
120
|
- !ruby/object:Gem::Version
|
118
|
-
version: '
|
121
|
+
version: '12.0'
|
119
122
|
type: :development
|
120
123
|
prerelease: false
|
121
124
|
version_requirements: !ruby/object:Gem::Requirement
|
122
125
|
requirements:
|
123
|
-
- - "
|
124
|
-
- !ruby/object:Gem::Version
|
125
|
-
version: '9'
|
126
|
-
- - "<"
|
126
|
+
- - "~>"
|
127
127
|
- !ruby/object:Gem::Version
|
128
|
-
version: '
|
128
|
+
version: '12.0'
|
129
129
|
- !ruby/object:Gem::Dependency
|
130
130
|
name: rspec
|
131
131
|
requirement: !ruby/object:Gem::Requirement
|
@@ -143,7 +143,7 @@ dependencies:
|
|
143
143
|
description: Puppet Check is a gem that provides a comprehensive, streamlined, and
|
144
144
|
efficient analysis of the syntax, style, and validity of your entire Puppet code
|
145
145
|
and data.
|
146
|
-
email:
|
146
|
+
email:
|
147
147
|
executables:
|
148
148
|
- puppet-check
|
149
149
|
extensions: []
|
@@ -153,7 +153,6 @@ files:
|
|
153
153
|
- LICENSE.md
|
154
154
|
- README.md
|
155
155
|
- bin/puppet-check
|
156
|
-
- lib/puppet-check.rb
|
157
156
|
- lib/puppet-check/cli.rb
|
158
157
|
- lib/puppet-check/data_parser.rb
|
159
158
|
- lib/puppet-check/output_results.rb
|
@@ -163,6 +162,7 @@ files:
|
|
163
162
|
- lib/puppet-check/ruby_parser.rb
|
164
163
|
- lib/puppet-check/tasks.rb
|
165
164
|
- lib/puppet-check/utils.rb
|
165
|
+
- lib/puppet_check.rb
|
166
166
|
- spec/fixtures/foobarbaz
|
167
167
|
- spec/fixtures/hieradata/good.eyaml
|
168
168
|
- spec/fixtures/hieradata/good.json
|
@@ -204,7 +204,7 @@ files:
|
|
204
204
|
- spec/octocatalog-diff/facts.yaml
|
205
205
|
- spec/octocatalog-diff/hiera.yaml
|
206
206
|
- spec/octocatalog-diff/manifests/site.pp
|
207
|
-
- spec/octocatalog-diff/
|
207
|
+
- spec/octocatalog-diff/octocatalog_diff.cfg.rb
|
208
208
|
- spec/puppet-check/cli_spec.rb
|
209
209
|
- spec/puppet-check/data_parser_spec.rb
|
210
210
|
- spec/puppet-check/output_results_spec.rb
|
@@ -214,14 +214,14 @@ files:
|
|
214
214
|
- spec/puppet-check/ruby_parser_spec.rb
|
215
215
|
- spec/puppet-check/tasks_spec.rb
|
216
216
|
- spec/puppet-check/utils_spec.rb
|
217
|
-
- spec/
|
217
|
+
- spec/puppet_check_spec.rb
|
218
218
|
- spec/spec_helper.rb
|
219
219
|
- spec/system/system_spec.rb
|
220
220
|
homepage: https://www.github.com/mschuchard/puppet-check
|
221
221
|
licenses:
|
222
222
|
- MIT
|
223
223
|
metadata: {}
|
224
|
-
post_install_message:
|
224
|
+
post_install_message:
|
225
225
|
rdoc_options: []
|
226
226
|
require_paths:
|
227
227
|
- lib
|
@@ -229,16 +229,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
229
229
|
requirements:
|
230
230
|
- - ">="
|
231
231
|
- !ruby/object:Gem::Version
|
232
|
-
version: 2.
|
232
|
+
version: 2.4.0
|
233
233
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
234
234
|
requirements:
|
235
235
|
- - ">="
|
236
236
|
- !ruby/object:Gem::Version
|
237
237
|
version: '0'
|
238
238
|
requirements: []
|
239
|
-
|
240
|
-
|
241
|
-
signing_key:
|
239
|
+
rubygems_version: 3.1.2
|
240
|
+
signing_key:
|
242
241
|
specification_version: 4
|
243
242
|
summary: A streamlined comprehensive set of checks for your entire Puppet code and
|
244
243
|
data
|
@@ -284,7 +283,7 @@ test_files:
|
|
284
283
|
- spec/octocatalog-diff/facts.yaml
|
285
284
|
- spec/octocatalog-diff/hiera.yaml
|
286
285
|
- spec/octocatalog-diff/manifests/site.pp
|
287
|
-
- spec/octocatalog-diff/
|
286
|
+
- spec/octocatalog-diff/octocatalog_diff.cfg.rb
|
288
287
|
- spec/puppet-check/cli_spec.rb
|
289
288
|
- spec/puppet-check/data_parser_spec.rb
|
290
289
|
- spec/puppet-check/output_results_spec.rb
|
@@ -294,6 +293,6 @@ test_files:
|
|
294
293
|
- spec/puppet-check/ruby_parser_spec.rb
|
295
294
|
- spec/puppet-check/tasks_spec.rb
|
296
295
|
- spec/puppet-check/utils_spec.rb
|
297
|
-
- spec/
|
296
|
+
- spec/puppet_check_spec.rb
|
298
297
|
- spec/spec_helper.rb
|
299
298
|
- spec/system/system_spec.rb
|