foremancommunity-templatesforeman_api
Fixes #19789 - fix Layout/SpaceAroundOperators cop
Fixes #22331 - Fix Rails/Presence cop
Fixes #19877 - Fix Style/NegatedIf cop
fixes #21394 - user login with access token api
Fixes #19828 - Fix Rails/Blank cop
I disabled the default UnlessPresent value since sometimes it's clearerto use `unless attribute.present?` instead of `if attribute.blank?`.
Fixes #19823 - Fix Performance/StartWith cop
Fixes #16982 - Scope properly when no taxonomies are set
The default scope for hosts and other objects did not restrictproperly by taxonomies. An user without organizations orlocations, could do anything it's permissions allow to.The list of hosts was unrestricted and showed hosts in...
Fixes #17343 - set deep munge config off
deep_munge was introduced as a solution to keepRails secure by default which results in'empty array becomes nil in params'.Thats why, set deep_munge config off in application.rb.Also, added changes which will cast param argument to string...
Refs #3809 - Turning on the AndOr cop
Refs #3809 - Turning on some rubocop cops
View revisions
Also available in: Atom