puppet-lint-unquoted_string-check 2.0.0 → 2.2.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 +4 -4
- data/CHANGELOG.md +82 -0
- data/README.md +19 -4
- data/lib/puppet-lint-unquoted-string-check/version.rb +1 -1
- data/spec/spec_helper.rb +25 -2
- metadata +9 -23
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 90b133720a8d70d6127dfef7a5bbed671fe2a5fee5004e986c99094563849029
|
4
|
+
data.tar.gz: c0bed1bcebd9831348ea4c40b4b113b5a83da6e21d06d759bdabe8cff25dbc29
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 398b0a304a60bbd5def94f04e40ac1976ddd3a975a2c23d2c4dfe160cfdd7917371f3030f09c94a6838cbc3e66d9f81c4647d19ce8f313cd41f56ae93734a59f
|
7
|
+
data.tar.gz: 9e272a8e7425051ad58249f5cd4a26147c6d7cb5731d96456a481c28cccfe16406e7be9e63eceace5574aa466b5a4c7a88381d2fac204db3a58c9c8b1fa0e58c
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,82 @@
|
|
1
|
+
# Changelog
|
2
|
+
|
3
|
+
All notable changes to this project will be documented in this file.
|
4
|
+
|
5
|
+
## [2.2.0](https://github.com/voxpupuli/puppet-lint-unquoted_string-check/tree/2.2.0) (2022-11-29)
|
6
|
+
|
7
|
+
[Full Changelog](https://github.com/voxpupuli/puppet-lint-unquoted_string-check/compare/2.1.0...2.2.0)
|
8
|
+
|
9
|
+
**Implemented enhancements:**
|
10
|
+
|
11
|
+
- puppet-lint: Allow 3.x [\#19](https://github.com/voxpupuli/puppet-lint-unquoted_string-check/pull/19) ([bastelfreak](https://github.com/bastelfreak))
|
12
|
+
|
13
|
+
**Merged pull requests:**
|
14
|
+
|
15
|
+
- cleanup README/Gemfile/gemspec [\#16](https://github.com/voxpupuli/puppet-lint-unquoted_string-check/pull/16) ([bastelfreak](https://github.com/bastelfreak))
|
16
|
+
|
17
|
+
## [2.1.0](https://github.com/voxpupuli/puppet-lint-unquoted_string-check/tree/2.1.0) (2021-06-13)
|
18
|
+
|
19
|
+
[Full Changelog](https://github.com/voxpupuli/puppet-lint-unquoted_string-check/compare/2.0.0...2.1.0)
|
20
|
+
|
21
|
+
**Implemented enhancements:**
|
22
|
+
|
23
|
+
- Allow gem on Ruby 3 [\#13](https://github.com/voxpupuli/puppet-lint-unquoted_string-check/pull/13) ([bastelfreak](https://github.com/bastelfreak))
|
24
|
+
|
25
|
+
**Merged pull requests:**
|
26
|
+
|
27
|
+
- Convert to Github Actions [\#12](https://github.com/voxpupuli/puppet-lint-unquoted_string-check/pull/12) ([ekohl](https://github.com/ekohl))
|
28
|
+
|
29
|
+
## [2.0.0](https://github.com/voxpupuli/puppet-lint-unquoted_string-check/tree/2.0.0) (2020-03-25)
|
30
|
+
|
31
|
+
[Full Changelog](https://github.com/voxpupuli/puppet-lint-unquoted_string-check/compare/1.0.0...2.0.0)
|
32
|
+
|
33
|
+
**Breaking changes:**
|
34
|
+
|
35
|
+
- Only support Ruby ~\> 2.4 [\#10](https://github.com/voxpupuli/puppet-lint-unquoted_string-check/pull/10) ([ekohl](https://github.com/ekohl))
|
36
|
+
|
37
|
+
**Implemented enhancements:**
|
38
|
+
|
39
|
+
- Support namespaced data types in selectors [\#9](https://github.com/voxpupuli/puppet-lint-unquoted_string-check/pull/9) ([ekohl](https://github.com/ekohl))
|
40
|
+
|
41
|
+
## [1.0.0](https://github.com/voxpupuli/puppet-lint-unquoted_string-check/tree/1.0.0) (2019-09-22)
|
42
|
+
|
43
|
+
[Full Changelog](https://github.com/voxpupuli/puppet-lint-unquoted_string-check/compare/0.3.0...1.0.0)
|
44
|
+
|
45
|
+
**Merged pull requests:**
|
46
|
+
|
47
|
+
- Fix badges URL [\#7](https://github.com/voxpupuli/puppet-lint-unquoted_string-check/pull/7) ([smortex](https://github.com/smortex))
|
48
|
+
- Use types from puppet-lint [\#6](https://github.com/voxpupuli/puppet-lint-unquoted_string-check/pull/6) ([alexjfisher](https://github.com/alexjfisher))
|
49
|
+
- Fix hash assignation from selector [\#5](https://github.com/voxpupuli/puppet-lint-unquoted_string-check/pull/5) ([smortex](https://github.com/smortex))
|
50
|
+
|
51
|
+
## [0.3.0](https://github.com/voxpupuli/puppet-lint-unquoted_string-check/tree/0.3.0) (2016-06-22)
|
52
|
+
|
53
|
+
[Full Changelog](https://github.com/voxpupuli/puppet-lint-unquoted_string-check/compare/0.2.5...0.3.0)
|
54
|
+
|
55
|
+
**Closed issues:**
|
56
|
+
|
57
|
+
- Support type system in cases [\#1](https://github.com/voxpupuli/puppet-lint-unquoted_string-check/issues/1)
|
58
|
+
|
59
|
+
**Merged pull requests:**
|
60
|
+
|
61
|
+
- With the release of puppet-lint 2.0.0, support ~\>2.0 versions. [\#3](https://github.com/voxpupuli/puppet-lint-unquoted_string-check/pull/3) ([rnelson0](https://github.com/rnelson0))
|
62
|
+
- Ugly patch to support future parser's Puppet Types \(fixes \#1\) [\#2](https://github.com/voxpupuli/puppet-lint-unquoted_string-check/pull/2) ([mcanevet](https://github.com/mcanevet))
|
63
|
+
|
64
|
+
## [0.2.5](https://github.com/voxpupuli/puppet-lint-unquoted_string-check/tree/0.2.5) (2015-01-08)
|
65
|
+
|
66
|
+
[Full Changelog](https://github.com/voxpupuli/puppet-lint-unquoted_string-check/compare/0.2.4...0.2.5)
|
67
|
+
|
68
|
+
## [0.2.4](https://github.com/voxpupuli/puppet-lint-unquoted_string-check/tree/0.2.4) (2015-01-08)
|
69
|
+
|
70
|
+
[Full Changelog](https://github.com/voxpupuli/puppet-lint-unquoted_string-check/compare/0.2.3...0.2.4)
|
71
|
+
|
72
|
+
## [0.2.3](https://github.com/voxpupuli/puppet-lint-unquoted_string-check/tree/0.2.3) (2015-01-08)
|
73
|
+
|
74
|
+
[Full Changelog](https://github.com/voxpupuli/puppet-lint-unquoted_string-check/compare/0.2.2...0.2.3)
|
75
|
+
|
76
|
+
## [0.2.2](https://github.com/voxpupuli/puppet-lint-unquoted_string-check/tree/0.2.2) (2015-01-08)
|
77
|
+
|
78
|
+
[Full Changelog](https://github.com/voxpupuli/puppet-lint-unquoted_string-check/compare/27a52cfdc69f527b5e0c81b46727c45926f46622...0.2.2)
|
79
|
+
|
80
|
+
|
81
|
+
|
82
|
+
\* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*
|
data/README.md
CHANGED
@@ -1,10 +1,11 @@
|
|
1
1
|
puppet-lint-unquoted_string-check
|
2
2
|
=================================
|
3
3
|
|
4
|
-
[](https://github.com/voxpupuli/puppet-lint-unquoted_string-check/blob/master/LICENSE)
|
5
|
+
[](https://github.com/voxpupuli/puppet-lint-unquoted_string-check/actions/workflows/test.yml)
|
6
|
+
[](https://github.com/voxpupuli/puppet-lint-unquoted_string-check/actions/workflows/release.yml)
|
7
|
+
[](https://rubygems.org/gems/puppet-lint-unquoted_string-check)
|
8
|
+
[](https://rubygems.org/gems/puppet-lint-unquoted_string-check)
|
8
9
|
[](#transfer-notice)
|
9
10
|
|
10
11
|
A puppet-lint plugin to check that selectors and case statements cases are quoted.
|
@@ -109,3 +110,17 @@ The maintainer preferred that Puppet Community take ownership of the module for
|
|
109
110
|
Existing pull requests and issues were transferred over, please fork and continue to contribute here instead of Camptocamp.
|
110
111
|
|
111
112
|
Previously: https://github.com/camptocamp/puppet-lint-unquoted_string-check
|
113
|
+
|
114
|
+
## License
|
115
|
+
|
116
|
+
This gem is licensed under the Apache-2 license.
|
117
|
+
|
118
|
+
## Release information
|
119
|
+
|
120
|
+
To make a new release, please do:
|
121
|
+
* update the version in the gemspec file
|
122
|
+
* Install gems with `bundle install --with release --path .vendor`
|
123
|
+
* generate the changelog with `bundle exec rake changelog`
|
124
|
+
* Check if the new version matches the closed issues/PRs in the changelog
|
125
|
+
* Create a PR with it
|
126
|
+
* 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,5 +1,28 @@
|
|
1
|
-
|
2
|
-
|
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
|
3
26
|
|
4
27
|
require 'puppet-lint'
|
5
28
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: puppet-lint-unquoted_string-check
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.2.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: 2022-11-29 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: '2.1'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: '
|
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: '2.1'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: '
|
32
|
+
version: '4'
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: rspec
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -73,7 +73,7 @@ dependencies:
|
|
73
73
|
- !ruby/object:Gem::Version
|
74
74
|
version: '1.0'
|
75
75
|
- !ruby/object:Gem::Dependency
|
76
|
-
name:
|
76
|
+
name: simplecov
|
77
77
|
requirement: !ruby/object:Gem::Requirement
|
78
78
|
requirements:
|
79
79
|
- - ">="
|
@@ -86,20 +86,6 @@ dependencies:
|
|
86
86
|
- - ">="
|
87
87
|
- !ruby/object:Gem::Version
|
88
88
|
version: '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'
|
96
|
-
type: :development
|
97
|
-
prerelease: false
|
98
|
-
version_requirements: !ruby/object:Gem::Requirement
|
99
|
-
requirements:
|
100
|
-
- - "~>"
|
101
|
-
- !ruby/object:Gem::Version
|
102
|
-
version: '0.7'
|
103
89
|
- !ruby/object:Gem::Dependency
|
104
90
|
name: rake
|
105
91
|
requirement: !ruby/object:Gem::Requirement
|
@@ -121,6 +107,7 @@ executables: []
|
|
121
107
|
extensions: []
|
122
108
|
extra_rdoc_files: []
|
123
109
|
files:
|
110
|
+
- CHANGELOG.md
|
124
111
|
- LICENSE
|
125
112
|
- README.md
|
126
113
|
- lib/puppet-lint-unquoted-string-check/version.rb
|
@@ -138,7 +125,7 @@ require_paths:
|
|
138
125
|
- lib
|
139
126
|
required_ruby_version: !ruby/object:Gem::Requirement
|
140
127
|
requirements:
|
141
|
-
- - "
|
128
|
+
- - ">="
|
142
129
|
- !ruby/object:Gem::Version
|
143
130
|
version: '2.4'
|
144
131
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
@@ -147,13 +134,12 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
147
134
|
- !ruby/object:Gem::Version
|
148
135
|
version: '0'
|
149
136
|
requirements: []
|
150
|
-
|
151
|
-
rubygems_version: 2.7.7
|
137
|
+
rubygems_version: 3.2.33
|
152
138
|
signing_key:
|
153
139
|
specification_version: 4
|
154
140
|
summary: A puppet-lint plugin to check that selectors and case statements cases are
|
155
141
|
quoted.
|
156
142
|
test_files:
|
157
|
-
- spec/spec_helper.rb
|
158
143
|
- spec/puppet-lint/plugins/check_unquoted_string_in_case/check_unquoted_string_in_case_spec.rb
|
159
144
|
- spec/puppet-lint/plugins/check_unquoted_string_in_case/check_unquoted_string_in_selector_spec.rb
|
145
|
+
- spec/spec_helper.rb
|