puppet-lint-classes_and_types_beginning_with_digits-check 0.1.2 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +5 -13
  2. data/README.md +28 -5
  3. data/spec/spec_helper.rb +24 -3
  4. metadata +32 -49
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- ZTcxN2E3YmM1Y2YxMWMwNjFjOWZhNzQ1ZThlYjc2NTU2ZTBjMzhkNw==
5
- data.tar.gz: !binary |-
6
- NTU5NjIzODhlYjMxZjM5MGU3ZDc5NTE0ZmJlYmI2Y2EwYWY4MDhhYQ==
2
+ SHA256:
3
+ metadata.gz: 4768bcc7169ff1b9100cc9c97f3e8095753809a715fa797b753f78ed9c288352
4
+ data.tar.gz: 4c85402f0b76dec1b459a739549f6a27830c6471d33b2abfc535aedc7fb1235d
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- YzJhMWQ0Mjc2OTZlYmRmNWQ4N2ZhOTdlNjM5ZjhmODYzYjc4NWIzZWQzYjRh
10
- YjYwNjBhZmZjZDRkZDc4ZmRlYTIyN2MxZTdkYmRlMTBkNDQ1ZjE1MTVlZWU4
11
- MzMxYWE1NGE5ZGI1YzRkYzI1MThlOTFkNTk5OWZmZmFhM2ZjZmM=
12
- data.tar.gz: !binary |-
13
- YTViNWIxNmJiMzcwYzYyNjk5YjcwNTRiODA4Yjk5OTQzYjQ1ZTdiYWFiMTIy
14
- NTE0ZWEyOTY1M2Y1NjVkNTU5Y2NjZDhkMDMyNDI5M2JmMWJlNTJiYWRlZTA3
15
- Y2FmZGM4NDQ5OGMzYWY0NjIxNTllMWZjNzkxODQ1MTFkMDM1Mzc=
6
+ metadata.gz: ca4fb45db04bc8df22eadf35256c324b369b002e5b18cf348ae4fa4defb68eb52ce159c3f95a378d98ce89aa1ea1da832cbb0713a26396eeaf73c1bac320c14c
7
+ data.tar.gz: ce846fbbaf7e9162769df57c77ed4a1cf50666380eb495fe90c25a6c957145ee0cdb5e112d89a6a30fdc6ebc48e8546d68efa2fd38d10a792cce02bd83e2979c
data/README.md CHANGED
@@ -1,14 +1,18 @@
1
1
  puppet-lint-classes_and_types_beginning_with_digits-check
2
2
  ===============================
3
3
 
