puppet-lint 2.5.0 → 2.5.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -4,7 +4,7 @@
4
4
  #
5
5
  # https://puppet.com/docs/puppet/latest/style_guide.html#quoting
6
6
  PuppetLint.new_check(:double_quoted_strings) do
7
- ESCAPE_CHAR_RE = %r{(\\\$|\\"|\\'|'|\r|\t|\\t|\n|\\n|\\\\)}
7
+ ESCAPE_CHAR_RE = %r{(\\\$|\\"|\\'|'|\r|\t|\\t|\\s|\n|\\n|\\\\)}
8
8
 
9
9
  def check
10
10
  tokens.select { |token|
@@ -1,3 +1,3 @@
1
1
  class PuppetLint
2
- VERSION = '2.5.0'.freeze
2
+ VERSION = '2.5.2'.freeze
3
3
  end
@@ -103,6 +103,7 @@ describe 'double_quoted_strings' do
103
103
  $string5 = "this string contains \\'escaped \\' single quotes"
104
104
  $string6 = "this string contains \r carriage return"
105
105
  $string7 = "this string contains \\\\ an escaped backslash"
106
+ $string8 = "this string contains \\s"
106
107
  END
107
108
  end
108
109
 
metadata CHANGED
@@ -1,25 +1,30 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: puppet-lint
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.5.0
4
+ version: 2.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tim Sharpe
8
+ - Puppet, Inc.
9
+ - Community Contributors
8
10
  autorequire:
9
11
  bindir: bin
10
12
  cert_chain: []
11
- date: 2021-07-26 00:00:00.000000000 Z
13
+ date: 2021-09-14 00:00:00.000000000 Z
12
14
  dependencies: []
13
15
  description: |-
14
16
  Checks your Puppet manifests against the Puppetlabs
15
17
  style guide and alerts you to any discrepancies.
16
- email: tim@sharpe.id.au
18
+ email:
19
+ - tim@sharpe.id.au
20
+ - modules-team@puppet.com
17
21
  executables:
18
22
  - puppet-lint
19
23
  extensions: []
20
24
  extra_rdoc_files: []
21
25
  files:
22
26
  - CHANGELOG.md
27
+ - HISTORY.md
23
28
  - LICENSE
24
29
  - README.md
25
30
  - bin/puppet-lint
@@ -135,7 +140,7 @@ files:
135
140
  - spec/puppet-lint/plugins/check_whitespace/trailing_whitespace_spec.rb
136
141
  - spec/puppet-lint_spec.rb
137
142
  - spec/spec_helper.rb
138
- homepage: https://github.com/rodjek/puppet-lint/
143
+ homepage: https://github.com/puppetlabs/puppet-lint/
139
144
  licenses:
140
145
  - MIT
141
146
  metadata: {}
@@ -155,7 +160,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
155
160
  version: '0'
156
161
  requirements: []
157
162
  rubyforge_project:
158
- rubygems_version: 2.7.6.2
163
+ rubygems_version: 2.7.6.3
159
164
  signing_key:
160
165
  specification_version: 4
161
166
  summary: Ensure your Puppet manifests conform with the Puppetlabs style guide