puppet-lint 2.3.1 → 2.3.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3516ab4e6adac864c4fb3e43ce1f90bb5d81288c
4
- data.tar.gz: a518428edb88a71dd7bb0708e060d5ee76fbd16c
3
+ metadata.gz: fbb487b62428cd625a1cf3d397b31caae02add69
4
+ data.tar.gz: 07c43049840cb8f2fbb145582eb2bc2b8ef2080a
5
5
  SHA512:
6
- metadata.gz: 70a5239c7b36ef55024580ebcda52e5bee45db6d12b21d2e957233930555dd3c91645a3f0076a393dfd79481511ab39a555689994aa4827c6a52b4326bc3745e
7
- data.tar.gz: db50c67864f94a834f141af85eaf062a7a8d62f2c74fda37510bb959685e9594dd09406ca11f3b58338ade7154ffee51ed5e72dd53597ebb8503693237addf77
6
+ metadata.gz: 7e15459e1239a53a0bacd8f02bce2d762a19e30801778dce52359e0fdc19ece26f1a0557bfd656ec87fcaf0fc9e1ff1e3c0d9648e1a9713f43509f05ae18e9c7
7
+ data.tar.gz: da721067ae63f5a41452ef969fe5871c16edc155ff89e602860afe200a5df5fc52013a8d5150a2916791a7302c87742857e23bc2f0f2af6c4fe90d457ea1b4e6
@@ -1,5 +1,12 @@
1
1
  # Change Log
2
2
 
