puppetlabs_spec_helper 7.0.4 → 7.1.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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: edd514b30513c5b65e91cef3cc8c7c1dc4c915e60f0cf22b6de05ae6ac6c677b
|
|
4
|
+
data.tar.gz: 49c7c02b201d96ed2c61d56bd6f0fa2ab2f93046289ff9b7b06362b998875576
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4a72a59fda519d64431d6f41b8e68cfcaddf090df0a71113e5b749f6051450066167656abd12f637d8b68539c16c9d8674493818d973db39825fb5033de4e27d
|
|
7
|
+
data.tar.gz: 64b379b436e1371f9856a93f6bfd20c3e5fb68c501eca80d611fd71b4b6f145f3a0b0470386af7d0a2e78398d7fe254f00517a0cb1f77c1b63d3f0036bb38dda
|
|
@@ -192,6 +192,8 @@ PuppetSyntax.exclude_paths << 'pkg/**/*'
|
|
|
192
192
|
PuppetSyntax.exclude_paths << 'vendor/**/*'
|
|
193
193
|
PuppetSyntax.exclude_paths << '.vendor/**/*'
|
|
194
194
|
PuppetSyntax.exclude_paths << 'plans/**/*'
|
|
195
|
+
PuppetSyntax.check_hiera_keys = true
|
|
196
|
+
PuppetSyntax.check_hiera_data = true
|
|
195
197
|
|
|
196
198
|
desc 'Check syntax of Ruby files and call :syntax and :metadata_lint'
|
|
197
199
|
task :validate do
|
|
@@ -106,8 +106,7 @@ module PuppetlabsSpecHelper
|
|
|
106
106
|
end
|
|
107
107
|
|
|
108
108
|
fixtures = fixtures['fixtures']
|
|
109
|
-
|
|
110
|
-
fixtures['symlinks'] = fixtures['symlinks'].nil? ? auto_symlink : auto_symlink.merge!(fixtures['symlinks'])
|
|
109
|
+
fixtures['symlinks'] = fixtures['symlinks'].nil? || fixtures['symlinks'].empty? ? auto_symlink : auto_symlink.merge!(fixtures['symlinks'])
|
|
111
110
|
|
|
112
111
|
result = {}
|
|
113
112
|
if fixtures.include?(category) && !fixtures[category].nil?
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: puppetlabs_spec_helper
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 7.0
|
|
4
|
+
version: 7.1.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Puppet, Inc.
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2024-
|
|
12
|
+
date: 2024-03-12 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: mocha
|
|
@@ -65,14 +65,14 @@ dependencies:
|
|
|
65
65
|
requirements:
|
|
66
66
|
- - "~>"
|
|
67
67
|
- !ruby/object:Gem::Version
|
|
68
|
-
version: '4.
|
|
68
|
+
version: '4.1'
|
|
69
69
|
type: :runtime
|
|
70
70
|
prerelease: false
|
|
71
71
|
version_requirements: !ruby/object:Gem::Requirement
|
|
72
72
|
requirements:
|
|
73
73
|
- - "~>"
|
|
74
74
|
- !ruby/object:Gem::Version
|
|
75
|
-
version: '4.
|
|
75
|
+
version: '4.1'
|
|
76
76
|
- !ruby/object:Gem::Dependency
|
|
77
77
|
name: rspec-github
|
|
78
78
|
requirement: !ruby/object:Gem::Requirement
|