puppet-lint-duplicate_class_parameters-check 1.0.1 → 1.0.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 +4 -4
- data/README.md +9 -4
- metadata +10 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c957e34dc505b3bc658eb11ae4f7c08eb4e0d63f
|
|
4
|
+
data.tar.gz: a2a18dbacc630089763fa09b9cfa2bc0e1027019
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bbc3321554f570e66889fff30b23768aafce2e92df1f0e1a684be637c97b0315a04c0023853c8149bdb791b85ee355d18f5b5154b6dc0a2ae74c66f76cd5bac8
|
|
7
|
+
data.tar.gz: 0face3b01d8779c40922b054bc8848be290cedb58d0ae1821f0b3e66ab8ce8bda85f0170fae9644ac33005d6807dace00a9a1fdd66f488df6fc2889fabc12435
|
data/README.md
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
# puppet-lint duplicate_class_parameters check
|
|
1
|
+
# puppet-lint duplicate_class_parameters check
|
|
2
2
|
|
|
3
3
|
A puppet-lint extension that ensures class parameter names are unique.
|
|
4
4
|
|
|
5
5
|
[](https://travis-ci.org/deanwilson/puppet-lint_duplicate_class_parameters-check)
|
|
6
6
|
|
|
7
7
|
Until Puppet 3.8.5 it was possible to have the same parameter name specified
|
|
8
|
-
multiple times in a class definition without error. This could cause
|
|
8
|
+
multiple times in a class definition without error. This could cause
|
|
9
9
|
confusion as only the last value for that name was taken and it was decided in
|
|
10
10
|
[No error on duplicate parameters on classes and resources](https://tickets.puppetlabs.com/browse/PUP-5590)
|
|
11
11
|
that this behaviour should change and now return an error. This `puppet-lint`
|
|
@@ -32,7 +32,7 @@ With this extension installed `puppet-lint` will return
|
|
|
32
32
|
|
|
33
33
|
found duplicate parameter 'duplicated' in class 'file_resource'
|
|
34
34
|
|
|
35
|
-
## Installation
|
|
35
|
+
## Installation
|
|
36
36
|
|
|
37
37
|
To use this plugin add the following line to your Gemfile
|
|
38
38
|
|
|
@@ -40,5 +40,10 @@ To use this plugin add the following line to your Gemfile
|
|
|
40
40
|
|
|
41
41
|
and then run `bundle install`
|
|
42
42
|
|
|
43
|
-
|
|
43
|
+
## Other puppet-lint plugins
|
|
44
|
+
|
|
45
|
+
You can find a list of my `puppet-lint` plugins in the
|
|
46
|
+
[unixdaemon puppet-lint-plugins](https://github.com/deanwilson/unixdaemon-puppet-lint-plugins) repo.
|
|
47
|
+
|
|
48
|
+
### Author
|
|
44
49
|
[Dean Wilson](http://www.unixdaemon.net)
|
metadata
CHANGED
|
@@ -1,29 +1,35 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: puppet-lint-duplicate_class_parameters-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
|
- Dean Wilson
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-
|
|
11
|
+
date: 2016-08-21 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: puppet-lint
|
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
|
16
16
|
requirements:
|
|
17
|
-
- - "
|
|
17
|
+
- - ">="
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
19
|
version: '1.1'
|
|
20
|
+
- - "<"
|
|
21
|
+
- !ruby/object:Gem::Version
|
|
22
|
+
version: '3.0'
|
|
20
23
|
type: :runtime
|
|
21
24
|
prerelease: false
|
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
26
|
requirements:
|
|
24
|
-
- - "
|
|
27
|
+
- - ">="
|
|
25
28
|
- !ruby/object:Gem::Version
|
|
26
29
|
version: '1.1'
|
|
30
|
+
- - "<"
|
|
31
|
+
- !ruby/object:Gem::Version
|
|
32
|
+
version: '3.0'
|
|
27
33
|
- !ruby/object:Gem::Dependency
|
|
28
34
|
name: rspec
|
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|