puppet-lint-space_after_comma-check 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/puppet-lint/plugins/check_space_after_comma.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4226496ecbb748508a56de2cc80ced139e83a480
|
4
|
+
data.tar.gz: 4cef39c6432e1879d3c05d54de4af6dee00d2f6d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2fc2f581490665241270146a429f4eb1385ee35a15fb14975f3bb8cb9de2d04101d91f637eedc520bb01d43ab19bfdbf0addc875b0e86c86f17bf4c21f43b18f
|
7
|
+
data.tar.gz: 89f1f6404c3c4dc13eb3dbedb9e34a66912cd91f9b6ec1eb7a408d04f11305c31487366ea104d9e2c3a8b73166b0ded490855fd363b747aa5ffce475e275d18e
|
@@ -3,7 +3,7 @@ PuppetLint.new_check(:space_after_comma) do
|
|
3
3
|
tokens.select { |r|
|
4
4
|
Set[:COMMA].include? r.type
|
5
5
|
}.each do |token|
|
6
|
-
if token.next_token.type != :WHITESPACE and token.next_token.type != :NEWLINE
|
6
|
+
if token.next_token.type != :WHITESPACE and token.next_token.type != :NEWLINE and token.next_token.type != :SEMIC
|
7
7
|
notify :warning, {
|
8
8
|
:message => 'expected space after comma',
|
9
9
|
:line => token.line,
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: puppet-lint-space_after_comma-check
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mihail Mihaylov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-03-
|
11
|
+
date: 2017-03-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: puppet-lint
|