From c068c64f4355aa665c092ed68635d89e4c28b793 Mon Sep 17 00:00:00 2001 From: Tim Smith Date: Mon, 12 Oct 2020 09:25:38 -0700 Subject: [PATCH] Update to RuboCop 0.93.1 This has a few important bug fixes for us Signed-off-by: Tim Smith --- config/upstream.yml | 16 +++++++--------- lib/chefstyle/version.rb | 2 +- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/config/upstream.yml b/config/upstream.yml index 1f93ea7..f57334f 100644 --- a/config/upstream.yml +++ b/config/upstream.yml @@ -1757,16 +1757,14 @@ Lint/RedundantSafeNavigation: Description: 'Checks for redundant safe navigation calls.' Enabled: pending VersionAdded: '0.93' + AllowedMethods: + - instance_of? + - kind_of? + - is_a? + - eql? + - respond_to? + - equal? Safe: false - IgnoredMethods: - - to_c - - to_f - - to_i - - to_r - - rationalize - - public_send - - send - - __send__ Lint/RedundantSplatExpansion: Description: 'Checks for splat unnecessarily being called on literals.' diff --git a/lib/chefstyle/version.rb b/lib/chefstyle/version.rb index 7329288..f708ffa 100644 --- a/lib/chefstyle/version.rb +++ b/lib/chefstyle/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module Chefstyle VERSION = "1.4.4" - RUBOCOP_VERSION = "0.93.0" + RUBOCOP_VERSION = "0.93.1" end \ No newline at end of file