puppet-lint-param-types 0.0.1 → 1.0.0

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.
Files changed (4) hide show
  1. checksums.yaml +5 -5
  2. data/README.md +30 -0
  3. data/spec/spec_helper.rb +26 -0
  4. metadata +9 -10
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 26acacc6412f383e06f34f5ccea0bbd06cb294ee
4
- data.tar.gz: 4623def5816195954c9fff6989a6e007567236be
2
+ SHA256:
3
+ metadata.gz: 22d550a0adabbfadc03b01e468b5762fd77903ea7f17c37de52eb6f7111b07ca
4
+ data.tar.gz: 2c0f023ab60e5c0ab41b729ea53f09178fe9842ed7b857870520a6150d166cb6
5
5
  SHA512:
6
- metadata.gz: 62175cae22a41add32ca935a00aaeb14017fabbe724843523559642620d9c8c361a3a60cc31b5ee773bb2bc44dd1dfa2a8a4be812f58c90357d27f72be02477c
7
- data.tar.gz: 7e789a73b47386476657605cae8e9d78da1bc5752f94b14986a4791b5f363a52cba36c2c149bf2fa5650920af8c3dfb44f735b14e0d9808d2571a0e36682ff6f
6
+ metadata.gz: 3aba31e51221cb2121e70d28b4a39273b65a75ea95743fc89b24344f5d62305015d962b53bffca83bb887f7b6fb7e48a522ed82b7d7b0dae0e0d94f872058b2c
7
+ data.tar.gz: 252fa81c7fb0aef694f430ef327f5a45222b0a3df12b0217cced4b7f3b0ac4b330b1df494d0477f825b2503e599a92e3bce1915eaeadb210778e2162c6267260
data/README.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # puppet-lint-param-types
2
2
 
3
+ [![License](https://img.shields.io/github/license/voxpupuli/puppet-lint-param-types.svg)](https://github.com/voxpupuli/puppet-lint-param-types/blob/master/LICENSE)
4
+ [![Test](https://github.com/voxpupuli/puppet-lint-param-types/actions/workflows/test.yml/badge.svg)](https://github.com/voxpupuli/puppet-lint-param-types/actions/workflows/test.yml)
5
+ [![Release](https://github.com/voxpupuli/puppet-lint-param-types/actions/workflows/release.yml/badge.svg)](https://github.com/voxpupuli/puppet-lint-param-types/actions/workflows/release.yml)
6
+ [![RubyGem Version](https://img.shields.io/gem/v/puppet-lint-param-types.svg)](https://rubygems.org/gems/puppet-lint-param-types)
7
+ [![RubyGem Downloads](https://img.shields.io/gem/dt/puppet-lint-param-types.svg)](https://rubygems.org/gems/puppet-lint-param-types)
8
+ [![Coverage Status](https://coveralls.io/repos/github/voxpupuli/puppet-lint-param-types/badge.svg?branch=master)](https://coveralls.io/github/voxpupuli/puppet-lint-param-types?branch=master)
9
+ [![Donated by Camptocamp](https://img.shields.io/badge/donated%20by-camptocamp-fb7047.svg)](#transfer-notice)
10
+
3
11
  This plugin validates that all class and defined type parameter are typed.
4
12
 
5
13
  ## Installation
@@ -53,3 +61,25 @@ class foo (
53
61
  ## References
54
62
 
55
63
  https://puppet.com/docs/puppet/latest/lang_data_type.html
64
+
65
+ ## Transfer Notice
66
+
67
+ This plugin was originally authored by [hostnet.nl](https://www.hostnet.nl/).
68
+ The maintainer preferred that Vox Pupuli take ownership of the gem for future improvement and maintenance.
69
+ Existing pull requests and issues were transferred over, please fork and continue to contribute here instead of hostnet.
70
+
71
+ Previously: https://github.com/hostnet/puppet-lint-param-types
72
+
73
+ ## License
74
+
75
+ This gem is licensed under the MIT license.
76
+
77
+ ## Release information
78
+
79
+ To make a new release, please do:
80
+ * update the version in the gemspec file
81
+ * Install gems with `bundle config --local path .vendor && bundle install --with release`
82
+ * generate the changelog with `bundle exec rake changelog`
83
+ * Check if the new version matches the closed issues/PRs in the changelog
84
+ * Create a PR with it
85
+ * After it got merged, push a tag. GitHub actions will do the actual release to rubygems and GitHub Packages
data/spec/spec_helper.rb CHANGED
@@ -1,3 +1,29 @@
1
+ # frozen_string_literal: true
2
+
3
+ begin
4
+ require 'simplecov'
5
+ require 'simplecov-console'
6
+ require 'codecov'
7
+ rescue LoadError
8
+ else
9
+ SimpleCov.start do
10
+ track_files 'lib/**/*.rb'
11
+
12
+ add_filter '/spec'
13
+
14
+ enable_coverage :branch
15
+
16
+ # do not track vendored files
17
+ add_filter '/vendor'
18
+ add_filter '/.vendor'
19
+ end
20
+
21
+ SimpleCov.formatters = [
22
+ SimpleCov::Formatter::Console,
23
+ SimpleCov::Formatter::Codecov,
24
+ ]
25
+ end
26
+
1
27
  require 'puppet-lint'
2
28
 
3
29
  PuppetLint::Plugins.load_spec_helper
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: puppet-lint-param-types
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
- - Hostnet
7
+ - Vox Pupuli
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-03-05 00:00:00.000000000 Z
11
+ date: 2023-02-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: puppet-lint
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '1.1'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: '3.0'
22
+ version: '4'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '1.1'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '3.0'
32
+ version: '4'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: rspec
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -86,9 +86,9 @@ dependencies:
86
86
  - - ">="
87
87
  - !ruby/object:Gem::Version
88
88
  version: '0'
89
- description: |2
90
- A new check for puppet-lint that validates that all parameters are typed.
91
- email: opensource@hostnet.nl
89
+ description: " A new check for puppet-lint that validates that all parameters are
90
+ typed.\n"
91
+ email: voxpupuli@groups.io
92
92
  executables: []
93
93
  extensions: []
94
94
  extra_rdoc_files: []
@@ -117,8 +117,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
117
117
  - !ruby/object:Gem::Version
118
118
  version: '0'
119
119
  requirements: []
120
- rubyforge_project:
121
- rubygems_version: 2.2.5
120
+ rubygems_version: 3.2.33
122
121
  signing_key:
123
122
  specification_version: 4
124
123
  summary: puppet-lint check that validates that all parameters are typed