3
+ ## [2.3.2](https://github.com/rodjek/puppet-lint/tree/2.3.2) (2017-09-27)
4
+ [Full Changelog](https://github.com/rodjek/puppet-lint/compare/2.3.1...2.3.2)
5
+
6
+ **Fixed bugs:**
7
+
8
+ - configuration, method_missing had faulty logic [\#754](https://github.com/rodjek/puppet-lint/issues/754)
9
+
3
10
  ## [2.3.1](https://github.com/rodjek/puppet-lint/tree/2.3.1) (2017-09-27)
4
11
  [Full Changelog](https://github.com/rodjek/puppet-lint/compare/2.3.0...2.3.1)
5
12
 
@@ -897,4 +904,4 @@ If the additional gems you use for checks are pinned to 1.x, you should pin pupp
897
904
  ## [0.0.1](https://github.com/rodjek/puppet-lint/tree/0.0.1) (2011-08-15)
898
905
 
899
906
 
900
- \* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
907
+ \* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
@@ -54,7 +54,7 @@ class PuppetLint
54
54
 
55
55
  option = Regexp.last_match(:option)
56
56
  add_option(option.to_s) if settings[option].nil?
57
- settings[option] = args[0] if args.length > 1
57
+ settings[option] = args[0] unless args.empty?
58
58
  end
59
59
 
60
60
  def respond_to_missing?(method, *)
@@ -1,3 +1,3 @@
1
1
  class PuppetLint
2
- VERSION = '2.3.1'.freeze
2
+ VERSION = '2.3.2'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: puppet-lint
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.1
4
+ version: 2.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tim Sharpe
@@ -157,8 +157,65 @@ required_rubygems_version: !ruby/object:Gem::Requirement
157
157
  version: '0'
158
158
  requirements: []
159
159
  rubyforge_project:
160
- rubygems_version: 2.6.11
160
+ rubygems_version: 2.6.10
161
161
  signing_key:
162
162
  specification_version: 4
163
163
  summary: Ensure your Puppet manifests conform with the Puppetlabs style guide
164
- test_files: []
164
+ test_files:
165
+ - spec/fixtures/test/manifests/fail.pp
166
+ - spec/fixtures/test/manifests/ignore.pp
167
+ - spec/fixtures/test/manifests/ignore_multiple_block.pp
168
+ - spec/fixtures/test/manifests/ignore_multiple_line.pp
169
+ - spec/fixtures/test/manifests/ignore_reason.pp
170
+ - spec/fixtures/test/manifests/init.pp
171
+ - spec/fixtures/test/manifests/malformed.pp
172
+ - spec/fixtures/test/manifests/mismatched_control_comment.pp
173
+ - spec/fixtures/test/manifests/unterminated_control_comment.pp
174
+ - spec/fixtures/test/manifests/url_interpolation.pp
175
+ - spec/fixtures/test/manifests/warning.pp
176
+ - spec/puppet-lint/bin_spec.rb
177
+ - spec/puppet-lint/checks_spec.rb
178
+ - spec/puppet-lint/configuration_spec.rb
179
+ - spec/puppet-lint/data_spec.rb
180
+ - spec/puppet-lint/ignore_overrides_spec.rb
181
+ - spec/puppet-lint/lexer/token_spec.rb
182
+ - spec/puppet-lint/lexer_spec.rb
183
+ - spec/puppet-lint/plugins/check_classes/arrow_on_right_operand_line_spec.rb
184
+ - spec/puppet-lint/plugins/check_classes/autoloader_layout_spec.rb
185
+ - spec/puppet-lint/plugins/check_classes/class_inherits_from_params_class_spec.rb
186
+ - spec/puppet-lint/plugins/check_classes/code_on_top_scope_spec.rb
187
+ - spec/puppet-lint/plugins/check_classes/inherits_across_namespaces_spec.rb
188
+ - spec/puppet-lint/plugins/check_classes/name_contains_uppercase_spec.rb
189
+ - spec/puppet-lint/plugins/check_classes/names_containing_dash_spec.rb
190
+ - spec/puppet-lint/plugins/check_classes/nested_classes_or_defines_spec.rb
191
+ - spec/puppet-lint/plugins/check_classes/parameter_order_spec.rb
192
+ - spec/puppet-lint/plugins/check_classes/right_to_left_relationship_spec.rb
193
+ - spec/puppet-lint/plugins/check_classes/variable_scope_spec.rb
194
+ - spec/puppet-lint/plugins/check_comments/slash_comments_spec.rb
195
+ - spec/puppet-lint/plugins/check_comments/star_comments_spec.rb
196
+ - spec/puppet-lint/plugins/check_conditionals/case_without_default_spec.rb
197
+ - spec/puppet-lint/plugins/check_conditionals/selector_inside_resource_spec.rb
198
+ - spec/puppet-lint/plugins/check_documentation/documentation_spec.rb
199
+ - spec/puppet-lint/plugins/check_nodes/unquoted_node_name_spec.rb
200
+ - spec/puppet-lint/plugins/check_resources/duplicate_params_spec.rb
201
+ - spec/puppet-lint/plugins/check_resources/ensure_first_param_spec.rb
202
+ - spec/puppet-lint/plugins/check_resources/ensure_not_symlink_target_spec.rb
203
+ - spec/puppet-lint/plugins/check_resources/file_mode_spec.rb
204
+ - spec/puppet-lint/plugins/check_resources/unquoted_file_mode_spec.rb
205
+ - spec/puppet-lint/plugins/check_resources/unquoted_resource_title_spec.rb
206
+ - spec/puppet-lint/plugins/check_strings/double_quoted_strings_spec.rb
207
+ - spec/puppet-lint/plugins/check_strings/only_variable_string_spec.rb
208
+ - spec/puppet-lint/plugins/check_strings/puppet_url_without_modules_spec.rb
209
+ - spec/puppet-lint/plugins/check_strings/quoted_booleans_spec.rb
210
+ - spec/puppet-lint/plugins/check_strings/single_quote_string_with_variables_spec.rb
211
+ - spec/puppet-lint/plugins/check_strings/variables_not_enclosed_spec.rb
212
+ - spec/puppet-lint/plugins/check_variables/variable_contains_dash_spec.rb
213
+ - spec/puppet-lint/plugins/check_variables/variable_is_lowercase_spec.rb
214
+ - spec/puppet-lint/plugins/check_whitespace/140chars_spec.rb
215
+ - spec/puppet-lint/plugins/check_whitespace/2sp_soft_tabs_spec.rb
216
+ - spec/puppet-lint/plugins/check_whitespace/80chars_spec.rb
217
+ - spec/puppet-lint/plugins/check_whitespace/arrow_alignment_spec.rb
218
+ - spec/puppet-lint/plugins/check_whitespace/hard_tabs_spec.rb
219
+ - spec/puppet-lint/plugins/check_whitespace/trailing_whitespace_spec.rb
220
+ - spec/puppet-lint_spec.rb
221
+ - spec/spec_helper.rb