puppet-lint-anchor-check 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/README.md +22 -5
- metadata +18 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 3cb1255de1dab5d83e695705f38cc568a59af8fb4939d38a325d6866cac4f5e5
|
4
|
+
data.tar.gz: 5359ecda5813ef437afedb74801aeee1eaa49980ff3bda7c0d8705121ebc0051
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0b0788d470cbaa5a0247f3cb972c94afc22d0c99bbad32a5de64761143895d2e071f66e6d30984699b95c932d9635876379186a0a398a636c3581f3ca42e8f0e
|
7
|
+
data.tar.gz: fa3c5eca6cba0d69672bf77d54d975cdf556717ac36fd74fe7148a7ba2fc851be5bec2dd3b123dce1a0d86eda619e1551209c670900e5295680edebb1c42dd12
|
data/README.md
CHANGED
@@ -1,6 +1,13 @@
|
|
1
1
|
puppet-lint-anchor-check
|
2
2
|
========================
|
3
3
|
|
4
|
+
[![License](https://img.shields.io/github/license/voxpupuli/puppet-lint-anchor-check.svg)](https://github.com/voxpupuli/puppet-lint-anchor-check/blob/master/LICENSE)
|
5
|
+
[![Test](https://github.com/voxpupuli/puppet-lint-anchor-check/actions/workflows/test.yml/badge.svg)](https://github.com/voxpupuli/puppet-lint-anchor-check/actions/workflows/test.yml)
|
6
|
+
[![Release](https://github.com/voxpupuli/puppet-lint-anchor-check/actions/workflows/release.yml/badge.svg)](https://github.com/voxpupuli/puppet-lint-anchor-check/actions/workflows/release.yml)
|
7
|
+
[![RubyGem Version](https://img.shields.io/gem/v/puppet-lint-anchor-check.svg)](https://rubygems.org/gems/puppet-lint-anchor-check)
|
8
|
+
[![RubyGem Downloads](https://img.shields.io/gem/dt/puppet-lint-anchor-check.svg)](https://rubygems.org/gems/puppet-lint-anchor-check)
|
9
|
+
[![Donated by Alexander Fisher](https://img.shields.io/badge/donated%20by-Alexander%20Fisher-fb7047.svg)](#copyright)
|
10
|
+
|
4
11
|
A puppet-lint plugin to check that `anchor` resources are unused.
|
5
12
|
|
6
13
|
## Installing
|
@@ -27,15 +34,15 @@ The anchor pattern should be replaced with the `contain` function.
|
|
27
34
|
|
28
35
|
```puppet
|
29
36
|
anchor { 'foo::begin': }
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
37
|
+
-> class { 'foo::install': }
|
38
|
+
-> class { 'foo::config': }
|
39
|
+
~> class { 'foo::service': }
|
40
|
+
-> anchor { 'foo::end': }
|
34
41
|
```
|
35
42
|
|
36
43
|
#### What you should have done
|
37
44
|
|
38
|
-
```
|
45
|
+
```puppet
|
39
46
|
contain 'foo::install'
|
40
47
|
contain 'foo::config'
|
41
48
|
contain 'foo::service'
|
@@ -60,3 +67,13 @@ distributed under the License is distributed on an "AS IS" BASIS,
|
|
60
67
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
61
68
|
See the License for the specific language governing permissions and
|
62
69
|
limitations under the License.
|
70
|
+
|
71
|
+
## Release information
|
72
|
+
|
73
|
+
To make a new release, please do:
|
74
|
+
* update the version in the gemspec file
|
75
|
+
* Install gems with `bundle install --with release --path .vendor`
|
76
|
+
* generate the changelog with `bundle exec rake changelog`
|
77
|
+
* Check if the new version matches the closed issues/PRs in the changelog
|
78
|
+
* Create a PR with it
|
79
|
+
* After it got merged, push a tag. GitHub actions will do the actual release to rubygems and GitHub Packages
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: puppet-lint-anchor-check
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vox Pupuli
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-06-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: puppet-lint
|
@@ -86,8 +86,21 @@ dependencies:
|
|
86
86
|
- - ">="
|
87
87
|
- !ruby/object:Gem::Version
|
88
88
|
version: '0'
|
89
|
-
|
90
|
-
|
89
|
+
- !ruby/object:Gem::Dependency
|
90
|
+
name: coveralls
|
91
|
+
requirement: !ruby/object:Gem::Requirement
|
92
|
+
requirements:
|
93
|
+
- - ">="
|
94
|
+
- !ruby/object:Gem::Version
|
95
|
+
version: '0'
|
96
|
+
type: :development
|
97
|
+
prerelease: false
|
98
|
+
version_requirements: !ruby/object:Gem::Requirement
|
99
|
+
requirements:
|
100
|
+
- - ">="
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: '0'
|
103
|
+
description: " A check for puppet-lint that validates no anchor resources are used\n"
|
91
104
|
email: voxpupuli@groups.io
|
92
105
|
executables: []
|
93
106
|
extensions: []
|
@@ -117,8 +130,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
117
130
|
- !ruby/object:Gem::Version
|
118
131
|
version: '0'
|
119
132
|
requirements: []
|
120
|
-
|
121
|
-
rubygems_version: 2.6.13
|
133
|
+
rubygems_version: 3.2.15
|
122
134
|
signing_key:
|
123
135
|
specification_version: 4
|
124
136
|
summary: puppet-lint check to validate legacy anchor pattern is not used
|