foremancommunity-templatesforeman_api
Fixes #36219 - use YAML.safe_load instead of YAML.load
as explained in this rubocop rule https://www.rubydoc.info/gems/rubocop/RuboCop/Cop/Security/YAMLLoad
Fixes #27249 - flip the comma cop
Fixes #19895 - Fix Style/RedundantReturn cop
Fixes #18718 - Empty boolean matcher should not turn into false
Fixes #17874 - Extract contains_erb? from lookup key
Refs #3809 - Turning on the AndOr cop
Refs #3809 - Turning on some rubocop cops
Fixes #14476 - Correctly handle casting of invalid real param values
Fixes #14129 - remove duplicate declaration of KEY_DELM
Fixes #11618 - Replace validation tests by shoulda-matchers
A good chunk of our unit tests are testing whether a validation isworking or not by testing it actively. For the validations we'veadded ourselves I would say it's fine. However for validations that...
View revisions
Also available in: Atom