diff --git a/Library/Homebrew/vendor/bundle/bundler/setup.rb b/Library/Homebrew/vendor/bundle/bundler/setup.rb index 637235fdc6..d028a4e3fd 100644 --- a/Library/Homebrew/vendor/bundle/bundler/setup.rb +++ b/Library/Homebrew/vendor/bundle/bundler/setup.rb @@ -35,7 +35,7 @@ $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/jaro_winkler-1.5.3/li $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/mime-types-data-3.2019.0331/lib" $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/mime-types-3.2.2/lib" $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/net-http-digest_auth-1.4.1/lib" -$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/net-http-persistent-3.0.1/lib" +$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/net-http-persistent-3.1.0/lib" $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/mini_portile2-2.4.0/lib" $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/extensions/universal-darwin-18/2.3.0/nokogiri-1.10.3" $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/nokogiri-1.10.3/lib" @@ -62,7 +62,7 @@ $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/rspec-wait-0.0.9/lib" $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/ruby-progressbar-1.10.1/lib" $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/unicode-display_width-1.6.0/lib" $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/rubocop-0.73.0/lib" -$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/rubocop-performance-1.4.0/lib" +$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/rubocop-performance-1.4.1/lib" $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/rubocop-rspec-1.34.0/lib" $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/ruby-macho-2.2.0/lib" $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/simplecov-cobertura-1.3.1/lib" diff --git a/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.0/config/default.yml b/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.1/config/default.yml similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.0/config/default.yml rename to Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.1/config/default.yml diff --git a/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.0/lib/rubocop-performance.rb b/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.1/lib/rubocop-performance.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.0/lib/rubocop-performance.rb rename to Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.1/lib/rubocop-performance.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.0/lib/rubocop/cop/performance/caller.rb b/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.1/lib/rubocop/cop/performance/caller.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.0/lib/rubocop/cop/performance/caller.rb rename to Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.1/lib/rubocop/cop/performance/caller.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.0/lib/rubocop/cop/performance/case_when_splat.rb b/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.1/lib/rubocop/cop/performance/case_when_splat.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.0/lib/rubocop/cop/performance/case_when_splat.rb rename to Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.1/lib/rubocop/cop/performance/case_when_splat.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.0/lib/rubocop/cop/performance/casecmp.rb b/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.1/lib/rubocop/cop/performance/casecmp.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.0/lib/rubocop/cop/performance/casecmp.rb rename to Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.1/lib/rubocop/cop/performance/casecmp.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.0/lib/rubocop/cop/performance/chain_array_allocation.rb b/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.1/lib/rubocop/cop/performance/chain_array_allocation.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.0/lib/rubocop/cop/performance/chain_array_allocation.rb rename to Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.1/lib/rubocop/cop/performance/chain_array_allocation.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.0/lib/rubocop/cop/performance/compare_with_block.rb b/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.1/lib/rubocop/cop/performance/compare_with_block.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.0/lib/rubocop/cop/performance/compare_with_block.rb rename to Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.1/lib/rubocop/cop/performance/compare_with_block.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.0/lib/rubocop/cop/performance/count.rb b/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.1/lib/rubocop/cop/performance/count.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.0/lib/rubocop/cop/performance/count.rb rename to Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.1/lib/rubocop/cop/performance/count.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.0/lib/rubocop/cop/performance/detect.rb b/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.1/lib/rubocop/cop/performance/detect.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.0/lib/rubocop/cop/performance/detect.rb rename to Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.1/lib/rubocop/cop/performance/detect.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.0/lib/rubocop/cop/performance/double_start_end_with.rb b/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.1/lib/rubocop/cop/performance/double_start_end_with.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.0/lib/rubocop/cop/performance/double_start_end_with.rb rename to Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.1/lib/rubocop/cop/performance/double_start_end_with.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.0/lib/rubocop/cop/performance/end_with.rb b/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.1/lib/rubocop/cop/performance/end_with.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.0/lib/rubocop/cop/performance/end_with.rb rename to Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.1/lib/rubocop/cop/performance/end_with.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.0/lib/rubocop/cop/performance/fixed_size.rb b/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.1/lib/rubocop/cop/performance/fixed_size.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.0/lib/rubocop/cop/performance/fixed_size.rb rename to Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.1/lib/rubocop/cop/performance/fixed_size.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.0/lib/rubocop/cop/performance/flat_map.rb b/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.1/lib/rubocop/cop/performance/flat_map.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.0/lib/rubocop/cop/performance/flat_map.rb rename to Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.1/lib/rubocop/cop/performance/flat_map.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.0/lib/rubocop/cop/performance/inefficient_hash_search.rb b/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.1/lib/rubocop/cop/performance/inefficient_hash_search.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.0/lib/rubocop/cop/performance/inefficient_hash_search.rb rename to Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.1/lib/rubocop/cop/performance/inefficient_hash_search.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.0/lib/rubocop/cop/performance/open_struct.rb b/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.1/lib/rubocop/cop/performance/open_struct.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.0/lib/rubocop/cop/performance/open_struct.rb rename to Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.1/lib/rubocop/cop/performance/open_struct.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.0/lib/rubocop/cop/performance/range_include.rb b/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.1/lib/rubocop/cop/performance/range_include.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.0/lib/rubocop/cop/performance/range_include.rb rename to Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.1/lib/rubocop/cop/performance/range_include.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.0/lib/rubocop/cop/performance/redundant_block_call.rb b/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.1/lib/rubocop/cop/performance/redundant_block_call.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.0/lib/rubocop/cop/performance/redundant_block_call.rb rename to Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.1/lib/rubocop/cop/performance/redundant_block_call.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.0/lib/rubocop/cop/performance/redundant_match.rb b/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.1/lib/rubocop/cop/performance/redundant_match.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.0/lib/rubocop/cop/performance/redundant_match.rb rename to Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.1/lib/rubocop/cop/performance/redundant_match.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.0/lib/rubocop/cop/performance/redundant_merge.rb b/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.1/lib/rubocop/cop/performance/redundant_merge.rb similarity index 99% rename from Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.0/lib/rubocop/cop/performance/redundant_merge.rb rename to Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.1/lib/rubocop/cop/performance/redundant_merge.rb index 2e43734520..45b610846c 100644 --- a/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.0/lib/rubocop/cop/performance/redundant_merge.rb +++ b/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.1/lib/rubocop/cop/performance/redundant_merge.rb @@ -132,7 +132,7 @@ module RuboCop end def max_key_value_pairs - Integer(cop_config['MaxKeyValuePairs']) + Integer(cop_config['MaxKeyValuePairs']) || 2 end # A utility class for checking the use of values within an diff --git a/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.0/lib/rubocop/cop/performance/regexp_match.rb b/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.1/lib/rubocop/cop/performance/regexp_match.rb similarity index 88% rename from Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.0/lib/rubocop/cop/performance/regexp_match.rb rename to Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.1/lib/rubocop/cop/performance/regexp_match.rb index bb2f068353..e59ea7f63d 100644 --- a/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.0/lib/rubocop/cop/performance/regexp_match.rb +++ b/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.1/lib/rubocop/cop/performance/regexp_match.rb @@ -177,25 +177,42 @@ module RuboCop scope_root = scope_root(match_node) body = scope_root ? scope_body(scope_root) : match_node.ancestors.last - return true if match_node.parent.if_type? && - match_node.parent.modifier_form? - - match_node_pos = match_node.loc.expression.begin_pos - - next_match_pos = next_match_pos(body, match_node_pos, scope_root) - range = match_node_pos..next_match_pos + range = range_to_search_for_last_matches(match_node, body, scope_root) find_last_match(body, range, scope_root) end + def range_to_search_for_last_matches(match_node, body, scope_root) + expression = if modifier_form?(match_node) + match_node.parent.if_branch.loc.expression + else + match_node.loc.expression + end + + match_node_pos = expression.begin_pos + next_match_pos = next_match_pos(body, match_node_pos, scope_root) + + match_node_pos..next_match_pos + end + def next_match_pos(body, match_node_pos, scope_root) node = search_match_nodes(body).find do |match| - match.loc.expression.begin_pos > match_node_pos && - scope_root(match) == scope_root + begin_pos = if modifier_form?(match) + match.parent.if_branch.loc.expression.begin_pos + else + match.loc.expression.begin_pos + end + + begin_pos > match_node_pos && scope_root(match) == scope_root end + node ? node.loc.expression.begin_pos : Float::INFINITY end + def modifier_form?(match_node) + match_node.parent.if_type? && match_node.parent.modifier_form? + end + def find_last_match(body, range, scope_root) last_matches(body).find do |ref| ref_pos = ref.loc.expression.begin_pos diff --git a/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.0/lib/rubocop/cop/performance/reverse_each.rb b/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.1/lib/rubocop/cop/performance/reverse_each.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.0/lib/rubocop/cop/performance/reverse_each.rb rename to Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.1/lib/rubocop/cop/performance/reverse_each.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.0/lib/rubocop/cop/performance/size.rb b/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.1/lib/rubocop/cop/performance/size.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.0/lib/rubocop/cop/performance/size.rb rename to Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.1/lib/rubocop/cop/performance/size.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.0/lib/rubocop/cop/performance/start_with.rb b/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.1/lib/rubocop/cop/performance/start_with.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.0/lib/rubocop/cop/performance/start_with.rb rename to Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.1/lib/rubocop/cop/performance/start_with.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.0/lib/rubocop/cop/performance/string_replacement.rb b/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.1/lib/rubocop/cop/performance/string_replacement.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.0/lib/rubocop/cop/performance/string_replacement.rb rename to Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.1/lib/rubocop/cop/performance/string_replacement.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.0/lib/rubocop/cop/performance/times_map.rb b/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.1/lib/rubocop/cop/performance/times_map.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.0/lib/rubocop/cop/performance/times_map.rb rename to Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.1/lib/rubocop/cop/performance/times_map.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.0/lib/rubocop/cop/performance/unfreeze_string.rb b/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.1/lib/rubocop/cop/performance/unfreeze_string.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.0/lib/rubocop/cop/performance/unfreeze_string.rb rename to Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.1/lib/rubocop/cop/performance/unfreeze_string.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.0/lib/rubocop/cop/performance/uri_default_parser.rb b/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.1/lib/rubocop/cop/performance/uri_default_parser.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.0/lib/rubocop/cop/performance/uri_default_parser.rb rename to Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.1/lib/rubocop/cop/performance/uri_default_parser.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.0/lib/rubocop/cop/performance_cops.rb b/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.1/lib/rubocop/cop/performance_cops.rb similarity index 82% rename from Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.0/lib/rubocop/cop/performance_cops.rb rename to Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.1/lib/rubocop/cop/performance_cops.rb index e966c56834..0d0a13d621 100644 --- a/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.0/lib/rubocop/cop/performance_cops.rb +++ b/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.1/lib/rubocop/cop/performance_cops.rb @@ -1,13 +1,5 @@ # frozen_string_literal: true -module RuboCop - # RuboCop included the performance cops directly before version 1.0.0. - # We can remove them to avoid warnings about redefining constants. - module Cop - remove_const('Performance') if const_defined?('Performance') - end -end - require_relative 'performance/caller' require_relative 'performance/case_when_splat' require_relative 'performance/casecmp' diff --git a/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.0/lib/rubocop/performance.rb b/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.1/lib/rubocop/performance.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.0/lib/rubocop/performance.rb rename to Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.1/lib/rubocop/performance.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.0/lib/rubocop/performance/inject.rb b/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.1/lib/rubocop/performance/inject.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.0/lib/rubocop/performance/inject.rb rename to Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.1/lib/rubocop/performance/inject.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.0/lib/rubocop/performance/version.rb b/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.1/lib/rubocop/performance/version.rb similarity index 81% rename from Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.0/lib/rubocop/performance/version.rb rename to Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.1/lib/rubocop/performance/version.rb index a18d23035c..3b37832e84 100644 --- a/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.0/lib/rubocop/performance/version.rb +++ b/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-performance-1.4.1/lib/rubocop/performance/version.rb @@ -3,7 +3,7 @@ module RuboCop module Performance module Version - STRING = '1.4.0' + STRING = '1.4.1' end end end