From fb41470fec4bcd5b1cbcd1b8bcbd2822f325b15b Mon Sep 17 00:00:00 2001
From: Henk <henk.van.der.veen@gmail.com>
Date: Wed, 31 Mar 2021 11:30:54 +0200
Subject: [PATCH] fix on old rubocop

---
 Gemfile                  |  3 ++-
 Gemfile.lock             | 49 +++++++++++++++++++++-------------------
 gemfiles/rails52.gemfile |  2 +-
 gemfiles/rails60.gemfile |  2 +-
 gemfiles/rails61.gemfile |  2 +-
 5 files changed, 31 insertions(+), 27 deletions(-)

diff --git a/Gemfile b/Gemfile
index 15a7c3c..f49751a 100644
--- a/Gemfile
+++ b/Gemfile
@@ -4,7 +4,8 @@ source 'https://rubygems.org'
 gemspec
 
 gem 'appraisal'
-gem 'roqua_styleguide', git: 'https://gitlab.roqua.nl/roqua/styleguide.git'
+# fix so long as we support ruby 2.6 and ealier.
+gem 'roqua_styleguide', git: 'https://gitlab.roqua.nl/roqua/styleguide.git', ref: '9662550'
 
 group :test do
   gem 'sqlite3'
diff --git a/Gemfile.lock b/Gemfile.lock
index b8f1548..6a91a06 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -1,9 +1,10 @@
 GIT
   remote: https://gitlab.roqua.nl/roqua/styleguide.git
-  revision: 6d98107ef10d2dc5a4a785a4b0977f100475e007
+  revision: 9662550201987db20c03e300eddb34d8ad035613
+  ref: 9662550
   specs:
     roqua_styleguide (0.0.8)
-      rubocop (~> 0.80.0)
+      rubocop (~> 0.90.0)
       rubocop-rails
 
 PATH
@@ -51,7 +52,7 @@ GEM
       thor (>= 0.14.0)
     appsignal (2.10.12)
       rack
-    ast (2.4.0)
+    ast (2.4.2)
     builder (3.2.4)
     climate_control (0.2.0)
     coderay (1.1.2)
@@ -59,7 +60,7 @@ GEM
       activesupport (>= 3.0.0)
       railties (>= 3.0.0)
       thor (>= 0.14.6)
-    concurrent-ruby (1.1.6)
+    concurrent-ruby (1.1.8)
     crass (1.0.6)
     delayed_job (4.1.8)
       activesupport (>= 3.0, < 6.1)
@@ -83,9 +84,8 @@ GEM
     guard-rspec (4.2.10)
       guard (~> 2.1)
       rspec (>= 2.14, < 4.0)
-    i18n (1.8.2)
+    i18n (1.8.10)
       concurrent-ruby (~> 1.0)
-    jaro_winkler (1.5.4)
     listen (3.2.1)
       rb-fsevent (~> 0.10, >= 0.10.3)
       rb-inotify (~> 0.9, >= 0.9.10)
@@ -95,7 +95,7 @@ GEM
     lumberjack (1.2.4)
     method_source (1.0.0)
     mini_portile2 (2.4.0)
-    minitest (5.14.0)
+    minitest (5.14.4)
     naught (1.1.0)
     nenv (0.3.0)
     nokogiri (1.10.9)
@@ -103,13 +103,13 @@ GEM
     notiffany (0.1.3)
       nenv (~> 0.1)
       shellany (~> 0.0)
-    parallel (1.19.1)
-    parser (2.7.1.2)
-      ast (~> 2.4.0)
+    parallel (1.20.1)
+    parser (3.0.0.0)
+      ast (~> 2.4.1)
     pry (0.13.1)
       coderay (~> 1.1)
       method_source (~> 1.0)
-    rack (2.2.2)
+    rack (2.2.3)
     rack-test (1.1.0)
       rack (>= 1.0, < 3)
     rails-dom-testing (2.0.3)
@@ -128,6 +128,7 @@ GEM
     rb-fsevent (0.10.4)
     rb-inotify (0.10.1)
       ffi (~> 1.0)
