New Upstream Release - ruby-puppet-syntax

Ready changes

Summary

Merged new upstream version: 3.3.0 (was: 3.2.1).

Resulting package

Built on 2023-05-30T03:19 (took 5m11s)

The resulting binary packages can be installed (if you have the apt repository enabled) by running one of:

apt install -t fresh-releases ruby-puppet-syntax

Lintian Result

Diff

diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 1702374..ecd5d28 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -23,7 +23,7 @@ jobs:
           - "2.4"
         puppet:
           - "~> 7.0"
-          - "~> 6.5"
+          - "~> 6.29"
           - "~> 5.5.10"
           - "https://github.com/puppetlabs/puppet.git#main"
         exclude:
@@ -35,9 +35,9 @@ jobs:
             puppet: "~> 7.0"
 
           - ruby: "3.1"
-            puppet: "~> 6.5"
+            puppet: "~> 6.29"
           - ruby: "3.0"
-            puppet: "~> 6.5"
+            puppet: "~> 6.29"
 
           - ruby: "3.1"
             puppet: "~> 5.5.10"
diff --git a/CHANGELOG.md b/CHANGELOG.md
index b3413ad..80de704 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,22 @@
 
 All notable changes to this project will be documented in this file.
 
+## [v3.3.0](https://github.com/voxpupuli/puppet-syntax/tree/v3.3.0) (2023-02-08)
+
+[Full Changelog](https://github.com/voxpupuli/puppet-syntax/compare/v3.2.1...v3.3.0)
+
+**Implemented enhancements:**
+
+- Lazy load required classes [\#134](https://github.com/voxpupuli/puppet-syntax/pull/134) ([ekohl](https://github.com/ekohl))
+
+**Merged pull requests:**
+
+- Pull in Puppet 6.29 in CI [\#135](https://github.com/voxpupuli/puppet-syntax/pull/135) ([ekohl](https://github.com/ekohl))
+
+## [v3.2.1](https://github.com/voxpupuli/puppet-syntax/tree/v3.2.1) (2022-05-16)
+
+[Full Changelog](https://github.com/voxpupuli/puppet-syntax/compare/v3.2.0...v3.2.1)
+
 ## [v3.2.0](https://github.com/voxpupuli/puppet-syntax/tree/v3.2.0) (2022-05-16)
 
 [Full Changelog](https://github.com/voxpupuli/puppet-syntax/compare/v3.1.0...v3.2.0)
diff --git a/debian/changelog b/debian/changelog
index 14f242a..61bc762 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+ruby-puppet-syntax (3.3.0-1) UNRELEASED; urgency=low
+
+  * New upstream release.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Tue, 30 May 2023 03:14:42 -0000
+
 ruby-puppet-syntax (3.2.1-1) unstable; urgency=medium
 
   [ Daniel Leidert ]
diff --git a/debian/patches/0001-gemspec-drop-puppet.patch b/debian/patches/0001-gemspec-drop-puppet.patch
index 93e8899..f4396ae 100644
--- a/debian/patches/0001-gemspec-drop-puppet.patch
+++ b/debian/patches/0001-gemspec-drop-puppet.patch
@@ -7,8 +7,10 @@ Forwarded: not-needed
 Last-Update: 2020-02-04
 ---
 This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
---- a/puppet-syntax.gemspec
-+++ b/puppet-syntax.gemspec
+Index: ruby-puppet-syntax.git/puppet-syntax.gemspec
+===================================================================
+--- ruby-puppet-syntax.git.orig/puppet-syntax.gemspec
++++ ruby-puppet-syntax.git/puppet-syntax.gemspec
 @@ -21,7 +21,6 @@ Gem::Specification.new do |spec|
    spec.required_ruby_version = ">= 2.4"
  
diff --git a/lib/puppet-syntax.rb b/lib/puppet-syntax.rb
index 9894654..03a0540 100644
--- a/lib/puppet-syntax.rb
+++ b/lib/puppet-syntax.rb
@@ -1,10 +1,10 @@
 require "puppet-syntax/version"
-require "puppet-syntax/manifests"
-require "puppet-syntax/templates"
-require "puppet-syntax/hiera"
-require "puppet/version"
 
 module PuppetSyntax
+  autoload :Hiera, 'puppet-syntax/hiera'
+  autoload :Manifests, 'puppet-syntax/manifests'
+  autoload :Templates, 'puppet-syntax/templates'
+
   @exclude_paths = []
   @hieradata_paths = [
     "**/data/**/*.*{yaml,yml}",
diff --git a/lib/puppet-syntax/manifests.rb b/lib/puppet-syntax/manifests.rb
index 58fe8a7..2dcf3e6 100644
--- a/lib/puppet-syntax/manifests.rb
+++ b/lib/puppet-syntax/manifests.rb
@@ -3,6 +3,7 @@ module PuppetSyntax
     def check(filelist)
       raise "Expected an array of files" unless filelist.is_a?(Array)
       require 'puppet'
+      require 'puppet/version'
       require 'puppet/face'
       require 'puppet/test/test_helper'
 
diff --git a/lib/puppet-syntax/templates.rb b/lib/puppet-syntax/templates.rb
index eb63f20..38c47df 100644
--- a/lib/puppet-syntax/templates.rb
+++ b/lib/puppet-syntax/templates.rb
@@ -1,5 +1,4 @@
 require 'erb'
-require 'puppet'
 require 'stringio'
 
 module PuppetSyntax
@@ -30,6 +29,7 @@ module PuppetSyntax
     end
 
     def validate_epp(filename)
+      require 'puppet/error'
       require 'puppet/pops'
       result = { warnings: [], errors: [] }
       formatter = Puppet::Pops::Validation::DiagnosticFormatterPuppetStyle.new
diff --git a/lib/puppet-syntax/version.rb b/lib/puppet-syntax/version.rb
index 4a31bc0..6bc0d28 100644
--- a/lib/puppet-syntax/version.rb
+++ b/lib/puppet-syntax/version.rb
@@ -1,3 +1,3 @@
 module PuppetSyntax
-  VERSION = '3.2.1'
+  VERSION = '3.3.0'
 end

Debdiff

[The following lists of changes regard files as different if they have different names, permissions or owners.]

Files in second set of .debs but not in first

-rw-r--r--  root/root   /usr/share/rubygems-integration/all/gems/puppet-syntax-3.3.0/lib/puppet-syntax.rb
-rw-r--r--  root/root   /usr/share/rubygems-integration/all/gems/puppet-syntax-3.3.0/lib/puppet-syntax/hiera.rb
-rw-r--r--  root/root   /usr/share/rubygems-integration/all/gems/puppet-syntax-3.3.0/lib/puppet-syntax/manifests.rb
-rw-r--r--  root/root   /usr/share/rubygems-integration/all/gems/puppet-syntax-3.3.0/lib/puppet-syntax/tasks/puppet-syntax.rb
-rw-r--r--  root/root   /usr/share/rubygems-integration/all/gems/puppet-syntax-3.3.0/lib/puppet-syntax/templates.rb
-rw-r--r--  root/root   /usr/share/rubygems-integration/all/gems/puppet-syntax-3.3.0/lib/puppet-syntax/version.rb
-rw-r--r--  root/root   /usr/share/rubygems-integration/all/specifications/puppet-syntax-3.3.0.gemspec

Files in first set of .debs but not in second

-rw-r--r--  root/root   /usr/share/rubygems-integration/all/gems/puppet-syntax-3.2.1/lib/puppet-syntax.rb
-rw-r--r--  root/root   /usr/share/rubygems-integration/all/gems/puppet-syntax-3.2.1/lib/puppet-syntax/hiera.rb
-rw-r--r--  root/root   /usr/share/rubygems-integration/all/gems/puppet-syntax-3.2.1/lib/puppet-syntax/manifests.rb
-rw-r--r--  root/root   /usr/share/rubygems-integration/all/gems/puppet-syntax-3.2.1/lib/puppet-syntax/tasks/puppet-syntax.rb
-rw-r--r--  root/root   /usr/share/rubygems-integration/all/gems/puppet-syntax-3.2.1/lib/puppet-syntax/templates.rb
-rw-r--r--  root/root   /usr/share/rubygems-integration/all/gems/puppet-syntax-3.2.1/lib/puppet-syntax/version.rb
-rw-r--r--  root/root   /usr/share/rubygems-integration/all/specifications/puppet-syntax-3.2.1.gemspec

No differences were encountered in the control files

More details

Full run details