puppet-lint-empty_string-check 0.2.2 → 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.
- checksums.yaml +5 -13
- data/README.md +26 -5
- data/spec/spec_helper.rb +24 -3
- metadata +45 -34
checksums.yaml
CHANGED
@@ -1,15 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
5
|
-
data.tar.gz: !binary |-
|
6
|
-
YzY5YTNhNDg5Yzc1OGU0NmZiZTUxZThiYTI5ZmRlNWVkYmE1Yjc3Mw==
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 0b6ea3b9d3a07b161ccdc8e71c32aab86aaea3916c2c80511d0060d74276530b
|
4
|
+
data.tar.gz: e750edf2f5a863f838801878ac4551a8abe2564dc0d9fde3861f13ca6c26d399
|
7
5
|
SHA512:
|
8
|
-
metadata.gz:
|
9
|
-
|
10
|
-
ZTExNjM2MDI5OTEwNWM4M2NkNjFkNDA0ZDgxNzc1ODljNGFlM2M2ODk0N2E4
|
11
|
-
NDczZjQyY2VhODUyZjNhMTIzOTdiYmUxY2RkYzRlMjFmOGE4NjA=
|
12
|
-
data.tar.gz: !binary |-
|
13
|
-
MjZjODEwMDcyNThiYTc3MmZmODM2MWFjZTQ0ZWRmZDU5NDY1ZmVjZWJiYjEx
|
14
|
-
ZWZhNTUwNjczYWIzMjUxNTEzYTZkZWZmZDk1NDQyZTQ0ZjZlMTk5Y2ZhMzRj
|
15
|
-
ZWU1YzY0MGYzNDgxMTg2NTVmNDkxNmE0M2FjYmNiNmZjMDE3YzM=
|
6
|
+
metadata.gz: 5ee3b35f6c55b41106f47f5b0d8581174b6db1b1d989335669d3c5f02e57dc3e075c9ff951d0148e617a7a187666252de9d1a976e652c0439416356ee42f835d
|
7
|
+
data.tar.gz: f19e429cb6293a032834c261edf180c0107afd00ae20b8857bcc130dc4bac23b246edb419e70055ce0672c139c5c9eea73cb4cac37d28499ca59e78f7ed30626
|
data/README.md
CHANGED
@@ -1,15 +1,22 @@
|
|
1
1
|
puppet-lint-empty_string-check
|
2
2
|
===============================
|
3
3
|
|
4
|
-
[](https://github.com/voxpupuli/puppet-lint-empty_string-check/blob/master/LICENSE)
|
5
|
+
[](https://github.com/voxpupuli/puppet-lint-empty_string-check/actions/workflows/test.yml)
|
6
|
+
[](https://codecov.io/gh/voxpupuli/puppet-lint-empty_string-check)
|
7
|
+
[](https://github.com/voxpupuli/puppet-lint-empty_string-check/actions/workflows/release.yml)
|
8
|
+
[](https://rubygems.org/gems/puppet-lint-empty_string-check)
|
9
|
+
[](https://rubygems.org/gems/puppet-lint-empty_string-check)
|
9
10
|
[](#transfer-notice)
|
10
11
|
|
11
12
|
A puppet-lint plugin to check for variables assigned to the empty string.
|
12
13
|
|
14
|
+
This repository is archived. It was designed to verify that modules for Puppet
|
15
|
+
3 work on Puppet 4 as well. Vox Pupuli also maintains
|
16
|
+
[puppet-lint-params_empty_string-check](https://github.com/voxpupuli/puppet-lint-params_empty_string-check).
|
17
|
+
That puppet-lint plugin only checks for class parameters with a String datatype
|
18
|
+
and `''` as default value.
|
19
|
+
|
13
20
|
## Installing
|
14
21
|
|
15
22
|
### From the command line
|
@@ -67,3 +74,17 @@ The maintainer preferred that Puppet Community take ownership of the module for
|
|
67
74
|
Existing pull requests and issues were transferred over, please fork and continue to contribute here instead of Camptocamp.
|
68
75
|
|
69
76
|
Previously: https://github.com/camptocamp/puppet-lint-empty_string-check
|
77
|
+
|
78
|
+
## License
|
79
|
+
|
80
|
+
This gem is licensed under the Apache-2 license.
|
81
|
+
|
82
|
+
## Release information
|
83
|
+
|
84
|
+
To make a new release, please do:
|
85
|
+
* update the version in the gemspec file
|
86
|
+
* Install gems with `bundle install --with release --path .vendor`
|
87
|
+
* generate the changelog with `bundle exec rake changelog`
|
88
|
+
* Check if the new version matches the closed issues/PRs in the changelog
|
89
|
+
* Create a PR with it
|
90
|
+
* 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
|
-
|
2
|
-
|
3
|
-
|
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,124 +1,136 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: puppet-lint-empty_string-check
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0
|
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-11-02 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
|
+
- !ruby/object:Gem::Dependency
|
76
|
+
name: rspec-json_expectations
|
77
|
+
requirement: !ruby/object:Gem::Requirement
|
78
|
+
requirements:
|
79
|
+
- - ">="
|
80
|
+
- !ruby/object:Gem::Version
|
81
|
+
version: '0'
|
82
|
+
type: :development
|
83
|
+
prerelease: false
|
84
|
+
version_requirements: !ruby/object:Gem::Requirement
|
85
|
+
requirements:
|
86
|
+
- - ">="
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
version: '0'
|
75
89
|
- !ruby/object:Gem::Dependency
|
76
90
|
name: mime-types
|
77
91
|
requirement: !ruby/object:Gem::Requirement
|
78
92
|
requirements:
|
79
|
-
- -
|
93
|
+
- - ">="
|
80
94
|
- !ruby/object:Gem::Version
|
81
|
-
version: '
|
95
|
+
version: '0'
|
82
96
|
type: :development
|
83
97
|
prerelease: false
|
84
98
|
version_requirements: !ruby/object:Gem::Requirement
|
85
99
|
requirements:
|
86
|
-
- -
|
100
|
+
- - ">="
|
87
101
|
- !ruby/object:Gem::Version
|
88
|
-
version: '
|
102
|
+
version: '0'
|
89
103
|
- !ruby/object:Gem::Dependency
|
90
|
-
name:
|
104
|
+
name: simplecov
|
91
105
|
requirement: !ruby/object:Gem::Requirement
|
92
106
|
requirements:
|
93
|
-
- -
|
107
|
+
- - ">="
|
94
108
|
- !ruby/object:Gem::Version
|
95
|
-
version: '0
|
109
|
+
version: '0'
|
96
110
|
type: :development
|
97
111
|
prerelease: false
|
98
112
|
version_requirements: !ruby/object:Gem::Requirement
|
99
113
|
requirements:
|
100
|
-
- -
|
114
|
+
- - ">="
|
101
115
|
- !ruby/object:Gem::Version
|
102
|
-
version: '0
|
116
|
+
version: '0'
|
103
117
|
- !ruby/object:Gem::Dependency
|
104
118
|
name: rake
|
105
119
|
requirement: !ruby/object:Gem::Requirement
|
106
120
|
requirements:
|
107
|
-
- -
|
121
|
+
- - ">="
|
108
122
|
- !ruby/object:Gem::Version
|
109
123
|
version: '0'
|
110
124
|
type: :development
|
111
125
|
prerelease: false
|
112
126
|
version_requirements: !ruby/object:Gem::Requirement
|
113
127
|
requirements:
|
114
|
-
- -
|
128
|
+
- - ">="
|
115
129
|
- !ruby/object:Gem::Version
|
116
130
|
version: '0'
|
117
|
-
description:
|
118
|
-
string
|
119
|
-
|
120
|
-
'
|
121
|
-
email: raphael.pinson@camptocamp.com
|
131
|
+
description: " A puppet-lint plugin to check for variables assigned to the empty
|
132
|
+
string.\n"
|
133
|
+
email: voxpupuli@groups.io
|
122
134
|
executables: []
|
123
135
|
extensions: []
|
124
136
|
extra_rdoc_files: []
|
@@ -128,7 +140,7 @@ files:
|
|
128
140
|
- lib/puppet-lint/plugins/check_empty_string_assignment.rb
|
129
141
|
- spec/puppet-lint/plugins/check_empty_string_assignment/check_empty_string_assignment_spec.rb
|
130
142
|
- spec/spec_helper.rb
|
131
|
-
homepage: https://github.com/
|
143
|
+
homepage: https://github.com/voxpupuli/puppet-lint-empty_string-check
|
132
144
|
licenses:
|
133
145
|
- Apache-2.0
|
134
146
|
metadata: {}
|
@@ -138,17 +150,16 @@ require_paths:
|
|
138
150
|
- lib
|
139
151
|
required_ruby_version: !ruby/object:Gem::Requirement
|
140
152
|
requirements:
|
141
|
-
- -
|
153
|
+
- - ">="
|
142
154
|
- !ruby/object:Gem::Version
|
143
155
|
version: '0'
|
144
156
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
145
157
|
requirements:
|
146
|
-
- -
|
158
|
+
- - ">="
|
147
159
|
- !ruby/object:Gem::Version
|
148
160
|
version: '0'
|
149
161
|
requirements: []
|
150
|
-
|
151
|
-
rubygems_version: 2.4.5
|
162
|
+
rubygems_version: 3.2.22
|
152
163
|
signing_key:
|
153
164
|
specification_version: 4
|
154
165
|
summary: A puppet-lint plugin to check for variables assigned to the empty string.
|