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.
Files changed (3) hide show
  1. checksums.yaml +5 -5
  2. data/README.md +22 -5
  3. metadata +18 -6
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 973065a6dc4e56d783261252389437062b6ae9b4
4
- data.tar.gz: 3c16f68ccec57d362b5a453f10f72e4812b2f4f6
2
+ SHA256:
3
+ metadata.gz: 3cb1255de1dab5d83e695705f38cc568a59af8fb4939d38a325d6866cac4f5e5
4
+ data.tar.gz: 5359ecda5813ef437afedb74801aeee1eaa49980ff3bda7c0d8705121ebc0051
5
5
  SHA512:
6
- metadata.gz: 9c40abf769c153dfba97a31955dd3d6e21323866de3c4b610042e366b20970e9f590f8a60f278c25342f33717ed855dfb3efcdd0820eedf123d11adb0e42af0a
7
- data.tar.gz: 0d29caa0dd3a967a507a3223bf87321b6a7b9e89726b813b8c4a9a108e0e71e867747d46bb4e2a83108780350429c5b89f0c80431a50ae4b8e95b9918f22528b
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
- -> class { 'foo::install': }
31
- -> class { 'foo::config': }
32
- ~> class { 'foo::service': }
33
- -> anchor { 'foo::end': }
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.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: 2017-09-07 00:00:00.000000000 Z
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
- description: |2
90
- A check for puppet-lint that validates no anchor resources are used
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
- rubyforge_project:
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