puppet-lint-strict_indent-check 2.0.8 → 3.0.0

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: '09a7fc9d7e521e82fe03c39bbff8de887b881c94d8734076e7e0d8458a8d7abd'
4
- data.tar.gz: ea8c370f9b536f68dff53a1856c539868ef5be86ccf3705e352c2cb29a63175a
3
+ metadata.gz: a813e32484645b3159a5cc786e1e1df8bb9ce13b7e72de92603836f8d88876d7
4
+ data.tar.gz: 812be78bb5e2d3eed4b37013d7a9ae2b4587d139ea8e1de1b95413b63b38a81a
5
5
  SHA512:
6
- metadata.gz: ee53896501b403c8d8b990c44dba0793bc8eddf34018c0ee7e676d85c8230f62760cd9139f6223568b5766b22a2a9d186c89bcfdbddc390d1e1611be32a40ed5
7
- data.tar.gz: 4de012c10e7af26d7db33ec381da6517dfb7fcfda16264b47addf18d8d64e5bbde22735f7143ff450da18b9f019e38971249367513443c3e0d920e3967643337
6
+ metadata.gz: f5d01a03406cfc9ff251e77b46059e31811346ffd6140c89e1920019f42b1a2590302b284399cc874053127a3645ac72cec725d7ad51bb5a76ede4992c0a8f3a
7
+ data.tar.gz: 0143dc2fc1d985646be7f22904ea3cd52dce21918c8829d69dfbc178a517af2784516120063ea5b45e2d02ee6a2335e2ae90d74de774302bd4479580c06ab40b
data/CHANGELOG.md ADDED
@@ -0,0 +1,91 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ ## [3.0.0](https://github.com/voxpupuli/puppet-lint-strict_indent-check/tree/3.0.0) (2023-04-21)
6
+
7
+ [Full Changelog](https://github.com/voxpupuli/puppet-lint-strict_indent-check/compare/2.1.0...3.0.0)
8
+
9
+ **Breaking changes:**
10
+
11
+ - Drop Ruby \< 2.7; Add RuboCop [\#34](https://github.com/voxpupuli/puppet-lint-strict_indent-check/pull/34) ([bastelfreak](https://github.com/bastelfreak))
12
+
13
+ ## [2.1.0](https://github.com/voxpupuli/puppet-lint-strict_indent-check/tree/2.1.0) (2022-11-29)
14
+
15
+ [Full Changelog](https://github.com/voxpupuli/puppet-lint-strict_indent-check/compare/2.0.8...2.1.0)
16
+
17
+ **Implemented enhancements:**
18
+
19
+ - puppet-lint: Allow 3.x [\#30](https://github.com/voxpupuli/puppet-lint-strict_indent-check/pull/30) ([bastelfreak](https://github.com/bastelfreak))
20
+
21
+ ## [2.0.8](https://github.com/voxpupuli/puppet-lint-strict_indent-check/tree/2.0.8) (2021-07-25)
22
+
23
+ [Full Changelog](https://github.com/voxpupuli/puppet-lint-strict_indent-check/compare/2.0.7...2.0.8)
24
+
25
+ **Closed issues:**
26
+
27
+ - Bad behavior with UTF-8 chars [\#18](https://github.com/voxpupuli/puppet-lint-strict_indent-check/issues/18)
28
+ - First line empty [\#16](https://github.com/voxpupuli/puppet-lint-strict_indent-check/issues/16)
29
+
30
+ **Merged pull requests:**
31
+
32
+ - modulesync / add badges to README.md / cleanup gemspec [\#23](https://github.com/voxpupuli/puppet-lint-strict_indent-check/pull/23) ([bastelfreak](https://github.com/bastelfreak))
33
+
34
+ ## [2.0.7](https://github.com/voxpupuli/puppet-lint-strict_indent-check/tree/2.0.7) (2019-02-07)
35
+
36
+ [Full Changelog](https://github.com/voxpupuli/puppet-lint-strict_indent-check/compare/2.0.6...2.0.7)
37
+
38
+ **Merged pull requests:**
39
+
40
+ - Fix issue with blank line at the beginning of a file. [\#17](https://github.com/voxpupuli/puppet-lint-strict_indent-check/pull/17) ([phyber](https://github.com/phyber))
41
+
42
+ ## [2.0.6](https://github.com/voxpupuli/puppet-lint-strict_indent-check/tree/2.0.6) (2019-01-03)
43
+
44
+ [Full Changelog](https://github.com/voxpupuli/puppet-lint-strict_indent-check/compare/2.0.2...2.0.6)
45
+
46
+ **Closed issues:**
47
+
48
+ - Problem with heredoc strings [\#12](https://github.com/voxpupuli/puppet-lint-strict_indent-check/issues/12)
49
+ - Incorrect indentation for hash as a function parameter [\#11](https://github.com/voxpupuli/puppet-lint-strict_indent-check/issues/11)
50
+ - puppet-lint \>=2.0 [\#7](https://github.com/voxpupuli/puppet-lint-strict_indent-check/issues/7)
51
+ - Reporting incorrect line number [\#5](https://github.com/voxpupuli/puppet-lint-strict_indent-check/issues/5)
52
+
53
+ **Merged pull requests:**
54
+
55
+ - Run the test suite in Travis-CI [\#15](https://github.com/voxpupuli/puppet-lint-strict_indent-check/pull/15) ([smortex](https://github.com/smortex))
56
+ - Add support for heredoc strings [\#14](https://github.com/voxpupuli/puppet-lint-strict_indent-check/pull/14) ([smortex](https://github.com/smortex))
57
+ - Add simplecov as a development dependency [\#13](https://github.com/voxpupuli/puppet-lint-strict_indent-check/pull/13) ([smortex](https://github.com/smortex))
58
+ - Reset not only whitespaces but comments too. [\#9](https://github.com/voxpupuli/puppet-lint-strict_indent-check/pull/9) ([jiuka](https://github.com/jiuka))
59
+ - Support ruby 1.8.7 again [\#6](https://github.com/voxpupuli/puppet-lint-strict_indent-check/pull/6) ([Reamer](https://github.com/Reamer))
60
+
61
+ ## [2.0.2](https://github.com/voxpupuli/puppet-lint-strict_indent-check/tree/2.0.2) (2016-06-27)
62
+
63
+ [Full Changelog](https://github.com/voxpupuli/puppet-lint-strict_indent-check/compare/2.0.1...2.0.2)
64
+
65
+ **Closed issues:**
66
+
67
+ - Error fixing indent for variable in possion 0 [\#4](https://github.com/voxpupuli/puppet-lint-strict_indent-check/issues/4)
68
+
69
+ ## [2.0.1](https://github.com/voxpupuli/puppet-lint-strict_indent-check/tree/2.0.1) (2014-12-02)
70
+
71
+ [Full Changelog](https://github.com/voxpupuli/puppet-lint-strict_indent-check/compare/2.0.0...2.0.1)
72
+
73
+ ## [2.0.0](https://github.com/voxpupuli/puppet-lint-strict_indent-check/tree/2.0.0) (2014-12-02)
74
+
75
+ [Full Changelog](https://github.com/voxpupuli/puppet-lint-strict_indent-check/compare/1.1.0...2.0.0)
76
+
77
+ **Closed issues:**
78
+
79
+ - Make expected indentation configurable [\#1](https://github.com/voxpupuli/puppet-lint-strict_indent-check/issues/1)
80
+
81
+ ## [1.1.0](https://github.com/voxpupuli/puppet-lint-strict_indent-check/tree/1.1.0) (2014-12-01)
82
+
83
+ [Full Changelog](https://github.com/voxpupuli/puppet-lint-strict_indent-check/compare/1.0.1...1.1.0)
84
+
85
+ ## [1.0.1](https://github.com/voxpupuli/puppet-lint-strict_indent-check/tree/1.0.1) (2014-12-01)
86
+
87
+ [Full Changelog](https://github.com/voxpupuli/puppet-lint-strict_indent-check/compare/092d679f3cb0c4c6a14bffc99f0d39d51d4ac262...1.0.1)
88
+
89
+
90
+
91
+ \* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*
@@ -1,30 +1,30 @@
1
1
  # Public: Check the manifest tokens for correct indent levels and
2
2
  # record a warning for each instance found.
3
3
 
4
- PuppetLint.new_check(:'strict_indent') do
4
+ PuppetLint.new_check(:strict_indent) do
5
5
  def match(tokens)
6
6
  opening_token = {
7
- :RBRACE => :LBRACE,
8
- :RBRACK => :LBRACK,
9
- :RPAREN => :LPAREN,
10
- :HEREDOC => :HEREDOC_OPEN,
11
- :HEREDOC_POST => :HEREDOC_OPEN,
7
+ RBRACE: :LBRACE,
8
+ RBRACK: :LBRACK,
9
+ RPAREN: :LPAREN,
10
+ HEREDOC: :HEREDOC_OPEN,
11
+ HEREDOC_POST: :HEREDOC_OPEN,
12
12
  }
13
13
  open = {
14
- :LBRACE => [],
15
- :LBRACK => [],
16
- :LPAREN => [],
17
- :HEREDOC_OPEN => [],
14
+ LBRACE: [],
15
+ LBRACK: [],
16
+ LPAREN: [],
17
+ HEREDOC_OPEN: [],
18
18
  }
19
19
 
20
20
  matches = {}
21
21
 
22
22
  tokens.each do |token|
23
- if [:LBRACE, :LBRACK, :LPAREN, :HEREDOC_OPEN].include?(token.type)
23
+ if %i[LBRACE LBRACK LPAREN HEREDOC_OPEN].include?(token.type)
24
24
  open[token.type] << token
25
- elsif [:RBRACE, :RBRACK, :RPAREN, :HEREDOC, :HEREDOC_POST].include?(token.type)
25
+ elsif %i[RBRACE RBRACK RPAREN HEREDOC HEREDOC_POST].include?(token.type)
26
26
  match = open[opening_token[token.type]].pop
27
- if not match.nil?
27
+ unless match.nil?
28
28
  matches[token] = match
29
29
  matches[match] = token
30
30
  end
@@ -41,26 +41,23 @@ PuppetLint.new_check(:'strict_indent') do
41
41
 
42
42
  matches = match(tokens)
43
43
 
44
- tokens.select { |token|
44
+ tokens.select do |token|
45
45
  token.type == :NEWLINE
46
- }.reject { |token|
46
+ end.reject do |token|
47
47
  # ignore newline at end of code
48
48
  token.next_token.nil?
49
- }.each do |token|
49
+ end.each do |token|
50
50
  temp_indent = 0
51
51
 
52
52
  # indent for open groups in the previous line
53
53
  open_groups = 0
54
54
  prev_token = token.prev_token
55
- while not prev_token.nil? and prev_token.type != :NEWLINE
56
- if prev_token.type == :HEREDOC_OPEN
57
- temp_indent += 1
58
- end
59
- if [:LBRACE, :LBRACK, :LPAREN].include?(prev_token.type)
60
- if matches[prev_token].nil? or matches[prev_token].line > prev_token.line
61
- # left braces not matched in the same line increase indent
62
- open_groups += 1
63
- end
55
+ while !prev_token.nil? and prev_token.type != :NEWLINE
56
+ temp_indent += 1 if prev_token.type == :HEREDOC_OPEN
57
+ if %i[LBRACE LBRACK
58
+ LPAREN].include?(prev_token.type) && (matches[prev_token].nil? or matches[prev_token].line > prev_token.line)
59
+ # left braces not matched in the same line increase indent
60
+ open_groups += 1
64
61
  end
65
62
  prev_token = prev_token.prev_token
66
63
  end
@@ -68,7 +65,7 @@ PuppetLint.new_check(:'strict_indent') do
68
65
 
69
66
  # reset prev_token to last non-whitespace token on previous line
70
67
  prev_token = token.prev_token
71
- while not prev_token.nil? and (prev_token.type == :WHITESPACE or prev_token.type == :COMMENT)
68
+ while !prev_token.nil? and (prev_token.type == :WHITESPACE or prev_token.type == :COMMENT)
72
69
  prev_token = prev_token.prev_token
73
70
  end
74
71
 
@@ -88,7 +85,7 @@ PuppetLint.new_check(:'strict_indent') do
88
85
  end
89
86
  end
90
87
  when :SEMIC
91
- if not colon_indent.nil?
88
+ unless colon_indent.nil?
92
89
  # only unindent for a semicolon when we've indented for a colon
93
90
  colon_indent = nil
94
91
  indent -= 1
@@ -99,18 +96,16 @@ PuppetLint.new_check(:'strict_indent') do
99
96
 
100
97
  # unindent for closing brackets in the current line
101
98
  next_token = token.next_token
102
- while not next_token.nil? and next_token.type != :NEWLINE
103
- if [:RBRACE, :RBRACK, :RPAREN].include?(next_token.type)
104
- if not matches[next_token].nil? and matches[next_token].line < next_token.line
99
+ while !next_token.nil? and next_token.type != :NEWLINE
100
+ if %i[RBRACE RBRACK RPAREN].include?(next_token.type)
101
+ if !matches[next_token].nil? and matches[next_token].line < next_token.line
105
102
  # right braces matched in a previous line decrease indent
106
103
  indent -= 1
107
104
  end
108
- if next_token.type == :RBRACE and not colon_indent.nil?
109
- if not matches[next_token].nil? and matches[next_token].line < colon_indent
110
- # unindent at the end of resources if needed
111
- indent -= 1
112
- colon_indent = nil
113
- end
105
+ if next_token.type == :RBRACE and !colon_indent.nil? && (!matches[next_token].nil? and matches[next_token].line < colon_indent)
106
+ # unindent at the end of resources if needed
107
+ indent -= 1
108
+ colon_indent = nil
114
109
  end
115
110
  end
116
111
  next_token = next_token.next_token
@@ -119,9 +114,9 @@ PuppetLint.new_check(:'strict_indent') do
119
114
  # obviously we have a problem
120
115
  if indent < 0
121
116
  notify :error, {
122
- :message => 'Error calculating indent. Please file an issue at https://github.com/relud/puppet-lint-indent-check/issues',
123
- :line => token.next_token.line,
124
- :column => token.next_token.column,
117
+ message: 'Error calculating indent. Please file an issue at https://github.com/relud/puppet-lint-indent-check/issues',
118
+ line: token.next_token.line,
119
+ column: token.next_token.column,
125
120
  }
126
121
  # stop parsing indent
127
122
  break
@@ -129,43 +124,43 @@ PuppetLint.new_check(:'strict_indent') do
129
124
 
130
125
  # get actual indent
131
126
  actual = 0
132
- if token.next_token.type == :INDENT
133
- actual = token.next_token.value.length
134
- elsif !token.prev_token.nil? and token.prev_token.type == :HEREDOC
135
- actual = token.prev_token.value.split("\n").last.length
136
- elsif !token.prev_token.nil? and token.prev_token.type == :HEREDOC_OPEN
137
- actual = next_token.prev_token.value.split("\n").last.length
138
- else
139
- actual = 0
140
- end
127
+ actual = if token.next_token.type == :INDENT
128
+ token.next_token.value.length
129
+ elsif !token.prev_token.nil? and token.prev_token.type == :HEREDOC
130
+ token.prev_token.value.split("\n").last.length
131
+ elsif !token.prev_token.nil? and token.prev_token.type == :HEREDOC_OPEN
132
+ next_token.prev_token.value.split("\n").last.length
133
+ else
134
+ 0
135
+ end
141
136
 
142
137
  # expected indent
143
138
  expected = (indent + temp_indent) * chars_per_indent
144
139
 
145
140
  # oh no! incorrect indent!
146
- if actual != expected
147
- # no one cares if blank lines and comments are indented correctly
148
- if not [:COMMENT, :NEWLINE].include?(token.next_token.type)
149
- notify :warning, {
150
- :message => "indent should be #{expected} chars and is #{actual}",
151
- :line => token.next_token.line,
152
- :column => token.next_token.column,
153
- :token => token.next_token,
154
- :indent => expected,
155
- }
156
- end
157
- end
141
+ next unless actual != expected
142
+
143
+ # no one cares if blank lines and comments are indented correctly
144
+ next if %i[COMMENT NEWLINE].include?(token.next_token.type)
145
+
146
+ notify :warning, {
147
+ message: "indent should be #{expected} chars and is #{actual}",
148
+ line: token.next_token.line,
149
+ column: token.next_token.column,
150
+ token: token.next_token,
151
+ indent: expected,
152
+ }
158
153
  end
159
154
  end
160
155
 
161
156
  def fix(problem)
162
157
  char_for_indent = ' '
163
- if [:INDENT,:WHITESPACE].include?(problem[:token].type)
158
+ if %i[INDENT WHITESPACE].include?(problem[:token].type)
164
159
  problem[:token].value = char_for_indent * problem[:indent]
165
160
  else
166
161
  tokens.insert(
167
162
  tokens.find_index(problem[:token]),
168
- PuppetLint::Lexer::Token.new(:INDENT, char_for_indent * problem[:indent], problem[:line], problem[:column])
163
+ PuppetLint::Lexer::Token.new(:INDENT, char_for_indent * problem[:indent], problem[:line], problem[:column]),
169
164
  )
170
165
  end
171
166
  end
@@ -3,18 +3,18 @@ require 'spec_helper'
3
3
  describe 'strict_indent' do
4
4
  before do
5
5
  # disable all other checks
6
- PuppetLint.configuration.checks.reject{ |check|
6
+ PuppetLint.configuration.checks.reject do |check|
7
7
  check == :indent
8
- }.each do |check|
8
+ end.each do |check|
9
9
  PuppetLint.configuration.send("disable_#{check}")
10
10
  end
11
11
  end
12
12
 
13
13
  after do
14
14
  # re-enable other checks
15
- PuppetLint.configuration.checks.reject{ |check|
15
+ PuppetLint.configuration.checks.reject do |check|
16
16
  check == :indent
17
- }.each do |check|
17
+ end.each do |check|
18
18
  PuppetLint.configuration.send("enable_#{check}")
19
19
  end
20
20
  end
@@ -24,7 +24,7 @@ describe 'strict_indent' do
24
24
  context manifest do
25
25
  let(:code) { File.read(manifest) }
26
26
 
27
- it 'should detect no problems' do
27
+ it 'detects no problems' do
28
28
  expect(problems).to have(0).problems
29
29
  end
30
30
  end
@@ -34,7 +34,7 @@ describe 'strict_indent' do
34
34
  context manifest do
35
35
  let(:code) { File.read(manifest) }
36
36
 
37
- it 'should detect problems' do
37
+ it 'detects problems' do
38
38
  expect(problems).to have(1).problems
39
39
  end
40
40
  end
@@ -42,7 +42,7 @@ describe 'strict_indent' do
42
42
  end
43
43
 
44
44
  context 'comment after resource title.' do
45
- let(:code) {
45
+ let(:code) do
46
46
  <<-EOF.gsub(/^ {8}/, '')
47
47
  class (
48
48
  ) {
@@ -52,15 +52,15 @@ describe 'strict_indent' do
52
52
  }
53
53
  }
54
54
  EOF
55
- }
55
+ end
56
56
 
57
- it 'should detect 0 problems' do
57
+ it 'detects 0 problems' do
58
58
  expect(problems).to have(0).problems
59
59
  end
60
60
  end
61
61
 
62
62
  context 'invalid array indent' do
63
- let(:code) {
63
+ let(:code) do
64
64
  <<-EOF.gsub(/^ {8}/, '')
65
65
  class (
66
66
  ) {
@@ -71,22 +71,22 @@ describe 'strict_indent' do
71
71
  }
72
72
  }
73
73
  EOF
74
- }
74
+ end
75
75
 
76
- it 'should detect 1 problems' do
76
+ it 'detects 1 problems' do
77
77
  expect(problems).to have(1).problems
78
78
  end
79
79
  end
80
80
 
81
81
  context 'blank line at beginning of file' do
82
- let(:code) {
82
+ let(:code) do
83
83
  <<-EOF.gsub(/^ {8}/, '')
84
84
 
85
85
  class () {}
86
86
  EOF
87
- }
87
+ end
88
88
 
89
- it 'should detect 0 problems' do
89
+ it 'detects 0 problems' do
90
90
  expect(problems).to have(0).problems
91
91
  end
92
92
  end
metadata CHANGED
@@ -1,113 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: puppet-lint-strict_indent-check
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.8
4
+ version: 3.0.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: 2021-07-25 00:00:00.000000000 Z
11
+ date: 2023-04-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: puppet-lint
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - ">"
18
- - !ruby/object:Gem::Version
19
- version: '1.0'
20
- type: :runtime
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - ">"
25
- - !ruby/object:Gem::Version
26
- version: '1.0'
27
- - !ruby/object:Gem::Dependency
28
- name: rspec
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - "~>"
32
- - !ruby/object:Gem::Version
33
- version: '3.0'
34
- type: :development
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - "~>"
39
- - !ruby/object:Gem::Version
40
- version: '3.0'
41
- - !ruby/object:Gem::Dependency
42
- name: rspec-its
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - "~>"
46
- - !ruby/object:Gem::Version
47
- version: '1.0'
48
- type: :development
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - "~>"
53
- - !ruby/object:Gem::Version
54
- version: '1.0'
55
- - !ruby/object:Gem::Dependency
56
- name: rspec-collection_matchers
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - "~>"
60
- - !ruby/object:Gem::Version
61
- version: '1.0'
62
- type: :development
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - "~>"
67
- - !ruby/object:Gem::Version
68
- version: '1.0'
69
- - !ruby/object:Gem::Dependency
70
- name: rspec-json_expectations
71
15
  requirement: !ruby/object:Gem::Requirement
72
16
  requirements:
73
17
  - - ">="
74
18
  - !ruby/object:Gem::Version
75
- version: '0'
76
- type: :development
77
- prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - ">="
19
+ version: '3'
20
+ - - "<"
81
21
  - !ruby/object:Gem::Version
82
- version: '0'
83
- - !ruby/object:Gem::Dependency
84
- name: rake
85
- requirement: !ruby/object:Gem::Requirement
86
- requirements:
87
- - - ">="
88
- - !ruby/object:Gem::Version
89
- version: '0'
90
- type: :development
22
+ version: '5'
23
+ type: :runtime
91
24
  prerelease: false
92
25
  version_requirements: !ruby/object:Gem::Requirement
93
26
  requirements:
94
27
  - - ">="
95
28
  - !ruby/object:Gem::Version
96
- version: '0'
97
- - !ruby/object:Gem::Dependency
98
- name: simplecov
99
- requirement: !ruby/object:Gem::Requirement
100
- requirements:
101
- - - ">="
102
- - !ruby/object:Gem::Version
103
- version: '0'
104
- type: :development
105
- prerelease: false
106
- version_requirements: !ruby/object:Gem::Requirement
107
- requirements:
108
- - - ">="
29
+ version: '3'
30
+ - - "<"
109
31
  - !ruby/object:Gem::Version
110
- version: '0'
32
+ version: '5'
111
33
  description: " Extends puppet-lint to ensure that your manifests follow a strict
112
34
  indentation pattern.\n"
113
35
  email: voxpupuli@groups.io
@@ -115,6 +37,7 @@ executables: []
115
37
  extensions: []
116
38
  extra_rdoc_files: []
117
39
  files:
40
+ - CHANGELOG.md
118
41
  - LICENSE
119
42
  - README.md
120
43
  - lib/puppet-lint/plugins/check_strict_indent.rb
@@ -127,7 +50,7 @@ files:
127
50
  - spec/spec_helper.rb
128
51
  homepage: https://github.com/voxpupuli/puppet-lint-strict_indent-check
129
52
  licenses:
130
- - Mozilla 2.0
53
+ - MPL-2.0
131
54
  metadata: {}
132
55
  post_install_message:
133
56
  rdoc_options: []
@@ -137,22 +60,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
137
60
  requirements:
138
61
  - - ">="
139
62
  - !ruby/object:Gem::Version
140
- version: '0'
63
+ version: 2.7.0
141
64
  required_rubygems_version: !ruby/object:Gem::Requirement
142
65
  requirements:
143
66
  - - ">="
144
67
  - !ruby/object:Gem::Version
145
68
  version: '0'
146
69
  requirements: []
147
- rubygems_version: 3.2.22
70
+ rubygems_version: 3.2.33
148
71
  signing_key:
149
72
  specification_version: 4
150
73
  summary: puppet-lint strict indent check
151
- test_files:
152
- - spec/fixtures/fail/1.pp
153
- - spec/fixtures/fail/heredoc_extra.pp
154
- - spec/fixtures/fail/heredoc_unsuficient.pp
155
- - spec/fixtures/pass/1.pp
156
- - spec/fixtures/pass/heredoc.pp
157
- - spec/puppet-lint/plugins/check_strict_indent_spec.rb
158
- - spec/spec_helper.rb
74
+ test_files: []