puppet-lint-trailing_comma-check 0.4.2 → 1.0.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 +99 -0
- data/README.md +18 -4
- data/lib/puppet-lint/plugins/check_trailing_comma.rb +5 -0
- data/spec/puppet-lint/plugins/check_trailing_comma/check_trailing_comma_spec.rb +76 -19
- data/spec/spec_helper.rb +25 -2
- metadata +10 -24
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: '018a77724925ca0bef3850617c749c009d3b83ae767eda4e87baf88de6f4cd80'
|
|
4
|
+
data.tar.gz: ddc25465f0676f38b5d3c16640f811431bbf2864fbb2d2cb8c5027b906fcf17c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4fb19ce04aba821d695bf8590d31ae62f94511ec6caf2abe8c9f3937cc15974f40e90f3ab30f27cb8208eff7ea3ba3e149b8e15be7b6c635b2a03f03c385c510
|
|
7
|
+
data.tar.gz: 0a2d39ccf3301764ed941a043ca4656cb083e3675a3b21f33d64f6621764f3c6441c86a87a30f4226606b1c3ba3fa6b9d3e0fd1c3d808e81189cf234d9b0bc88
|
data/CHANGELOG.md
ADDED
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
|
|
5
|
+
## [1.0.0](https://github.com/voxpupuli/puppet-lint-trailing_comma-check/tree/1.0.0) (2022-11-29)
|
|
6
|
+
|
|
7
|
+
[Full Changelog](https://github.com/voxpupuli/puppet-lint-trailing_comma-check/compare/0.4.3...1.0.0)
|
|
8
|
+
|
|
9
|
+
**Implemented enhancements:**
|
|
10
|
+
|
|
11
|
+
- puppet-lint: Allow 3.x [\#29](https://github.com/voxpupuli/puppet-lint-trailing_comma-check/pull/29) ([bastelfreak](https://github.com/bastelfreak))
|
|
12
|
+
|
|
13
|
+
## [0.4.3](https://github.com/voxpupuli/puppet-lint-trailing_comma-check/tree/0.4.3) (2022-10-13)
|
|
14
|
+
|
|
15
|
+
[Full Changelog](https://github.com/voxpupuli/puppet-lint-trailing_comma-check/compare/0.4.2...0.4.3)
|
|
16
|
+
|
|
17
|
+
**Fixed bugs:**
|
|
18
|
+
|
|
19
|
+
- Ignore data types where trailing commas are illegal [\#25](https://github.com/voxpupuli/puppet-lint-trailing_comma-check/pull/25) ([chelnak](https://github.com/chelnak))
|
|
20
|
+
|
|
21
|
+
**Merged pull requests:**
|
|
22
|
+
|
|
23
|
+
- Set BUNDLE\_WITHOUT at the top level in GitHub Actions [\#26](https://github.com/voxpupuli/puppet-lint-trailing_comma-check/pull/26) ([ekohl](https://github.com/ekohl))
|
|
24
|
+
- Cleanup Gemfile/gemspec [\#22](https://github.com/voxpupuli/puppet-lint-trailing_comma-check/pull/22) ([bastelfreak](https://github.com/bastelfreak))
|
|
25
|
+
- Add badges to README.md / Publish gem to GitHub packages [\#20](https://github.com/voxpupuli/puppet-lint-trailing_comma-check/pull/20) ([bastelfreak](https://github.com/bastelfreak))
|
|
26
|
+
- Convert to Github Actions [\#19](https://github.com/voxpupuli/puppet-lint-trailing_comma-check/pull/19) ([ekohl](https://github.com/ekohl))
|
|
27
|
+
|
|
28
|
+
## [0.4.2](https://github.com/voxpupuli/puppet-lint-trailing_comma-check/tree/0.4.2) (2018-12-06)
|
|
29
|
+
|
|
30
|
+
[Full Changelog](https://github.com/voxpupuli/puppet-lint-trailing_comma-check/compare/0.4.1...0.4.2)
|
|
31
|
+
|
|
32
|
+
**Fixed bugs:**
|
|
33
|
+
|
|
34
|
+
- Fix for type matching misdetection with !~ [\#17](https://github.com/voxpupuli/puppet-lint-trailing_comma-check/pull/17) ([seanmil](https://github.com/seanmil))
|
|
35
|
+
|
|
36
|
+
## [0.4.1](https://github.com/voxpupuli/puppet-lint-trailing_comma-check/tree/0.4.1) (2018-10-24)
|
|
37
|
+
|
|
38
|
+
[Full Changelog](https://github.com/voxpupuli/puppet-lint-trailing_comma-check/compare/0.4.0...0.4.1)
|
|
39
|
+
|
|
40
|
+
**Fixed bugs:**
|
|
41
|
+
|
|
42
|
+
- Fix heredoc handling. Add support for interpolated heredocs. [\#15](https://github.com/voxpupuli/puppet-lint-trailing_comma-check/pull/15) ([seanmil](https://github.com/seanmil))
|
|
43
|
+
|
|
44
|
+
## [0.4.0](https://github.com/voxpupuli/puppet-lint-trailing_comma-check/tree/0.4.0) (2018-10-20)
|
|
45
|
+
|
|
46
|
+
[Full Changelog](https://github.com/voxpupuli/puppet-lint-trailing_comma-check/compare/0.3.2...0.4.0)
|
|
47
|
+
|
|
48
|
+
**Breaking changes:**
|
|
49
|
+
|
|
50
|
+
- Drop support for ruby \< 2.0.0. Update badges for voxpupuli [\#7](https://github.com/voxpupuli/puppet-lint-trailing_comma-check/pull/7) ([alexjfisher](https://github.com/alexjfisher))
|
|
51
|
+
|
|
52
|
+
**Fixed bugs:**
|
|
53
|
+
|
|
54
|
+
- Fix invalid handling of heredoc strings [\#10](https://github.com/voxpupuli/puppet-lint-trailing_comma-check/pull/10) ([seanmil](https://github.com/seanmil))
|
|
55
|
+
- Fix custom type misdetection [\#9](https://github.com/voxpupuli/puppet-lint-trailing_comma-check/pull/9) ([seanmil](https://github.com/seanmil))
|
|
56
|
+
|
|
57
|
+
## [0.3.2](https://github.com/voxpupuli/puppet-lint-trailing_comma-check/tree/0.3.2) (2016-06-22)
|
|
58
|
+
|
|
59
|
+
[Full Changelog](https://github.com/voxpupuli/puppet-lint-trailing_comma-check/compare/0.3.1...0.3.2)
|
|
60
|
+
|
|
61
|
+
**Implemented enhancements:**
|
|
62
|
+
|
|
63
|
+
- With the release of puppet-lint 2.0.0, support ~\>2.0 versions. [\#3](https://github.com/voxpupuli/puppet-lint-trailing_comma-check/pull/3) ([rnelson0](https://github.com/rnelson0))
|
|
64
|
+
|
|
65
|
+
## [0.3.1](https://github.com/voxpupuli/puppet-lint-trailing_comma-check/tree/0.3.1) (2015-02-18)
|
|
66
|
+
|
|
67
|
+
[Full Changelog](https://github.com/voxpupuli/puppet-lint-trailing_comma-check/compare/0.3.0...0.3.1)
|
|
68
|
+
|
|
69
|
+
## [0.3.0](https://github.com/voxpupuli/puppet-lint-trailing_comma-check/tree/0.3.0) (2015-02-10)
|
|
70
|
+
|
|
71
|
+
[Full Changelog](https://github.com/voxpupuli/puppet-lint-trailing_comma-check/compare/0.2.1...0.3.0)
|
|
72
|
+
|
|
73
|
+
## [0.2.1](https://github.com/voxpupuli/puppet-lint-trailing_comma-check/tree/0.2.1) (2015-02-10)
|
|
74
|
+
|
|
75
|
+
[Full Changelog](https://github.com/voxpupuli/puppet-lint-trailing_comma-check/compare/0.2.0...0.2.1)
|
|
76
|
+
|
|
77
|
+
## [0.2.0](https://github.com/voxpupuli/puppet-lint-trailing_comma-check/tree/0.2.0) (2015-02-10)
|
|
78
|
+
|
|
79
|
+
[Full Changelog](https://github.com/voxpupuli/puppet-lint-trailing_comma-check/compare/0.1.3...0.2.0)
|
|
80
|
+
|
|
81
|
+
## [0.1.3](https://github.com/voxpupuli/puppet-lint-trailing_comma-check/tree/0.1.3) (2015-02-10)
|
|
82
|
+
|
|
83
|
+
[Full Changelog](https://github.com/voxpupuli/puppet-lint-trailing_comma-check/compare/0.1.2...0.1.3)
|
|
84
|
+
|
|
85
|
+
## [0.1.2](https://github.com/voxpupuli/puppet-lint-trailing_comma-check/tree/0.1.2) (2015-02-10)
|
|
86
|
+
|
|
87
|
+
[Full Changelog](https://github.com/voxpupuli/puppet-lint-trailing_comma-check/compare/0.1.1...0.1.2)
|
|
88
|
+
|
|
89
|
+
## [0.1.1](https://github.com/voxpupuli/puppet-lint-trailing_comma-check/tree/0.1.1) (2015-02-10)
|
|
90
|
+
|
|
91
|
+
[Full Changelog](https://github.com/voxpupuli/puppet-lint-trailing_comma-check/compare/0.1.0...0.1.1)
|
|
92
|
+
|
|
93
|
+
## [0.1.0](https://github.com/voxpupuli/puppet-lint-trailing_comma-check/tree/0.1.0) (2015-02-10)
|
|
94
|
+
|
|
95
|
+
[Full Changelog](https://github.com/voxpupuli/puppet-lint-trailing_comma-check/compare/1737f56089f5b3797f797b1a158a3a32aa3631c8...0.1.0)
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
\* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*
|
data/README.md
CHANGED
|
@@ -2,11 +2,11 @@ puppet-lint-trailing_comma-check
|
|
|
2
2
|
=================================
|
|
3
3
|
|
|
4
4
|
[](https://github.com/voxpupuli/puppet-lint-trailing_comma-check/blob/master/LICENSE)
|
|
5
|
-
[](https://github.com/voxpupuli/puppet-lint-trailing_comma-check/actions/workflows/test.yml)
|
|
6
|
+
[](https://github.com/voxpupuli/puppet-lint-trailing_comma-check/actions/workflows/release.yml)
|
|
7
|
+
[](https://rubygems.org/gems/puppet-lint-trailing_comma-check)
|
|
8
|
+
[](https://rubygems.org/gems/puppet-lint-trailing_comma-check)
|
|
8
9
|
[](https://coveralls.io/github/voxpupuli/puppet-lint-trailing_comma-check?branch=master)
|
|
9
|
-
[](https://gemnasium.com/github.com/voxpupuli/puppet-lint-trailing_comma-check)
|
|
10
10
|
[](#transfer-notice)
|
|
11
11
|
|
|
12
12
|
A puppet-lint plugin to check for missing trailing commas.
|
|
@@ -70,3 +70,17 @@ The maintainer preferred that Puppet Community take ownership of the module for
|
|
|
70
70
|
Existing pull requests and issues were transferred over, please fork and continue to contribute here instead of Camptocamp.
|
|
71
71
|
|
|
72
72
|
Previously: https://github.com/camptocamp/puppet-lint-trailing_comma-check
|
|
73
|
+
|
|
74
|
+
## License
|
|
75
|
+
|
|
76
|
+
This gem is licensed under the Apache-2 license.
|
|
77
|
+
|
|
78
|
+
## Release information
|
|
79
|
+
|
|
80
|
+
To make a new release, please do:
|
|
81
|
+
* update the version in the gemspec file
|
|
82
|
+
* Install gems with `bundle install --with release --path .vendor`
|
|
83
|
+
* generate the changelog with `bundle exec rake changelog`
|
|
84
|
+
* Check if the new version matches the closed issues/PRs in the changelog
|
|
85
|
+
* Create a PR with it
|
|
86
|
+
* After it got merged, push a tag. GitHub actions will do the actual release to rubygems and GitHub Packages
|
|
@@ -13,6 +13,11 @@ PuppetLint.new_check(:trailing_comma) do
|
|
|
13
13
|
# Ignore resource references
|
|
14
14
|
next if token.prev_code_token && \
|
|
15
15
|
token.prev_code_token.type == :CLASSREF
|
|
16
|
+
|
|
17
|
+
# Ignore data types
|
|
18
|
+
next if token.prev_code_token && \
|
|
19
|
+
token.prev_code_token.type == :TYPE
|
|
20
|
+
|
|
16
21
|
arrays << {
|
|
17
22
|
:start => token_idx,
|
|
18
23
|
:end => real_idx,
|
|
@@ -10,6 +10,11 @@ describe 'trailing_comma' do
|
|
|
10
10
|
class { '::apache':
|
|
11
11
|
timeout => '100',
|
|
12
12
|
docroot => '/var/www',
|
|
13
|
+
Enum[
|
|
14
|
+
'a',
|
|
15
|
+
'b',
|
|
16
|
+
'c'
|
|
17
|
+
] $test = 'c',
|
|
13
18
|
}
|
|
14
19
|
|
|
15
20
|
class{ '::nginx': }
|
|
@@ -70,6 +75,12 @@ describe 'trailing_comma' do
|
|
|
70
75
|
if $var !~ Mymodule::MyType {
|
|
71
76
|
fail("encountered error ${err}")
|
|
72
77
|
}
|
|
78
|
+
|
|
79
|
+
$test = [
|
|
80
|
+
'a',
|
|
81
|
+
'b',
|
|
82
|
+
'c',
|
|
83
|
+
],
|
|
73
84
|
EOS
|
|
74
85
|
}
|
|
75
86
|
|
|
@@ -83,7 +94,12 @@ describe 'trailing_comma' do
|
|
|
83
94
|
<<-EOS
|
|
84
95
|
class { '::apache':
|
|
85
96
|
timeout => '100',
|
|
86
|
-
docroot => '/var/www'
|
|
97
|
+
docroot => '/var/www',
|
|
98
|
+
Enum[
|
|
99
|
+
'a',
|
|
100
|
+
'b',
|
|
101
|
+
'c'
|
|
102
|
+
] $test = 'c'
|
|
87
103
|
}
|
|
88
104
|
|
|
89
105
|
class{ '::nginx': }
|
|
@@ -129,20 +145,27 @@ describe 'trailing_comma' do
|
|
|
129
145
|
'/etc/baz.conf', '/etc/baz.conf.d'
|
|
130
146
|
],
|
|
131
147
|
}
|
|
148
|
+
|
|
149
|
+
$test = [
|
|
150
|
+
'a',
|
|
151
|
+
'b',
|
|
152
|
+
'c'
|
|
153
|
+
]
|
|
132
154
|
EOS
|
|
133
155
|
}
|
|
134
156
|
|
|
135
|
-
it 'should detect
|
|
136
|
-
expect(problems).to have(
|
|
157
|
+
it 'should detect 7 problems' do
|
|
158
|
+
expect(problems).to have(7).problems
|
|
137
159
|
end
|
|
138
160
|
|
|
139
161
|
it 'should create warnings' do
|
|
140
|
-
expect(problems).to contain_warning(msg).on_line(
|
|
141
|
-
expect(problems).to contain_warning(msg).on_line(
|
|
142
|
-
expect(problems).to contain_warning(msg).on_line(
|
|
143
|
-
expect(problems).to contain_warning(msg).on_line(
|
|
144
|
-
expect(problems).to contain_warning(msg).on_line(
|
|
145
|
-
expect(problems).to contain_warning(msg).on_line(
|
|
162
|
+
expect(problems).to contain_warning(msg).on_line(8).in_column(24)
|
|
163
|
+
expect(problems).to contain_warning(msg).on_line(15).in_column(27)
|
|
164
|
+
expect(problems).to contain_warning(msg).on_line(29).in_column(18)
|
|
165
|
+
expect(problems).to contain_warning(msg).on_line(38).in_column(23)
|
|
166
|
+
expect(problems).to contain_warning(msg).on_line(44).in_column(26)
|
|
167
|
+
expect(problems).to contain_warning(msg).on_line(46).in_column(25)
|
|
168
|
+
expect(problems).to contain_warning(msg).on_line(58).in_column(14)
|
|
146
169
|
end
|
|
147
170
|
end
|
|
148
171
|
|
|
@@ -223,6 +246,11 @@ describe 'trailing_comma' do
|
|
|
223
246
|
class { '::apache':
|
|
224
247
|
timeout => '100',
|
|
225
248
|
docroot => '/var/www',
|
|
249
|
+
Enum[
|
|
250
|
+
'a',
|
|
251
|
+
'b',
|
|
252
|
+
'c'
|
|
253
|
+
] $test = 'c',
|
|
226
254
|
}
|
|
227
255
|
|
|
228
256
|
class{ '::nginx': }
|
|
@@ -268,6 +296,12 @@ describe 'trailing_comma' do
|
|
|
268
296
|
'/etc/baz.conf', '/etc/baz.conf.d'
|
|
269
297
|
],
|
|
270
298
|
}
|
|
299
|
+
|
|
300
|
+
$test = [
|
|
301
|
+
'a',
|
|
302
|
+
'b',
|
|
303
|
+
'c',
|
|
304
|
+
],
|
|
271
305
|
EOS
|
|
272
306
|
}
|
|
273
307
|
|
|
@@ -285,7 +319,12 @@ describe 'trailing_comma' do
|
|
|
285
319
|
<<-EOS
|
|
286
320
|
class { '::apache':
|
|
287
321
|
timeout => '100',
|
|
288
|
-
docroot => '/var/www'
|
|
322
|
+
docroot => '/var/www',
|
|
323
|
+
Enum[
|
|
324
|
+
'a',
|
|
325
|
+
'b',
|
|
326
|
+
'c'
|
|
327
|
+
] $test = 'c'
|
|
289
328
|
}
|
|
290
329
|
|
|
291
330
|
class{ '::nginx': }
|
|
@@ -331,20 +370,27 @@ describe 'trailing_comma' do
|
|
|
331
370
|
'/etc/baz.conf', '/etc/baz.conf.d'
|
|
332
371
|
],
|
|
333
372
|
}
|
|
373
|
+
|
|
374
|
+
$test = [
|
|
375
|
+
'a',
|
|
376
|
+
'b',
|
|
377
|
+
'c'
|
|
378
|
+
]
|
|
334
379
|
EOS
|
|
335
380
|
}
|
|
336
381
|
|
|
337
|
-
it 'should detect
|
|
338
|
-
expect(problems).to have(
|
|
382
|
+
it 'should detect 7 problems' do
|
|
383
|
+
expect(problems).to have(7).problems
|
|
339
384
|
end
|
|
340
385
|
|
|
341
386
|
it 'should create a warning' do
|
|
342
|
-
expect(problems).to contain_fixed(msg).on_line(
|
|
343
|
-
expect(problems).to contain_fixed(msg).on_line(
|
|
344
|
-
expect(problems).to contain_fixed(msg).on_line(
|
|
345
|
-
expect(problems).to contain_fixed(msg).on_line(
|
|
346
|
-
expect(problems).to contain_fixed(msg).on_line(
|
|
347
|
-
expect(problems).to contain_fixed(msg).on_line(
|
|
387
|
+
expect(problems).to contain_fixed(msg).on_line(8).in_column(24)
|
|
388
|
+
expect(problems).to contain_fixed(msg).on_line(15).in_column(27)
|
|
389
|
+
expect(problems).to contain_fixed(msg).on_line(29).in_column(18)
|
|
390
|
+
expect(problems).to contain_fixed(msg).on_line(38).in_column(23)
|
|
391
|
+
expect(problems).to contain_fixed(msg).on_line(44).in_column(26)
|
|
392
|
+
expect(problems).to contain_fixed(msg).on_line(46).in_column(25)
|
|
393
|
+
expect(problems).to contain_fixed(msg).on_line(58).in_column(14)
|
|
348
394
|
end
|
|
349
395
|
|
|
350
396
|
it 'should add trailing commas' do
|
|
@@ -353,6 +399,11 @@ describe 'trailing_comma' do
|
|
|
353
399
|
class { '::apache':
|
|
354
400
|
timeout => '100',
|
|
355
401
|
docroot => '/var/www',
|
|
402
|
+
Enum[
|
|
403
|
+
'a',
|
|
404
|
+
'b',
|
|
405
|
+
'c'
|
|
406
|
+
] $test = 'c',
|
|
356
407
|
}
|
|
357
408
|
|
|
358
409
|
class{ '::nginx': }
|
|
@@ -398,7 +449,13 @@ describe 'trailing_comma' do
|
|
|
398
449
|
'/etc/baz.conf', '/etc/baz.conf.d'
|
|
399
450
|
],
|
|
400
451
|
}
|
|
401
|
-
|
|
452
|
+
|
|
453
|
+
$test = [
|
|
454
|
+
'a',
|
|
455
|
+
'b',
|
|
456
|
+
'c',
|
|
457
|
+
]
|
|
458
|
+
EOS
|
|
402
459
|
)
|
|
403
460
|
end
|
|
404
461
|
end
|
data/spec/spec_helper.rb
CHANGED
|
@@ -1,5 +1,28 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
begin
|
|
4
|
+
require 'simplecov'
|
|
5
|
+
require 'simplecov-console'
|
|
6
|
+
require 'codecov'
|
|
7
|
+
rescue LoadError
|
|
8
|
+
else
|
|
9
|
+
SimpleCov.start do
|
|
10
|
+
track_files 'lib/**/*.rb'
|
|
11
|
+
|
|
12
|
+
add_filter '/spec'
|
|
13
|
+
|
|
14
|
+
enable_coverage :branch
|
|
15
|
+
|
|
16
|
+
# do not track vendored files
|
|
17
|
+
add_filter '/vendor'
|
|
18
|
+
add_filter '/.vendor'
|
|
19
|
+
end
|
|
20
|
+
|
|
21
|
+
SimpleCov.formatters = [
|
|
22
|
+
SimpleCov::Formatter::Console,
|
|
23
|
+
SimpleCov::Formatter::Codecov,
|
|
24
|
+
]
|
|
25
|
+
end
|
|
3
26
|
|
|
4
27
|
require 'puppet-lint'
|
|
5
28
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: puppet-lint-trailing_comma-check
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 1.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:
|
|
11
|
+
date: 2022-11-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: puppet-lint
|
|
@@ -19,7 +19,7 @@ dependencies:
|
|
|
19
19
|
version: '1.0'
|
|
20
20
|
- - "<"
|
|
21
21
|
- !ruby/object:Gem::Version
|
|
22
|
-
version: '
|
|
22
|
+
version: '4'
|
|
23
23
|
type: :runtime
|
|
24
24
|
prerelease: false
|
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -29,7 +29,7 @@ dependencies:
|
|
|
29
29
|
version: '1.0'
|
|
30
30
|
- - "<"
|
|
31
31
|
- !ruby/object:Gem::Version
|
|
32
|
-
version: '
|
|
32
|
+
version: '4'
|
|
33
33
|
- !ruby/object:Gem::Dependency
|
|
34
34
|
name: rspec
|
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -73,21 +73,7 @@ dependencies:
|
|
|
73
73
|
- !ruby/object:Gem::Version
|
|
74
74
|
version: '1.0'
|
|
75
75
|
- !ruby/object:Gem::Dependency
|
|
76
|
-
name:
|
|
77
|
-
requirement: !ruby/object:Gem::Requirement
|
|
78
|
-
requirements:
|
|
79
|
-
- - ">="
|
|
80
|
-
- !ruby/object:Gem::Version
|
|
81
|
-
version: '0'
|
|
82
|
-
type: :development
|
|
83
|
-
prerelease: false
|
|
84
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
85
|
-
requirements:
|
|
86
|
-
- - ">="
|
|
87
|
-
- !ruby/object:Gem::Version
|
|
88
|
-
version: '0'
|
|
89
|
-
- !ruby/object:Gem::Dependency
|
|
90
|
-
name: coveralls
|
|
76
|
+
name: simplecov
|
|
91
77
|
requirement: !ruby/object:Gem::Requirement
|
|
92
78
|
requirements:
|
|
93
79
|
- - ">="
|
|
@@ -115,11 +101,12 @@ dependencies:
|
|
|
115
101
|
- !ruby/object:Gem::Version
|
|
116
102
|
version: '0'
|
|
117
103
|
description: " A puppet-lint plugin to check for missing trailing commas.\n"
|
|
118
|
-
email:
|
|
104
|
+
email: voxpupuli@groups.io
|
|
119
105
|
executables: []
|
|
120
106
|
extensions: []
|
|
121
107
|
extra_rdoc_files: []
|
|
122
108
|
files:
|
|
109
|
+
- CHANGELOG.md
|
|
123
110
|
- LICENSE
|
|
124
111
|
- README.md
|
|
125
112
|
- lib/puppet-lint/plugins/check_trailing_comma.rb
|
|
@@ -144,11 +131,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
144
131
|
- !ruby/object:Gem::Version
|
|
145
132
|
version: '0'
|
|
146
133
|
requirements: []
|
|
147
|
-
|
|
148
|
-
rubygems_version: 2.7.8
|
|
134
|
+
rubygems_version: 3.2.33
|
|
149
135
|
signing_key:
|
|
150
136
|
specification_version: 4
|
|
151
137
|
summary: A puppet-lint plugin to check for missing trailing commas.
|
|
152
138
|
test_files:
|
|
153
|
-
- spec/spec_helper.rb
|
|
154
139
|
- spec/puppet-lint/plugins/check_trailing_comma/check_trailing_comma_spec.rb
|
|
140
|
+
- spec/spec_helper.rb
|