puppet-syntax 2.4.2 → 2.4.3

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: 5881bcc80736f1d0fa83276ba62c306e827839e94e6d6b124a5212b11430af15
4
- data.tar.gz: 6140b85f3ae60a823157c763369ee81a5cf7bd3d06a2e8f6400aabc8240ca0e2
3
+ metadata.gz: 3c2d5ed9b5ecdfbad2253a6e53cb64577e59672e580aef20ba577122bfd84b46
4
+ data.tar.gz: 77e8fa3182add57817b9a3b6a3dc2f1b26dd5497fbec13197072231067f0610f
5
5
  SHA512:
6
- metadata.gz: 1b545df2d01645001047e3dac3ad30d9c11a9003f0f8ea5011b519305cafb17a0cffdd8cd646500ab515bc79cbd876148763c24e3aa894a5ff500c35e5a07c9f
7
- data.tar.gz: 97ca7f5db0a74bb98fa3447cb60660601d7455e6d8322d872208a402393684aba8060a86183e5fa857d4fcf2379487a5ecb08234ae50dd470654ad3017dcf5d7
6
+ metadata.gz: ae928b3759c9a417561ec58a6ed851df0cd835473d554c1a3ea578d230cfa8514155351757fc52e6e787fb41762f91ac69a5c5a1bfe767b6fc43d4154ae07920
7
+ data.tar.gz: df4b04fdf1a0a6cbd26e3f847336e0a28c7f11fdeccb1040f08c011f4663eb50c477fb3037d187b109e4375993e47bd8d53030e48c3f175117fdf61649a8847f
@@ -0,0 +1,160 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ ## [v2.4.3](https://github.com/voxpupuli/puppet-syntax/tree/v2.4.3) (2019-02-09)
6
+
7
+ [Full Changelog](https://github.com/voxpupuli/puppet-syntax/compare/v2.4.2...v2.4.3)
8
+
9
+ **Fixed bugs:**
10
+
11
+ - Revert "search manifests in manifests directory" [\#102](https://github.com/voxpupuli/puppet-syntax/pull/102) ([alexjfisher](https://github.com/alexjfisher))
12
+
13
+ ## [v2.4.2](https://github.com/voxpupuli/puppet-syntax/tree/v2.4.2) (2019-02-08)
14
+
15
+ [Full Changelog](https://github.com/voxpupuli/puppet-syntax/compare/v2.4.1...v2.4.2)
16
+
17
+ - Search manifests in manifests directory
18
+ - Allow .yml as an extension for YAML files.
19
+ - Ensure the pkg directory is always excluded
20
+ - Check consistency of ENC blobs in eyaml data
21
+
22
+ ## [v2.4.1](https://github.com/voxpupuli/puppet-syntax/tree/v2.4.1) (2017-06-29)
23
+
24
+ [Full Changelog](https://github.com/voxpupuli/puppet-syntax/compare/v2.4.0...v2.4.1)
25
+
26
+ - Fix to ensure namespace scope is inherited.
27
+ - Cleanly exits when syntax warnings/errors are found instead of failing.
28
+
29
+ ## [v2.4.0](https://github.com/voxpupuli/puppet-syntax/tree/v2.4.0) (2017-03-14)
30
+
31
+ [Full Changelog](https://github.com/voxpupuli/puppet-syntax/compare/v2.3.0...v2.4.0)
32
+
33
+ - Add check_hiera_keys flag for deep checking of Hiera key name correctness. Thanks @petems.
34
+ - Fix Puppet version comparisons for compatibility with Puppet 4.10.
35
+ - Fix app_management setting compatibility with Puppet 5.
36
+ - Refactor PUPPETVERSION usage to Puppet.version public API.
37
+
38
+ ## [v2.3.0](https://github.com/voxpupuli/puppet-syntax/tree/v2.3.0) (2017-02-01)
39
+
40
+ [Full Changelog](https://github.com/voxpupuli/puppet-syntax/compare/v2.2.0...v2.3.0)
41
+
42
+ - Add app_management flag for Puppet application orchestration support. Thanks @ipcrm.
43
+ - Check all *yaml file extensions, including eyaml. thanks @kjetilho, @rjw1.
44
+ - Only test ERB syntax in files with an *.erb extension. Thanks @alexiri.
45
+ - Extend README to list specific files and checks implemented. Thanks @petems.
46
+ - Refactor Rake filelist generation, add tests. Thanks @kjetilho, @rjw1.
47
+
48
+ ## [v2.2.0](https://github.com/voxpupuli/puppet-syntax/tree/v2.2.0) (2016-12-02)
49
+
50
+ [Full Changelog](https://github.com/voxpupuli/puppet-syntax/compare/v2.1.1...v2.2.0)
51
+
52
+ - Replace Puppet.initialize_settings with Puppet::Test::TestHelper. Thanks @domcleal #60
53
+ This clears out caches on every test so increases runtime.
54
+
55
+ ## [v2.1.1](https://github.com/voxpupuli/puppet-syntax/tree/v2.1.1) (2016-10-21)
56
+
57
+ [Full Changelog](https://github.com/voxpupuli/puppet-syntax/compare/v2.1.0...v2.1.1)
58
+
59
+ - Use `$stderr.puts` rather than `warn` and `info` (thanks @mmckinst)
60
+ - Allow latest 3.x to validate EPP files (thanks @DavidS)
61
+
62
+ ## [v2.1.0](https://github.com/voxpupuli/puppet-syntax/tree/v2.1.0) (2016-01-18)
63
+
64
+ [Full Changelog](https://github.com/voxpupuli/puppet-syntax/compare/v2.0.0...v2.1.0)
65
+
66
+ - Support Puppet 4. Many thanks to @DavidS
67
+ - Support validation of EPP templates. Thanks to @trlinkin
68
+ - Test improvements and refactoring, including Travis CI tests against Puppet 4. Thanks to @trlinkin
69
+ - Don't error when a tag metaparameter is present. Thank you @dhardy92
70
+ - Report the filename of invalid hiera data files. Thanks @danzilio
71
+
72
+ ## [v2.0.0](https://github.com/voxpupuli/puppet-syntax/tree/v2.0.0) (2015-02-26)
73
+
74
+ [Full Changelog](https://github.com/voxpupuli/puppet-syntax/compare/v1.4.1...v2.0.0)
75
+
76
+ - Removed support for Puppet version 2.7.x
77
+ - New option, fail_on_deprecation_notices, which defaults to true (compatible
78
+ with previous behaviour); thanks @pcfens
79
+ - PuppetSyntax::Manifests#check now has two return arguments
80
+
81
+ ## [v1.4.1](https://github.com/voxpupuli/puppet-syntax/tree/v1.4.1) (2015-01-08)
82
+
83
+ [Full Changelog](https://github.com/voxpupuli/puppet-syntax/compare/v1.4.0...v1.4.1)
84
+
85
+ - Support appending to config arrays, thanks @domcleal
86
+
87
+ ## [v1.4.0](https://github.com/voxpupuli/puppet-syntax/tree/v1.4.0) (2014-12-18)
88
+
89
+ [Full Changelog](https://github.com/voxpupuli/puppet-syntax/compare/v1.3.0...v1.4.0)
90
+
91
+ - Rspec 3 is now supported, thanks @tuxmea
92
+ - Build error fixed where gem_publisher was used prematurely
93
+ - Lazy load Puppet only when it's required, thanks @logicminds
94
+
95
+ ## [v1.3.0](https://github.com/voxpupuli/puppet-syntax/tree/v1.3.0) (2014-08-07)
96
+
97
+ [Full Changelog](https://github.com/voxpupuli/puppet-syntax/compare/v1.2.3...v1.3.0)
98
+
99
+ - Add the ability to pass hieradata_paths array of globs to check
100
+ - Check hieradata in modules ('**/data/**/*.yaml') by default
101
+
102
+ ## [v1.2.3](https://github.com/voxpupuli/puppet-syntax/tree/v1.2.3) (2014-08-06)
103
+
104
+ [Full Changelog](https://github.com/voxpupuli/puppet-syntax/compare/v1.2.2...v1.2.3)
105
+
106
+ - Fix puppetlabs_spec_helper warning on Ruby 1.8
107
+
108
+ ## [v1.2.2](https://github.com/voxpupuli/puppet-syntax/tree/v1.2.2) (2014-07-31)
109
+
110
+ [Full Changelog](https://github.com/voxpupuli/puppet-syntax/compare/v1.2.0...v1.2.2)
111
+
112
+ - Check and document conflicts with puppetlabs_spec_helper <= 0.7.0
113
+
114
+ ## v1.2.1 (2014-07-23)
115
+
116
+ - Remove dependency on Puppet from Gemspec (for Puppet Entreprise users).
117
+
118
+ ## v1.2.0 (2014-03-28)
119
+
120
+ - Optional support for Puppet's future parser.
121
+
122
+ ## v1.1.1 (2014-03-17)
123
+
124
+ - Ignore exit(1) from Puppet 3.4
125
+ - Don't use hardcoded version of parser face.
126
+
127
+ ## v1.1.0 (2013-09-06)
128
+
129
+ - Syntax checks for Hiera YAML files.
130
+ - Improved documentation.
131
+
132
+ ## v1.0.0 (2013-07-04)
133
+
134
+ - Refactor code to make it easier to test.
135
+ - Implement spec tests for syntax checks.
136
+ - Pending spec tests for FileList matching.
137
+ - Matrix tests for other Ruby/Puppet versions.
138
+ - Improve usage example in README.
139
+
140
+ ## v0.0.4 (2013-06-14)
141
+
142
+ - Fix `$confdir` error for Puppet 3.x
143
+
144
+ ## v0.0.3 (2013-06-11)
145
+
146
+ - List rake as a dependency.
147
+ - Output names of tasks to STDERR.
148
+ - Match template paths correctly.
149
+ - Add pending spec tests, not yet working.
150
+
151
+ ## v0.0.2 (2013-06-10)
152
+
153
+ - Fix namespacing of rake tasks.
154
+
155
+ ## v0.0.1 (2013-06-10)
156
+
157
+ - Initial release
158
+
159
+
160
+ \* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*
data/Gemfile CHANGED
@@ -25,4 +25,8 @@ gem 'json_pure', '<= 2.0.1'
25
25
 
26
26
  group :test do
27
27
  gem 'rspec'
28
- end
28
+ end
29
+
30
+ group :release do
31
+ gem 'github_changelog_generator', :require => false, :git => 'https://github.com/github-changelog-generator/github-changelog-generator' if RUBY_VERSION >= '2.2.2'
32
+ end
@@ -1,97 +1,145 @@
1
- 2019-02-02 Release 2.4.2
1
+ ## [v2.4.2](https://github.com/voxpupuli/puppet-syntax/tree/v2.4.2) (2019-02-08)
2
+
3
+ [Full Changelog](https://github.com/voxpupuli/puppet-syntax/compare/v2.4.1...v2.4.2)
4
+
2
5
  - Search manifests in manifests directory
3
6
  - Allow .yml as an extension for YAML files.
4
7
  - Ensure the pkg directory is always excluded
5
8
  - Check consistency of ENC blobs in eyaml data
6
9
 
7
- 2017-06-29 Release 2.4.1
10
+ ## [v2.4.1](https://github.com/voxpupuli/puppet-syntax/tree/v2.4.1) (2017-06-29)
11
+
12
+ [Full Changelog](https://github.com/voxpupuli/puppet-syntax/compare/v2.4.0...v2.4.1)
13
+
8
14
  - Fix to ensure namespace scope is inherited.
9
15
  - Cleanly exits when syntax warnings/errors are found instead of failing.
10
16
 
11
- 2017-03-14 Release 2.4.0
17
+ ## [v2.4.0](https://github.com/voxpupuli/puppet-syntax/tree/v2.4.0) (2017-03-14)
18
+
19
+ [Full Changelog](https://github.com/voxpupuli/puppet-syntax/compare/v2.3.0...v2.4.0)
20
+
12
21
  - Add check_hiera_keys flag for deep checking of Hiera key name correctness. Thanks @petems.
13
22
  - Fix Puppet version comparisons for compatibility with Puppet 4.10.
14
23
  - Fix app_management setting compatibility with Puppet 5.
15
24
  - Refactor PUPPETVERSION usage to Puppet.version public API.
16
25
 
17
- 2017-01-30 Release 2.3.0
26
+ ## [v2.3.0](https://github.com/voxpupuli/puppet-syntax/tree/v2.3.0) (2017-02-01)
27
+
28
+ [Full Changelog](https://github.com/voxpupuli/puppet-syntax/compare/v2.2.0...v2.3.0)
29
+
18
30
  - Add app_management flag for Puppet application orchestration support. Thanks @ipcrm.
19
31
  - Check all *yaml file extensions, including eyaml. thanks @kjetilho, @rjw1.
20
32
  - Only test ERB syntax in files with an *.erb extension. Thanks @alexiri.
21
33
  - Extend README to list specific files and checks implemented. Thanks @petems.
22
34
  - Refactor Rake filelist generation, add tests. Thanks @kjetilho, @rjw1.
23
35
 
24
- 2016-12-02 Release 2.2.0
36
+ ## [v2.2.0](https://github.com/voxpupuli/puppet-syntax/tree/v2.2.0) (2016-12-02)
37
+
38
+ [Full Changelog](https://github.com/voxpupuli/puppet-syntax/compare/v2.1.1...v2.2.0)
39
+
25
40
  - Replace Puppet.initialize_settings with Puppet::Test::TestHelper. Thanks @domcleal #60
26
41
  This clears out caches on every test so increases runtime.
27
42
 
28
- 2016-10-21 Release 2.1.1
43
+ ## [v2.1.1](https://github.com/voxpupuli/puppet-syntax/tree/v2.1.1) (2016-10-21)
44
+
45
+ [Full Changelog](https://github.com/voxpupuli/puppet-syntax/compare/v2.1.0...v2.1.1)
46
+
29
47
  - Use `$stderr.puts` rather than `warn` and `info` (thanks @mmckinst)
30
48
  - Allow latest 3.x to validate EPP files (thanks @DavidS)
31
49
 
32
- 2016-01-18 Release 2.1.0
50
+ ## [v2.1.0](https://github.com/voxpupuli/puppet-syntax/tree/v2.1.0) (2016-01-18)
51
+
52
+ [Full Changelog](https://github.com/voxpupuli/puppet-syntax/compare/v2.0.0...v2.1.0)
53
+
33
54
  - Support Puppet 4. Many thanks to @DavidS
34
55
  - Support validation of EPP templates. Thanks to @trlinkin
35
56
  - Test improvements and refactoring, including Travis CI tests against Puppet 4. Thanks to @trlinkin
36
57
  - Don't error when a tag metaparameter is present. Thank you @dhardy92
37
58
  - Report the filename of invalid hiera data files. Thanks @danzilio
38
59
 
39
- 2015-02-25 Release 2.0.0
60
+ ## [v2.0.0](https://github.com/voxpupuli/puppet-syntax/tree/v2.0.0) (2015-02-26)
61
+
62
+ [Full Changelog](https://github.com/voxpupuli/puppet-syntax/compare/v1.4.1...v2.0.0)
63
+
40
64
  - Removed support for Puppet version 2.7.x
41
65
  - New option, fail_on_deprecation_notices, which defaults to true (compatible
42
66
  with previous behaviour); thanks @pcfens
43
67
  - PuppetSyntax::Manifests#check now has two return arguments
44
68
 
45
- 2015-01-08 Release 1.4.1
69
+ ## [v1.4.1](https://github.com/voxpupuli/puppet-syntax/tree/v1.4.1) (2015-01-08)
70
+
71
+ [Full Changelog](https://github.com/voxpupuli/puppet-syntax/compare/v1.4.0...v1.4.1)
72
+
46
73
  - Support appending to config arrays, thanks @domcleal
47
74
 
48
- 2014-12-04 Release 1.4.0
75
+ ## [v1.4.0](https://github.com/voxpupuli/puppet-syntax/tree/v1.4.0) (2014-12-18)
76
+
77
+ [Full Changelog](https://github.com/voxpupuli/puppet-syntax/compare/v1.3.0...v1.4.0)
78
+
49
79
  - Rspec 3 is now supported, thanks @tuxmea
50
80
  - Build error fixed where gem_publisher was used prematurely
51
81
  - Lazy load Puppet only when it's required, thanks @logicminds
52
82
 
53
- 2014-08-07 Release 1.3.0
83
+ ## [v1.3.0](https://github.com/voxpupuli/puppet-syntax/tree/v1.3.0) (2014-08-07)
84
+
85
+ [Full Changelog](https://github.com/voxpupuli/puppet-syntax/compare/v1.2.3...v1.3.0)
86
+
54
87
  - Add the ability to pass hieradata_paths array of globs to check
55
88
  - Check hieradata in modules ('**/data/**/*.yaml') by default
56
89
 
57
- 2014-08-05 Release 1.2.3
90
+ ## [v1.2.3](https://github.com/voxpupuli/puppet-syntax/tree/v1.2.3) (2014-08-06)
91
+
92
+ [Full Changelog](https://github.com/voxpupuli/puppet-syntax/compare/v1.2.2...v1.2.3)
93
+
58
94
  - Fix puppetlabs_spec_helper warning on Ruby 1.8
59
95
 
60
- 2014-07-31 Release 1.2.2
96
+ ## [v1.2.2](https://github.com/voxpupuli/puppet-syntax/tree/v1.2.2) (2014-07-31)
97
+
98
+ [Full Changelog](https://github.com/voxpupuli/puppet-syntax/compare/v1.2.0...v1.2.2)
99
+
61
100
  - Check and document conflicts with puppetlabs_spec_helper <= 0.7.0
62
101
 
63
- 2014-07-23 Release 1.2.1
102
+ ## v1.2.1 (2014-07-23)
103
+
64
104
  - Remove dependency on Puppet from Gemspec (for Puppet Entreprise users).
65
105
 
66
- 2014-03-28 Release 1.2.0
106
+ ## v1.2.0 (2014-03-28)
107
+
67
108
  - Optional support for Puppet's future parser.
68
109
 
69
- 2014-03-17 Release 1.1.1
110
+ ## v1.1.1 (2014-03-17)
111
+
70
112
  - Ignore exit(1) from Puppet 3.4
71
113
  - Don't use hardcoded version of parser face.
72
114
 
73
- 2013-09-06 Release 1.1.0
115
+ ## v1.1.0 (2013-09-06)
116
+
74
117
  - Syntax checks for Hiera YAML files.
75
118
  - Improved documentation.
76
119
 
77
- 2013-07-04 Release 1.0.0
120
+ ## v1.0.0 (2013-07-04)
121
+
78
122
  - Refactor code to make it easier to test.
79
123
  - Implement spec tests for syntax checks.
80
124
  - Pending spec tests for FileList matching.
81
125
  - Matrix tests for other Ruby/Puppet versions.
82
126
  - Improve usage example in README.
83
127
 
84
- 2013-06-14 Release 0.0.4
128
+ ## v0.0.4 (2013-06-14)
129
+
85
130
  - Fix `$confdir` error for Puppet 3.x
86
131
 
87
- 2013-06-11 Release 0.0.3
132
+ ## v0.0.3 (2013-06-11)
133
+
88
134
  - List rake as a dependency.
89
135
  - Output names of tasks to STDERR.
90
136
  - Match template paths correctly.
91
137
  - Add pending spec tests, not yet working.
92
138
 
93
- 2013-06-10 Release 0.0.2
139
+ ## v0.0.2 (2013-06-10)
140
+
94
141
  - Fix namespacing of rake tasks.
95
142
 
96
- 2013-06-10 Release 0.0.1
143
+ ## v0.0.1 (2013-06-10)
144
+
97
145
  - Initial release
data/README.md CHANGED
@@ -1,4 +1,6 @@
1
1
  [![Build Status](https://travis-ci.org/voxpupuli/puppet-syntax.svg?branch=master)](https://travis-ci.org/voxpupuli/puppet-syntax)
2
+ [![Gem Version](https://img.shields.io/gem/v/puppet-syntax.svg)](https://rubygems.org/gems/puppet-syntax)
3
+ [![Gem Downloads](https://img.shields.io/gem/dt/puppet-syntax.svg)](https://rubygems.org/gems/puppet-syntax)
2
4
 
3
5
  # Puppet::Syntax
4
6
 
data/Rakefile CHANGED
@@ -8,3 +8,16 @@ task :publish_gem do
8
8
  end
9
9
 
10
10
  task :default => [:spec]
11
+ begin
12
+ require 'github_changelog_generator/task'
13
+ require 'puppet-syntax/version'
14
+ GitHubChangelogGenerator::RakeTask.new :changelog do |config|
15
+ version = PuppetSyntax::VERSION
16
+ config.future_release = "v#{version}" if version =~ /^\d+\.\d+.\d+$/
17
+ config.header = "# Changelog\n\nAll notable changes to this project will be documented in this file."
18
+ config.exclude_labels = %w{duplicate question invalid wontfix wont-fix modulesync skip-changelog}
19
+ config.user = 'voxpupuli'
20
+ config.project = 'puppet-syntax'
21
+ end
22
+ rescue LoadError
23
+ end
@@ -13,7 +13,7 @@ module PuppetSyntax
13
13
  end
14
14
 
15
15
  def filelist_manifests
16
- filelist("**/manifests/**/*.pp")
16
+ filelist("**/*.pp")
17
17
  end
18
18
 
19
19
  def filelist_templates
@@ -1,3 +1,3 @@
1
1
  module PuppetSyntax
2
- VERSION = "2.4.2"
2
+ VERSION = '2.4.3'
3
3
  end
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: 2.4.2
4
+ version: 2.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vox Pupuli
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-02-08 00:00:00.000000000 Z
11
+ date: 2019-02-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -75,8 +75,9 @@ extra_rdoc_files: []
75
75
  files:
76
76
  - ".gitignore"
77
77
  - ".travis.yml"
78
- - CHANGELOG
78
+ - CHANGELOG.md
79
79
  - Gemfile
80
+ - HISTORY.md
80
81
  - LICENSE.txt
81
82
  - README.md
82
83
  - Rakefile