puppet-syntax 3.2.0 → 3.3.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/.github/workflows/release.yml +1 -1
- data/.github/workflows/test.yml +3 -3
- data/CHANGELOG.md +20 -0
- data/lib/puppet-syntax/manifests.rb +1 -0
- data/lib/puppet-syntax/templates.rb +1 -1
- data/lib/puppet-syntax/version.rb +1 -1
- data/lib/puppet-syntax.rb +4 -4
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7ab13111ffaa03decb11bef1d05aada83ed94f63e3fe2d9b40413fe1c5a1072e
|
|
4
|
+
data.tar.gz: 29f88eb7f120c0aeb17ad95ab562edd936b7d63540d0c2f24c058c3f691e37ae
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ef76471a592b1ba5affe655b657c7b1d40f02cf65ad81fd384d3be489bbc810852622a8fcb28cba197d8cbf8f494215c803be261791a3d8ddbb0460949ab5b00
|
|
7
|
+
data.tar.gz: ea4f9da1b8ca9f16d96c639f22213193c1224900d6cbbc480c7063de7580edc1426b31f88b800b1ea1085b3a0fb5eaba58bd816cb73fc7f907f6c15f839d865f
|
|
@@ -29,4 +29,4 @@ jobs:
|
|
|
29
29
|
echo ":github: Bearer ${{ secrets.GITHUB_TOKEN }}" >> ~/.gem/credentials
|
|
30
30
|
chmod 0600 ~/.gem/credentials
|
|
31
31
|
- name: Publish gem to GitHub packages
|
|
32
|
-
run: gem push --key github --host https://rubygems.pkg.github.com
|
|
32
|
+
run: gem push --key github --host https://rubygems.pkg.github.com/${{ github.repository_owner }} *.gem
|
data/.github/workflows/test.yml
CHANGED
|
@@ -23,7 +23,7 @@ jobs:
|
|
|
23
23
|
- "2.4"
|
|
24
24
|
puppet:
|
|
25
25
|
- "~> 7.0"
|
|
26
|
-
- "~> 6.
|
|
26
|
+
- "~> 6.29"
|
|
27
27
|
- "~> 5.5.10"
|
|
28
28
|
- "https://github.com/puppetlabs/puppet.git#main"
|
|
29
29
|
exclude:
|
|
@@ -35,9 +35,9 @@ jobs:
|
|
|
35
35
|
puppet: "~> 7.0"
|
|
36
36
|
|
|
37
37
|
- ruby: "3.1"
|
|
38
|
-
puppet: "~> 6.
|
|
38
|
+
puppet: "~> 6.29"
|
|
39
39
|
- ruby: "3.0"
|
|
40
|
-
puppet: "~> 6.
|
|
40
|
+
puppet: "~> 6.29"
|
|
41
41
|
|
|
42
42
|
- ruby: "3.1"
|
|
43
43
|
puppet: "~> 5.5.10"
|
data/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,22 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
|
|
5
|
+
## [v3.3.0](https://github.com/voxpupuli/puppet-syntax/tree/v3.3.0) (2023-02-08)
|
|
6
|
+
|
|
7
|
+
[Full Changelog](https://github.com/voxpupuli/puppet-syntax/compare/v3.2.1...v3.3.0)
|
|
8
|
+
|
|
9
|
+
**Implemented enhancements:**
|
|
10
|
+
|
|
11
|
+
- Lazy load required classes [\#134](https://github.com/voxpupuli/puppet-syntax/pull/134) ([ekohl](https://github.com/ekohl))
|
|
12
|
+
|
|
13
|
+
**Merged pull requests:**
|
|
14
|
+
|
|
15
|
+
- Pull in Puppet 6.29 in CI [\#135](https://github.com/voxpupuli/puppet-syntax/pull/135) ([ekohl](https://github.com/ekohl))
|
|
16
|
+
|
|
17
|
+
## [v3.2.1](https://github.com/voxpupuli/puppet-syntax/tree/v3.2.1) (2022-05-16)
|
|
18
|
+
|
|
19
|
+
[Full Changelog](https://github.com/voxpupuli/puppet-syntax/compare/v3.2.0...v3.2.1)
|
|
20
|
+
|
|
5
21
|
## [v3.2.0](https://github.com/voxpupuli/puppet-syntax/tree/v3.2.0) (2022-05-16)
|
|
6
22
|
|
|
7
23
|
[Full Changelog](https://github.com/voxpupuli/puppet-syntax/compare/v3.1.0...v3.2.0)
|
|
@@ -11,6 +27,10 @@ All notable changes to this project will be documented in this file.
|
|
|
11
27
|
- Remove AppVeyor testing [\#94](https://github.com/voxpupuli/puppet-syntax/issues/94)
|
|
12
28
|
- Convert from Travis CI to GitHub Actions [\#130](https://github.com/voxpupuli/puppet-syntax/pull/130) ([ekohl](https://github.com/ekohl))
|
|
13
29
|
|
|
30
|
+
**Fixed bugs:**
|
|
31
|
+
|
|
32
|
+
- Add missing `$` in github action [\#132](https://github.com/voxpupuli/puppet-syntax/pull/132) ([bastelfreak](https://github.com/bastelfreak))
|
|
33
|
+
|
|
14
34
|
## [v3.1.0](https://github.com/voxpupuli/puppet-syntax/tree/v3.1.0) (2020-06-24)
|
|
15
35
|
|
|
16
36
|
[Full Changelog](https://github.com/voxpupuli/puppet-syntax/compare/v3.0.1...v3.1.0)
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
require 'erb'
|
|
2
|
-
require 'puppet'
|
|
3
2
|
require 'stringio'
|
|
4
3
|
|
|
5
4
|
module PuppetSyntax
|
|
@@ -30,6 +29,7 @@ module PuppetSyntax
|
|
|
30
29
|
end
|
|
31
30
|
|
|
32
31
|
def validate_epp(filename)
|
|
32
|
+
require 'puppet/error'
|
|
33
33
|
require 'puppet/pops'
|
|
34
34
|
result = { warnings: [], errors: [] }
|
|
35
35
|
formatter = Puppet::Pops::Validation::DiagnosticFormatterPuppetStyle.new
|
data/lib/puppet-syntax.rb
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
require "puppet-syntax/version"
|
|
2
|
-
require "puppet-syntax/manifests"
|
|
3
|
-
require "puppet-syntax/templates"
|
|
4
|
-
require "puppet-syntax/hiera"
|
|
5
|
-
require "puppet/version"
|
|
6
2
|
|
|
7
3
|
module PuppetSyntax
|
|
4
|
+
autoload :Hiera, 'puppet-syntax/hiera'
|
|
5
|
+
autoload :Manifests, 'puppet-syntax/manifests'
|
|
6
|
+
autoload :Templates, 'puppet-syntax/templates'
|
|
7
|
+
|
|
8
8
|
@exclude_paths = []
|
|
9
9
|
@hieradata_paths = [
|
|
10
10
|
"**/data/**/*.*{yaml,yml}",
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: puppet-syntax
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.
|
|
4
|
+
version: 3.3.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: 2023-02-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rake
|
|
@@ -143,7 +143,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
143
143
|
- !ruby/object:Gem::Version
|
|
144
144
|
version: '0'
|
|
145
145
|
requirements: []
|
|
146
|
-
rubygems_version: 3.3.
|
|
146
|
+
rubygems_version: 3.3.26
|
|
147
147
|
signing_key:
|
|
148
148
|
specification_version: 4
|
|
149
149
|
summary: Syntax checks for Puppet manifests, templates, and Hiera YAML
|