Rewrite loadjson to use the modern function API #358
ci.yml
on: pull_request
Spec
/
Setup Test Matrix
30s
Matrix: Spec / spec
Matrix: Acceptance / acceptance
Waiting for pending jobs
Annotations
20 errors and 6 warnings
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2):
lib/puppet/functions/stdlib/loadjson.rb#L63
Security/JSONLoad: Prefer `JSON.parse` over `JSON.load`. (https://ruby-doc.org/stdlib-2.7.0/libdoc/json/rdoc/JSON.html#method-i-load)
|
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2):
spec/functions/loadjson_spec.rb#L28
Layout/SpaceInsideHashLiteralBraces: Space inside { missing. (https://rubystyle.guide#spaces-braces)
|
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2):
spec/functions/loadjson_spec.rb#L28
Layout/SpaceInsideHashLiteralBraces: Space inside } missing. (https://rubystyle.guide#spaces-braces)
|
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2):
spec/functions/loadjson_spec.rb#L28
Layout/SpaceInsideHashLiteralBraces: Space inside { missing. (https://rubystyle.guide#spaces-braces)
|
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2):
spec/functions/loadjson_spec.rb#L28
Layout/SpaceInsideHashLiteralBraces: Space inside } missing. (https://rubystyle.guide#spaces-braces)
|
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2):
spec/functions/loadjson_spec.rb#L29
Layout/SpaceInsideHashLiteralBraces: Space inside { missing. (https://rubystyle.guide#spaces-braces)
|
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2):
spec/functions/loadjson_spec.rb#L29
Layout/SpaceInsideHashLiteralBraces: Space inside } missing. (https://rubystyle.guide#spaces-braces)
|
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2):
spec/functions/loadjson_spec.rb#L29
Layout/SpaceInsideHashLiteralBraces: Space inside { missing. (https://rubystyle.guide#spaces-braces)
|
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2):
spec/functions/loadjson_spec.rb#L29
Layout/SpaceInsideHashLiteralBraces: Space inside } missing. (https://rubystyle.guide#spaces-braces)
|
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2):
spec/functions/loadjson_spec.rb#L30
Layout/SpaceInsideHashLiteralBraces: Space inside { missing. (https://rubystyle.guide#spaces-braces)
|
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7):
lib/puppet/functions/stdlib/loadjson.rb#L63
Security/JSONLoad: Prefer `JSON.parse` over `JSON.load`. (https://ruby-doc.org/stdlib-2.7.0/libdoc/json/rdoc/JSON.html#method-i-load)
|
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7):
spec/functions/loadjson_spec.rb#L28
Layout/SpaceInsideHashLiteralBraces: Space inside { missing. (https://rubystyle.guide#spaces-braces)
|
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7):
spec/functions/loadjson_spec.rb#L28
Layout/SpaceInsideHashLiteralBraces: Space inside } missing. (https://rubystyle.guide#spaces-braces)
|
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7):
spec/functions/loadjson_spec.rb#L28
Layout/SpaceInsideHashLiteralBraces: Space inside { missing. (https://rubystyle.guide#spaces-braces)
|
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7):
spec/functions/loadjson_spec.rb#L28
Layout/SpaceInsideHashLiteralBraces: Space inside } missing. (https://rubystyle.guide#spaces-braces)
|
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7):
spec/functions/loadjson_spec.rb#L29
Layout/SpaceInsideHashLiteralBraces: Space inside { missing. (https://rubystyle.guide#spaces-braces)
|
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7):
spec/functions/loadjson_spec.rb#L29
Layout/SpaceInsideHashLiteralBraces: Space inside } missing. (https://rubystyle.guide#spaces-braces)
|
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7):
spec/functions/loadjson_spec.rb#L29
Layout/SpaceInsideHashLiteralBraces: Space inside { missing. (https://rubystyle.guide#spaces-braces)
|
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7):
spec/functions/loadjson_spec.rb#L29
Layout/SpaceInsideHashLiteralBraces: Space inside } missing. (https://rubystyle.guide#spaces-braces)
|
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7):
spec/functions/loadjson_spec.rb#L30
Layout/SpaceInsideHashLiteralBraces: Space inside { missing. (https://rubystyle.guide#spaces-braces)
|
Spec / Setup Test Matrix
Cannot find image for AIX-7.1
|
Spec / Setup Test Matrix
Cannot find image for AIX-7.2
|
Spec / Setup Test Matrix
Cannot find image for Solaris-11
|
Spec / Setup Test Matrix
Cannot find image for Windows-10
|
Spec / Setup Test Matrix
Cannot find image for Windows-2012
|
Spec / Setup Test Matrix
Cannot find image for Windows-2012 R2
|