4
- [![Build Status](https://img.shields.io/travis/puppet-community/puppet-lint-classes_and_types_beginning_with_digits-check.svg)](https://travis-ci.org/puppet-community/puppet-lint-classes_and_types_beginning_with_digits-check)
5
- [![Gem Version](https://img.shields.io/gem/v/puppet-lint-classes_and_types_beginning_with_digits--check.svg)](https://rubygems.org/gems/puppet-lint-classes_and_types_beginning_with_digits--check)
6
- [![Gem Downloads](https://img.shields.io/gem/dt/puppet-lint-classes_and_types_beginning_with_digits--check.svg)](https://rubygems.org/gems/puppet-lint-classes_and_types_beginning_with_digits--check)
7
- [![Coverage Status](https://img.shields.io/coveralls/puppet-community/puppet-lint-classes_and_types_beginning_with_digits-check.svg)](https://coveralls.io/r/puppet-community/puppet-lint-classes_and_types_beginning_with_digits-check?branch=master)
8
- [![Gemnasium](https://img.shields.io/gemnasium/puppet-community/puppet-lint-classes_and_types_beginning_with_digits-check.svg)](https://gemnasium.com/puppet-community/puppet-lint-classes_and_types_beginning_with_digits-check)
4
+ [![License](https://img.shields.io/github/license/voxpupuli/puppet-lint-classes_and_types_beginning_with_digits-check.svg)](https://github.com/voxpupuli/puppet-lint-classes_and_types_beginning_with_digits-check/blob/master/LICENSE)
5
+ [![codecov](https://codecov.io/gh/voxpupuli/puppet-lint-classes_and_types_beginning_with_digits-check/branch/master/graph/badge.svg)](https://codecov.io/gh/voxpupuli/puppet-lint-classes_and_types_beginning_with_digits-check)
6
+ [![Test](https://github.com/voxpupuli/puppet-lint-classes_and_types_beginning_with_digits-check/actions/workflows/test.yml/badge.svg)](https://github.com/voxpupuli/puppet-lint-classes_and_types_beginning_with_digits-check/actions/workflows/test.yml)
7
+ [![Release](https://github.com/voxpupuli/puppet-lint-classes_and_types_beginning_with_digits-check/actions/workflows/release.yml/badge.svg)](https://github.com/voxpupuli/puppet-lint-classes_and_types_beginning_with_digits-check/actions/workflows/release.yml)
8
+ [![RubyGem Version](https://img.shields.io/gem/v/puppet-lint-classes_and_types_beginning_with_digits-check.svg)](https://rubygems.org/gems/puppet-lint-classes_and_types_beginning_with_digits-check)
9
+ [![RubyGem Downloads](https://img.shields.io/gem/dt/puppet-lint-classes_and_types_beginning_with_digits-check.svg)](https://rubygems.org/gems/puppet-lint-classes_and_types_beginning_with_digits-check)
10
+ [![Donated by Puppet Inc](https://img.shields.io/badge/donated%20by-Puppet%20Inc-fb7047.svg)](#transfer-notice)
9
11
 
10
12
  A puppet-lint plugin to check for types and class names that begin with digits.
11
13
 
14
+ *This repository is archived, because the plugin is obsolete since Puppet 4. A Puppet compile check should give the same error. The v1.0.0 release is the last one*
15
+
12
16
  ## Installing
13
17
 
14
18
  ### From the command line
@@ -57,3 +61,22 @@ Alternatively, if you’re calling puppet-lint via the Rake task, you should ins
57
61
  PuppetLint.configuration.send('classes_and_types_beginning_with_digits')
58
62
  ```
59
63
 
64
+ ## Transfer Notice
65
+
66
+ This plugin was originally authored by [Puppet Inc](http://puppet.com).
67
+ The maintainer preferred that Puppet Community take ownership of the module for future improvement and maintenance.
68
+ Existing pull requests and issues were transferred over, please fork and continue to contribute here instead of Puppet Inc.
69
+
70
+ ## License
71
+
72
+ This gem is licensed under the Apache-2 license.
73
+
74
+ ## Release information
75
+
76
+ To make a new release, please do:
77
+ * update the version in the gemspec file
78
+ * Install gems with `bundle install --with release --path .vendor`
79
+ * generate the changelog with `bundle exec rake changelog`
80
+ * Check if the new version matches the closed issues/PRs in the changelog
81
+ * Create a PR with it
82
+ * 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,6 +1,27 @@
1
- unless RUBY_VERSION =~ /^1\.8/
2
- require 'coveralls'
3
- Coveralls.wear!
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
+ ]
4
25
  end
5
26
 
6
27
  require 'puppet-lint'
metadata CHANGED
@@ -1,152 +1,136 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: puppet-lint-classes_and_types_beginning_with_digits-check
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
- - Puppet Community
7
+ - Vox Pupuli
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-06-22 00:00:00.000000000 Z
11
+ date: 2021-11-18 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.0'
20
- - - <
20
+ - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: '3.0'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
- - - ! '>='
27
+ - - ">="
28
28
  - !ruby/object:Gem::Version
29
29
  version: '1.0'
30
- - - <
30
+ - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: '3.0'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: rspec
35
35
  requirement: !ruby/object:Gem::Requirement
36
36
  requirements:
37
- - - ~>
37
+ - - "~>"
38
38
  - !ruby/object:Gem::Version
39
39
  version: '3.0'
40
40
  type: :development
41
41
  prerelease: false
42
42
  version_requirements: !ruby/object:Gem::Requirement
43
43
  requirements:
44
- - - ~>
44
+ - - "~>"
45
45
  - !ruby/object:Gem::Version
46
46
  version: '3.0'
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: rspec-its
49
49
  requirement: !ruby/object:Gem::Requirement
50
50
  requirements:
51
- - - ~>
51
+ - - "~>"
52
52
  - !ruby/object:Gem::Version
53
53
  version: '1.0'
54
54
  type: :development
55
55
  prerelease: false
56
56
  version_requirements: !ruby/object:Gem::Requirement
57
57
  requirements:
58
- - - ~>
58
+ - - "~>"
59
59
  - !ruby/object:Gem::Version
60
60
  version: '1.0'
61
61
  - !ruby/object:Gem::Dependency
62
62
  name: rspec-collection_matchers
63
63
  requirement: !ruby/object:Gem::Requirement
64
64
  requirements:
65
- - - ~>
65
+ - - "~>"
66
66
  - !ruby/object:Gem::Version
67
67
  version: '1.0'
68
68
  type: :development
69
69
  prerelease: false
70
70
  version_requirements: !ruby/object:Gem::Requirement
71
71
  requirements:
72
- - - ~>
72
+ - - "~>"
73
73
  - !ruby/object:Gem::Version
74
74
  version: '1.0'
75
75
  - !ruby/object:Gem::Dependency
76
76
  name: mime-types
77
77
  requirement: !ruby/object:Gem::Requirement
78
78
  requirements:
79
- - - ~>
79
+ - - ">="
80
80
  - !ruby/object:Gem::Version
81
- version: '1.0'
82
- type: :development
83
- prerelease: false
84
- version_requirements: !ruby/object:Gem::Requirement
85
- requirements:
86
- - - ~>
87
- - !ruby/object:Gem::Version
88
- version: '1.0'
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.7'
81
+ version: '0'
96
82
  type: :development
97
83
  prerelease: false
98
84
  version_requirements: !ruby/object:Gem::Requirement
99
85
  requirements:
100
- - - ~>
86
+ - - ">="
101
87
  - !ruby/object:Gem::Version
102
- version: '0.7'
88
+ version: '0'
103
89
  - !ruby/object:Gem::Dependency
104
90
  name: rake
105
91
  requirement: !ruby/object:Gem::Requirement
106
92
  requirements:
107
- - - ! '>='
93
+ - - ">="
108
94
  - !ruby/object:Gem::Version
109
95
  version: '0'
110
96
  type: :development
111
97
  prerelease: false
112
98
  version_requirements: !ruby/object:Gem::Requirement
113
99
  requirements:
114
- - - ! '>='
100
+ - - ">="
115
101
  - !ruby/object:Gem::Version
116
102
  version: '0'
117
103
  - !ruby/object:Gem::Dependency
118
- name: pry
104
+ name: simplecov-console
119
105
  requirement: !ruby/object:Gem::Requirement
120
106
  requirements:
121
- - - ! '>='
107
+ - - ">="
122
108
  - !ruby/object:Gem::Version
123
109
  version: '0'
124
110
  type: :development
125
111
  prerelease: false
126
112
  version_requirements: !ruby/object:Gem::Requirement
127
113
  requirements:
128
- - - ! '>='
114
+ - - ">="
129
115
  - !ruby/object:Gem::Version
130
116
  version: '0'
131
117
  - !ruby/object:Gem::Dependency
132
- name: pry-nav
118
+ name: codecov
133
119
  requirement: !ruby/object:Gem::Requirement
134
120
  requirements:
135
- - - ! '>='
121
+ - - ">="
136
122
  - !ruby/object:Gem::Version
137
123
  version: '0'
138
124
  type: :development
139
125
  prerelease: false
140
126
  version_requirements: !ruby/object:Gem::Requirement
141
127
  requirements:
142
- - - ! '>='
128
+ - - ">="
143
129
  - !ruby/object:Gem::Version
144
130
  version: '0'
145
- description: ! ' A puppet-lint plugin to check for classes and defined types that
146
- contain names beginning with a digit.
147
-
148
- '
149
- email: gary@puppetlabs.com
131
+ description: " A puppet-lint plugin to check for classes and defined types that
132
+ contain names beginning with a digit.\n"
133
+ email: voxpupuli@groups.io
150
134
  executables: []
151
135
  extensions: []
152
136
  extra_rdoc_files: []
@@ -156,7 +140,7 @@ files:
156
140
  - lib/puppet-lint/plugins/classes_and_types_beginning_with_digits.rb
157
141
  - spec/puppet-lint/plugins/classes_and_types_beginning_with_digits/classes_and_types_beginning_with_digits_spec.rb
158
142
  - spec/spec_helper.rb
159
- homepage: https://github.com/puppet-community/puppet-lint-classes_and_types_beginning_with_digits-check
143
+ homepage: https://github.com/voxpupuli/puppet-lint-classes_and_types_beginning_with_digits-check
160
144
  licenses:
161
145
  - Apache-2.0
162
146
  metadata: {}
@@ -166,17 +150,16 @@ require_paths:
166
150
  - lib
167
151
  required_ruby_version: !ruby/object:Gem::Requirement
168
152
  requirements:
169
- - - ! '>='
153
+ - - ">="
170
154
  - !ruby/object:Gem::Version
171
155
  version: '0'
172
156
  required_rubygems_version: !ruby/object:Gem::Requirement
173
157
  requirements:
174
- - - ! '>='
158
+ - - ">="
175
159
  - !ruby/object:Gem::Version
176
160
  version: '0'
177
161
  requirements: []
178
- rubyforge_project:
179
- rubygems_version: 2.4.5
162
+ rubygems_version: 3.2.22
180
163
  signing_key:
181
164
  specification_version: 4
182
165
  summary: A puppet-lint plugin to check for classes and defined types that contain