puppet-lint 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
data/lib/puppet-lint.rb
CHANGED
@@ -4,7 +4,7 @@ class PuppetLint::Plugins::CheckStrings < PuppetLint::CheckPlugin
|
|
4
4
|
data.each_line do |line|
|
5
5
|
line_no += 1
|
6
6
|
line.match(/"([^\\"]|\\\\|\\")*"/).to_a.each do |s|
|
7
|
-
if s.start_with? '"'
|
7
|
+
if s.is_a? String and s.start_with? '"'
|
8
8
|
variable_found = false
|
9
9
|
s.scan(/.\$./) do |w|
|
10
10
|
if w.start_with? '\\'
|
data/puppet-lint.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'puppet-lint'
|
3
|
-
s.version = '0.0.
|
3
|
+
s.version = '0.0.3'
|
4
4
|
s.homepage = 'https://github.com/rodjek/puppet-lint/'
|
5
5
|
s.summary = 'Ensure your Puppet manifests conform with the Puppetlabs style guide'
|
6
6
|
s.description = 'Checks your Puppet manifests against the Puppetlabs
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: puppet-lint
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 25
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 3
|
10
|
+
version: 0.0.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Tim Sharpe
|