From 41468b09f388b213e3493b182e7553aa3e09f211 Mon Sep 17 00:00:00 2001 From: Nate Holland Date: Sun, 12 May 2019 21:38:46 -0500 Subject: [PATCH] Bump rubocop to latest version (0.68.1) This pushes rubocop to the latest version. They have since extracted out the performance cops into the rubocop-performance gem. Those cops were originally used so I pulled the gem in and required it. --- .rubocop.yml | 2 ++ Gemfile.lock | 24 ++++++++++++++---------- factory_bot.gemspec | 3 ++- 3 files changed, 18 insertions(+), 11 deletions(-) diff --git a/.rubocop.yml b/.rubocop.yml index 5fd2372..00bece5 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,3 +1,5 @@ +require: rubocop-performance + inherit_from: - https://raw.githubusercontent.com/thoughtbot/guides/master/style/ruby/.rubocop.yml diff --git a/Gemfile.lock b/Gemfile.lock index fdcd881..665d7b6 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -65,16 +65,17 @@ GEM gherkin (5.1.0) i18n (1.6.0) concurrent-ruby (~> 1.0) + jaro_winkler (1.5.4) + jaro_winkler (1.5.4-java) jdbc-sqlite3 (3.28.0) json (2.2.0) json (2.2.0-java) minitest (5.11.3) multi_json (1.13.1) multi_test (0.1.2) - parallel (1.17.0) - parser (2.6.3.0) + parallel (1.19.1) + parser (2.7.0.2) ast (~> 2.4.0) - powerpack (0.1.2) rainbow (3.0.0) rake (12.3.2) rspec (3.8.0) @@ -93,13 +94,15 @@ GEM diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.8.0) rspec-support (3.8.2) - rubocop (0.54.0) + rubocop (0.68.0) + jaro_winkler (~> 1.5.1) parallel (~> 1.10) - parser (>= 2.5) - powerpack (~> 0.1) + parser (>= 2.5, != 2.5.1.1) rainbow (>= 2.2.2, < 4.0) ruby-progressbar (~> 1.7) - unicode-display_width (~> 1.0, >= 1.0.1) + unicode-display_width (>= 1.4.0, < 1.6) + rubocop-performance (1.3.0) + rubocop (>= 0.68.0) ruby-progressbar (1.10.1) simplecov (0.16.1) docile (~> 1.1) @@ -112,7 +115,7 @@ GEM thread_safe (0.3.6-java) tzinfo (1.2.5) thread_safe (~> 0.1) - unicode-display_width (1.6.0) + unicode-display_width (1.5.0) yard (0.9.20) PLATFORMS @@ -129,10 +132,11 @@ DEPENDENCIES rake rspec rspec-its - rubocop (= 0.54) + rubocop (= 0.68) + rubocop-performance simplecov sqlite3 yard BUNDLED WITH - 2.0.2 + 2.1.2 diff --git a/factory_bot.gemspec b/factory_bot.gemspec index 896a8b5..4c9cc58 100644 --- a/factory_bot.gemspec +++ b/factory_bot.gemspec @@ -31,7 +31,8 @@ Gem::Specification.new do |s| s.add_development_dependency("rake") s.add_development_dependency("rspec") s.add_development_dependency("rspec-its") - s.add_development_dependency("rubocop", "0.54") + s.add_development_dependency("rubocop", "0.68") + s.add_development_dependency("rubocop-performance") s.add_development_dependency("simplecov") s.add_development_dependency("yard")