+    regexp_parser (2.1.1)
     responders (3.0.0)
       actionpack (>= 5.0)
       railties (>= 5.0)
@@ -156,37 +157,39 @@ GEM
       rspec-mocks (~> 3.9)
       rspec-support (~> 3.9)
     rspec-support (3.9.3)
-    rubocop (0.80.1)
-      jaro_winkler (~> 1.5.1)
+    rubocop (0.90.0)
       parallel (~> 1.10)
-      parser (>= 2.7.0.1)
+      parser (>= 2.7.1.1)
       rainbow (>= 2.2.2, < 4.0)
+      regexp_parser (>= 1.7)
       rexml
+      rubocop-ast (>= 0.3.0, < 1.0)
       ruby-progressbar (~> 1.7)
-      unicode-display_width (>= 1.4.0, < 1.7)
-    rubocop-rails (2.5.2)
-      activesupport
+      unicode-display_width (>= 1.4.0, < 2.0)
+    rubocop-ast (0.8.0)
+      parser (>= 2.7.1.5)
+    rubocop-rails (2.9.1)
+      activesupport (>= 4.2.0)
       rack (>= 1.1)
-      rubocop (>= 0.72.0)
-    ruby-progressbar (1.10.1)
+      rubocop (>= 0.90.0, < 2.0)
+    ruby-progressbar (1.11.0)
     shellany (0.0.1)
     sqlite3 (1.4.2)
     thor (1.0.1)
     thread_safe (0.3.6)
     timecop (0.9.1)
-    tzinfo (1.2.7)
+    tzinfo (1.2.9)
       thread_safe (~> 0.1)
-    unicode-display_width (1.6.1)
+    unicode-display_width (1.7.0)
     with_advisory_lock (3.2.0)
       activerecord (>= 3.2)
-    zeitwerk (2.3.0)
+    zeitwerk (2.4.2)
 
 PLATFORMS
   ruby
 
 DEPENDENCIES
   actionpack (>= 4.0)
-  active_interaction (~> 3.0)
   appraisal
   bundler (~> 2.0)
   climate_control
diff --git a/gemfiles/rails52.gemfile b/gemfiles/rails52.gemfile
index 4a3abdc..751f7ac 100644
--- a/gemfiles/rails52.gemfile
+++ b/gemfiles/rails52.gemfile
@@ -3,7 +3,7 @@
 source "https://rubygems.org"
 
 gem "appraisal"
-gem "roqua_styleguide", git: "https://gitlab.roqua.nl/roqua/styleguide.git"
+gem "roqua_styleguide", git: "https://gitlab.roqua.nl/roqua/styleguide.git", ref: "9662550"
 gem "active_interaction", "~> 3.0"
 gem "activesupport", "~> 5.2.0"
 gem "appsignal", "~> 2.9.8"
diff --git a/gemfiles/rails60.gemfile b/gemfiles/rails60.gemfile
index 0d4f4d5..90ac6ad 100644
--- a/gemfiles/rails60.gemfile
+++ b/gemfiles/rails60.gemfile
@@ -3,7 +3,7 @@
 source "https://rubygems.org"
 
 gem "appraisal"
-gem "roqua_styleguide", git: "https://gitlab.roqua.nl/roqua/styleguide.git"
+gem "roqua_styleguide", git: "https://gitlab.roqua.nl/roqua/styleguide.git", ref: "9662550"
 gem "activesupport", "~> 6.0.0"
 gem "appsignal", "~> 2.10.6"
 
diff --git a/gemfiles/rails61.gemfile b/gemfiles/rails61.gemfile
index 64efbef..19f25b2 100644
--- a/gemfiles/rails61.gemfile
+++ b/gemfiles/rails61.gemfile
@@ -3,7 +3,7 @@
 source "https://rubygems.org"
 
 gem "appraisal"
-gem "roqua_styleguide", git: "https://gitlab.roqua.nl/roqua/styleguide.git"
+gem "roqua_styleguide", git: "https://gitlab.roqua.nl/roqua/styleguide.git", ref: "9662550"
 gem "activesupport", "~> 6.1.0"
 gem "appsignal", "~> 3.0.0"
 
-- 
GitLab