From 608ae5a77c548f2ab6f487222a2d461e3ffb67b0 Mon Sep 17 00:00:00 2001 From: Oliver Klee Date: Fri, 8 Nov 2024 12:57:47 +0100 Subject: [PATCH] [TASK] Drop support for Rails 6.1 Rails 6.1 is EOL. --- .github/workflows/ci.yml | 3 --- .rubocop.yml | 2 +- CHANGELOG.md | 2 ++ currency_select.gemspec | 2 +- gemfiles/rails-6.1.gemfile | 7 ------- 5 files changed, 4 insertions(+), 12 deletions(-) delete mode 100644 gemfiles/rails-6.1.gemfile diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 085ea74..eaabf25 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -50,9 +50,6 @@ jobs: fail-fast: false matrix: include: - - { 'rails': '6.1', 'ruby': '3.1.6' } - - { 'rails': '6.1', 'ruby': '3.2.6' } - - { 'rails': '6.1', 'ruby': '3.3.6' } - { 'rails': '7.0', 'ruby': '3.1.6' } - { 'rails': '7.0', 'ruby': '3.2.6' } - { 'rails': '7.0', 'ruby': '3.3.6' } diff --git a/.rubocop.yml b/.rubocop.yml index 48c57a4..b05bc54 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -8,7 +8,7 @@ require: AllCops: TargetRubyVersion: 3.1 - TargetRailsVersion: 6.1 + TargetRailsVersion: 7.0 NewCops: enable Layout/IndentationConsistency: diff --git a/CHANGELOG.md b/CHANGELOG.md index 2f114c8..5f1f20c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,8 @@ This project adheres to [Semantic Versioning](https://semver.org/). ### Removed +- Drop support for Rails 6.1 (#183) + ### Fixed ### Security diff --git a/currency_select.gemspec b/currency_select.gemspec index dab9be7..1e73838 100644 --- a/currency_select.gemspec +++ b/currency_select.gemspec @@ -23,7 +23,7 @@ Gem::Specification.new do |s| ] s.extra_rdoc_files = %w[CHANGELOG.md LICENSE README.md] - s.add_dependency 'actionview', '>= 6.1.0', '< 8.1' + s.add_dependency 'actionview', '>= 7.0.0', '< 8.1' s.add_dependency 'money', '~> 6.0' s.add_development_dependency 'rspec-rails', '~> 6.1.3' diff --git a/gemfiles/rails-6.1.gemfile b/gemfiles/rails-6.1.gemfile deleted file mode 100644 index 1e1f597..0000000 --- a/gemfiles/rails-6.1.gemfile +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -source 'https://rubygems.org' - -gem 'rails', '~> 6.1.7.6' - -gemspec path: '../'