puppet-syntax 3.2.0 → 3.3.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: a2d390b306423921b0dd89e24373f6e59ae0235777324e478194d4edf2fa3026
4
- data.tar.gz: 205c580df12c234a6ecb48f29fdee3a0ba2f933f0ddb5384489fcbe8d53ae923
3
+ metadata.gz: 7ab13111ffaa03decb11bef1d05aada83ed94f63e3fe2d9b40413fe1c5a1072e
4
+ data.tar.gz: 29f88eb7f120c0aeb17ad95ab562edd936b7d63540d0c2f24c058c3f691e37ae
5
5
  SHA512:
6
- metadata.gz: bbd443ce59ee2fc0e943f75378c05972521c29bf95bdc53378478a423b63f036ab0fff7ab34c7385555eb65fa79e289d66a64bc0ba735ec3049f91b063663b99
7
- data.tar.gz: 1448871b536af6ecbec32f25fc16867a6c637c4cab80138773d188857db0b7f456116e6a7db981b95c8504dfe53a30f4f39253cfcb8213e2db9657c14f6ead45
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/{{ github.repository_owner }} *.gem
32
+ run: gem push --key github --host https://rubygems.pkg.github.com/${{ github.repository_owner }} *.gem
@@ -23,7 +23,7 @@ jobs:
23
23
  - "2.4"
24
24
  puppet:
25
25
  - "~> 7.0"
26
- - "~> 6.5"
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.5"
38
+ puppet: "~> 6.29"
39
39
  - ruby: "3.0"
40
- puppet: "~> 6.5"
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)
@@ -3,6 +3,7 @@ module PuppetSyntax
3
3
  def check(filelist)
4
4
  raise "Expected an array of files" unless filelist.is_a?(Array)
5
5
  require 'puppet'
6
+ require 'puppet/version'
6
7
  require 'puppet/face'
7
8
  require 'puppet/test/test_helper'
8
9
 
@@ -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
@@ -1,3 +1,3 @@
1
1
  module PuppetSyntax
2
- VERSION = '3.2.0'
2
+ VERSION = '3.3.0'
3
3
  end
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.2.0
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: 2022-05-16 00:00:00.000000000 Z
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.7
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