puppet-lint-version_comparison-check 0.1.0 → 0.1.1
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_version_comparison.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7c4eab7e52af1a198efeb97db755c83038107b86
|
4
|
+
data.tar.gz: 3a3e52c79a52e1890d3f6a10abe9fd2274d8a6d0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5f4086179338a88a1cda0524e04c5ff7a2221c65a280bc63a5be0517c69f5f24007919c0528b8cc00cd6173c1326b5c6f71327db2b07a51700f63042bbc0362b
|
7
|
+
data.tar.gz: 2149ccde623ac44762f3a8e04ba605721e0ca6c532f4b6df2b253eb81911f174614194741d09a585028822a203bfd1d650d4e75bb05da372024d0a78d27f87e3
|
@@ -28,11 +28,11 @@ PuppetLint.new_check(:version_comparison) do
|
|
28
28
|
def fix(problem)
|
29
29
|
versioncmp = PuppetLint::Lexer::Token.new(
|
30
30
|
:NAME, 'versioncmp',
|
31
|
-
problem[:token].line, problem[:token].column
|
31
|
+
problem[:token].line, problem[:token].column
|
32
32
|
)
|
33
33
|
lparen = PuppetLint::Lexer::Token.new(
|
34
34
|
:LPAREN, '(',
|
35
|
-
problem[:token].line, problem[:token].column+1
|
35
|
+
problem[:token].line, problem[:token].column+1
|
36
36
|
)
|
37
37
|
rparen = PuppetLint::Lexer::Token.new(
|
38
38
|
:RPAREN, ')',
|