From e8a6f2791a61aa40dc675fe605aaa6dc756d7a5a Mon Sep 17 00:00:00 2001
From: Henk <henk.van.der.veen@gmail.com>
Date: Wed, 31 Mar 2021 12:21:04 +0200
Subject: [PATCH] remove support for ruby 2.5 and 2.6 (doesn't like super being
 called for a **kwargs method if the super doesn't have kwargs, making it hard
 to support all current versions of active_interaction)

---
 .gitlab-ci.yml        | 32 --------------------------------
 roqua-support.gemspec |  2 +-
 2 files changed, 1 insertion(+), 33 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 46c9b22..82175a7 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -7,19 +7,6 @@ before_script:
   - bundle --jobs 2 --retry 3
   - bundle exec appraisal install
 
-.ruby_25: &ruby_25
-  image: registry.roqua.nl/roqua/docker-base-images:ruby-2.5
-  cache:
-    key: ruby_25
-    paths:
-      - .gems
-
-.ruby_26: &ruby_26
-  image: registry.roqua.nl/roqua/docker-base-images:ruby-2.6-builder
-  cache:
-    key: ruby_26
-    paths:
-      - .gems
 
 .ruby_27: &ruby_27
   image: registry.roqua.nl/roqua/docker-base-images:ruby-2.7-builder
@@ -28,31 +15,12 @@ before_script:
     paths:
       - .gems
 
-rails_52_ruby_25:
-  <<: *ruby_25
-  script:
-    - bundle exec appraisal rails52 bundle exec rspec
-
-rails_52_ruby_26:
-  <<: *ruby_26
-  script:
-    - bundle exec appraisal rails52 bundle exec rspec
 
 rails_52_ruby_27:
   <<: *ruby_27
   script:
     - bundle exec appraisal rails52 bundle exec rspec
 
-rails_60_ruby_25:
-  <<: *ruby_25
-  script:
-    - bundle exec appraisal rails60 bundle exec rspec
-
-rails_60_ruby_26:
-  <<: *ruby_26
-  script:
-    - bundle exec appraisal rails60 bundle exec rspec
-
 rails_60_ruby_27:
   <<: *ruby_27
   script:
diff --git a/roqua-support.gemspec b/roqua-support.gemspec
index 91c27f1..e83de24 100644
--- a/roqua-support.gemspec
+++ b/roqua-support.gemspec
@@ -18,7 +18,7 @@ Gem::Specification.new do |gem|
   gem.test_files    = gem.files.grep(%r{^(test|spec|features)/})
   gem.require_paths = ["lib"]
 
-  gem.required_ruby_version = '>= 2.5'
+  gem.required_ruby_version = '>= 2.7'
   gem.add_dependency 'active_interaction', '>= 3.0', '< 5.0'
   gem.add_dependency 'activesupport', '>= 5.2', '< 6.2'
   gem.add_dependency 'naught', '~> 1.0'
-- 
GitLab