puppet 8.5.0 → 8.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +11 -11
- data/lib/puppet/pops/evaluator/literal_evaluator.rb +4 -0
- data/lib/puppet/pops/validation/validator_factory_4_0.rb +2 -0
- data/lib/puppet/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7715d1827a84d246f80dbbc3a0a1e2fc67af9d280fbce567bdabd123f371d5bd
|
4
|
+
data.tar.gz: ddca4f7b493a8f24066c1ddc7d45e5df8de0fae12ebdc9b545e50cdd5de1aefd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 165e7d05cfc303a144be1efd16913de96db08d0df37588cef3f6420ab33b4940be6a835a21e33d68d904590e5b20bd430126d11e4d767a854b65b39c7636d6ca
|
7
|
+
data.tar.gz: 37b7d2303c34d2876fcdabe8617508ae4eaed7c72e2ffab86732937ff4900aec54333ac017d028cb7ddfd0d191920fee4da09681d0bc945cb9704acb417897f6
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
puppet (8.5.
|
4
|
+
puppet (8.5.1)
|
5
5
|
CFPropertyList (~> 2.2)
|
6
6
|
concurrent-ruby (~> 1.0)
|
7
7
|
deep_merge (~> 1.0)
|
@@ -21,7 +21,7 @@ GEM
|
|
21
21
|
public_suffix (>= 2.0.2, < 6.0)
|
22
22
|
apt_stage_artifacts (0.11.0)
|
23
23
|
docopt
|
24
|
-
artifactory (3.0.
|
24
|
+
artifactory (3.0.17)
|
25
25
|
ast (2.4.2)
|
26
26
|
base64 (0.2.0)
|
27
27
|
bigdecimal (3.1.6)
|
@@ -38,7 +38,7 @@ GEM
|
|
38
38
|
rake (>= 12.0.0, < 14.0.0)
|
39
39
|
docopt (0.6.1)
|
40
40
|
erubi (1.12.0)
|
41
|
-
facter (4.6.
|
41
|
+
facter (4.6.1)
|
42
42
|
hocon (~> 1.3)
|
43
43
|
thor (>= 1.0.1, < 2.0)
|
44
44
|
faraday (2.9.0)
|
@@ -103,7 +103,7 @@ GEM
|
|
103
103
|
json (2.7.1)
|
104
104
|
json-schema (2.8.1)
|
105
105
|
addressable (>= 2.4)
|
106
|
-
jwt (2.8.
|
106
|
+
jwt (2.8.1)
|
107
107
|
base64
|
108
108
|
language_server-protocol (3.17.0.3)
|
109
109
|
locale (2.1.3)
|
@@ -118,7 +118,7 @@ GEM
|
|
118
118
|
uri
|
119
119
|
optimist (3.1.0)
|
120
120
|
os (1.1.4)
|
121
|
-
packaging (0.
|
121
|
+
packaging (0.116.0)
|
122
122
|
apt_stage_artifacts
|
123
123
|
artifactory (~> 3)
|
124
124
|
csv (>= 3.1.5)
|
@@ -176,7 +176,7 @@ GEM
|
|
176
176
|
diff-lcs (>= 1.2.0, < 2.0)
|
177
177
|
rspec-support (~> 3.13.0)
|
178
178
|
rspec-support (3.13.1)
|
179
|
-
rubocop (1.
|
179
|
+
rubocop (1.61.0)
|
180
180
|
json (~> 2.3)
|
181
181
|
language_server-protocol (>= 3.17.0)
|
182
182
|
parallel (~> 1.10)
|
@@ -187,8 +187,8 @@ GEM
|
|
187
187
|
rubocop-ast (>= 1.30.0, < 2.0)
|
188
188
|
ruby-progressbar (~> 1.7)
|
189
189
|
unicode-display_width (>= 2.4.0, < 3.0)
|
190
|
-
rubocop-ast (1.
|
191
|
-
parser (>= 3.
|
190
|
+
rubocop-ast (1.31.1)
|
191
|
+
parser (>= 3.3.0.4)
|
192
192
|
rubocop-capybara (2.20.0)
|
193
193
|
rubocop (~> 1.41)
|
194
194
|
rubocop-factory_bot (2.25.1)
|
@@ -200,7 +200,7 @@ GEM
|
|
200
200
|
rubocop-ast (>= 1.30.0, < 2.0)
|
201
201
|
rubocop-rake (0.6.0)
|
202
202
|
rubocop (~> 1.0)
|
203
|
-
rubocop-rspec (2.
|
203
|
+
rubocop-rspec (2.27.1)
|
204
204
|
rubocop (~> 1.40)
|
205
205
|
rubocop-capybara (~> 2.17)
|
206
206
|
rubocop-factory_bot (~> 2.22)
|
@@ -215,7 +215,7 @@ GEM
|
|
215
215
|
multi_json (~> 1.10)
|
216
216
|
singleton (0.2.0)
|
217
217
|
text (1.3.1)
|
218
|
-
thor (1.3.
|
218
|
+
thor (1.3.1)
|
219
219
|
trailblazer-option (0.1.2)
|
220
220
|
uber (0.1.0)
|
221
221
|
unicode-display_width (2.5.0)
|
@@ -226,7 +226,7 @@ GEM
|
|
226
226
|
crack (>= 0.3.2)
|
227
227
|
hashdiff (>= 0.4.0, < 2.0.0)
|
228
228
|
webrick (1.8.1)
|
229
|
-
yard (0.9.
|
229
|
+
yard (0.9.36)
|
230
230
|
|
231
231
|
PLATFORMS
|
232
232
|
x86_64-linux
|
@@ -76,6 +76,10 @@ class LiteralEvaluator
|
|
76
76
|
o.keys.map { |v| literal(v) }
|
77
77
|
end
|
78
78
|
|
79
|
+
def literal_UnaryMinusExpression(o)
|
80
|
+
-literal(o.expr)
|
81
|
+
end
|
82
|
+
|
79
83
|
def literal_ConcatenatedString(o)
|
80
84
|
# use double quoted string value if there is no interpolation
|
81
85
|
throw :not_literal unless o.segments.size == 1 && o.segments[0].is_a?(Model::LiteralString)
|
@@ -36,6 +36,8 @@ class ValidatorFactory_4_0 < Factory
|
|
36
36
|
p[Issues::NAME_WITH_HYPHEN] = :error
|
37
37
|
p[Issues::EMPTY_RESOURCE_SPECIALIZATION] = :ignore
|
38
38
|
p[Issues::CLASS_NOT_VIRTUALIZABLE] = :error
|
39
|
+
|
40
|
+
p[Issues::ILLEGAL_NONLITERAL_PARAMETER_TYPE] = Puppet[:strict] == :off ? :ignore : Puppet[:strict]
|
39
41
|
p
|
40
42
|
end
|
41
43
|
end
|
data/lib/puppet/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: puppet
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 8.5.
|
4
|
+
version: 8.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Puppet Labs
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-03-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: facter
|