puppet-lint-unquoted_string-check 2.1.0 → 2.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5056a8e636e2dd9390aa92ac9c848135ad6a978032a18109eba4bf2719acafcb
4
- data.tar.gz: f4ce77685a8b3d9048ad2fc40e9cf7e4fd3b6e6352dca6a72b1167592d361565
3
+ metadata.gz: 90b133720a8d70d6127dfef7a5bbed671fe2a5fee5004e986c99094563849029
4
+ data.tar.gz: c0bed1bcebd9831348ea4c40b4b113b5a83da6e21d06d759bdabe8cff25dbc29
5
5
  SHA512:
6
- metadata.gz: 3bf2d5f7e2ac07bba5af7e803d07b898a8447710e07b2d531e99601e9408c855aec59f71717642394f05010549149f9b3793823701236934fcbe351e1c279173
7
- data.tar.gz: 72ac10a4a2b8af40eafe634b0fac963140e57558c4e2423b9855134da4a1298b53b007635178647c739672e17770b1fa123df926396d704db50ac1909d27d474
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
@@ -2,8 +2,9 @@ puppet-lint-unquoted_string-check
2
2
  =================================
3
3
 
4
4
  [![License](https://img.shields.io/github/license/voxpupuli/puppet-lint-unquoted_string-check.svg)](https://github.com/voxpupuli/puppet-lint-unquoted_string-check/blob/master/LICENSE)
5
- [![Test](https://github.com/voxpupuli/puppet-lint-param-docs/actions/workflows/test.yml/badge.svg)](https://github.com/voxpupuli/puppet-lint-param-docs/actions/workflows/test.yml)
6
- [![Gem Version](https://img.shields.io/gem/v/puppet-lint-unquoted_string-check.svg)](https://rubygems.org/gems/puppet-lint-unquoted_string-check)
5
+ [![Test](https://github.com/voxpupuli/puppet-lint-unquoted_string-check/actions/workflows/test.yml/badge.svg)](https://github.com/voxpupuli/puppet-lint-unquoted_string-check/actions/workflows/test.yml)
6
+ [![Release](https://github.com/voxpupuli/puppet-lint-unquoted_string-check/actions/workflows/release.yml/badge.svg)](https://github.com/voxpupuli/puppet-lint-unquoted_string-check/actions/workflows/release.yml)
7
+ [![RubyGem Version](https://img.shields.io/gem/v/puppet-lint-unquoted_string-check.svg)](https://rubygems.org/gems/puppet-lint-unquoted_string-check)
7
8
  [![RubyGem Downloads](https://img.shields.io/gem/dt/puppet-lint-unquoted_string-check.svg)](https://rubygems.org/gems/puppet-lint-unquoted_string-check)
8
9
  [![Donated by Camptocamp](https://img.shields.io/badge/donated%20by-camptocamp-fb7047.svg)](#transfer-notice)
9
10
 
@@ -117,8 +118,9 @@ This gem is licensed under the Apache-2 license.
117
118
  ## Release information
118
119
 
119
120
  To make a new release, please do:
120
- * Update the version in the `puppet-lint-absolute_classname-check.gemspec` file
121
+ * update the version in the gemspec file
121
122
  * Install gems with `bundle install --with release --path .vendor`
122
123
  * generate the changelog with `bundle exec rake changelog`
124
+ * Check if the new version matches the closed issues/PRs in the changelog
123
125
  * Create a PR with it
124
- * After it got merged, push a tag. Travis will do the actual release
126
+ * After it got merged, push a tag. GitHub actions will do the actual release to rubygems and GitHub Packages
@@ -1,4 +1,4 @@
1
1
  class PuppetLintUnquotedStringCheck
2
- VERSION = '2.1.0'.freeze
2
+ VERSION = '2.2.0'.freeze
3
3
  end
4
4
 
data/spec/spec_helper.rb CHANGED
@@ -1,5 +1,28 @@
1
- require 'coveralls'
2
- 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
+ ]
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.1.0
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: 2021-06-14 00:00:00.000000000 Z
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: '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: '2.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
@@ -73,7 +73,7 @@ dependencies:
73
73
  - !ruby/object:Gem::Version
74
74
  version: '1.0'
75
75
  - !ruby/object:Gem::Dependency
76
- name: github_changelog_generator
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
@@ -147,12 +134,12 @@ required_rubygems_version: !ruby/object:Gem::Requirement
147
134
  - !ruby/object:Gem::Version
148
135
  version: '0'
149
136
  requirements: []
150
- rubygems_version: 3.1.6
137
+ rubygems_version: 3.2.33
151
138
  signing_key:
152
139
  specification_version: 4
153
140
  summary: A puppet-lint plugin to check that selectors and case statements cases are
154
141
  quoted.
155
142
  test_files:
156
- - spec/spec_helper.rb
157
143
  - spec/puppet-lint/plugins/check_unquoted_string_in_case/check_unquoted_string_in_case_spec.rb
158
144
  - spec/puppet-lint/plugins/check_unquoted_string_in_case/check_unquoted_string_in_selector_spec.rb
145
+ - spec/spec_helper.rb