From 2a65ad182348954cca57c7c1de9203a40b264d34 Mon Sep 17 00:00:00 2001 From: Irving Caro <112433591+betterment-coding-agent@users.noreply.github.com> Date: Wed, 27 Dec 2023 14:33:49 -0600 Subject: [PATCH] Drop Rails <6.1 support --- Appraisals | 5 -- Gemfile.lock | 4 +- authorized_persona.gemspec | 2 +- gemfiles/rails_6_0.gemfile | 8 -- gemfiles/rails_6_0.gemfile.lock | 150 -------------------------------- gemfiles/rails_6_1.gemfile.lock | 2 +- gemfiles/rails_7_0.gemfile.lock | 2 +- 7 files changed, 5 insertions(+), 168 deletions(-) delete mode 100644 gemfiles/rails_6_0.gemfile delete mode 100644 gemfiles/rails_6_0.gemfile.lock diff --git a/Appraisals b/Appraisals index eace368..bedb018 100644 --- a/Appraisals +++ b/Appraisals @@ -1,8 +1,3 @@ -appraise 'rails-6-0' do - gem 'railties', '~> 6.0.0' - gem 'activemodel', '~>6.0.0' -end - appraise 'rails-6-1' do gem 'railties', '~> 6.1.0' gem 'activemodel', '~>6.1.0' diff --git a/Gemfile.lock b/Gemfile.lock index 977d526..a9dc9f2 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -2,7 +2,7 @@ PATH remote: . specs: authorized_persona (0.9.1) - railties (>= 5.1.6.2, < 7.1) + railties (>= 6.1, < 7.1) GEM remote: https://rubygems.org/ @@ -138,7 +138,7 @@ PLATFORMS x86_64-linux DEPENDENCIES - activemodel (>= 5.1.6.2, < 7.1) + activemodel (>= 6.1, < 7.1) appraisal authorized_persona! betterlint diff --git a/authorized_persona.gemspec b/authorized_persona.gemspec index d365d93..7ac0e69 100644 --- a/authorized_persona.gemspec +++ b/authorized_persona.gemspec @@ -22,7 +22,7 @@ Gem::Specification.new do |spec| spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } spec.require_paths = ["lib"] - rails_version_range = [">= 5.1.6.2", "< 7.1"] + rails_version_range = [">= 6.1", "< 7.1"] spec.add_dependency "railties", *rails_version_range diff --git a/gemfiles/rails_6_0.gemfile b/gemfiles/rails_6_0.gemfile deleted file mode 100644 index 86c251f..0000000 --- a/gemfiles/rails_6_0.gemfile +++ /dev/null @@ -1,8 +0,0 @@ -# This file was generated by Appraisal - -source "https://rubygems.org" - -gem "activemodel", "~>6.0.0" -gem "railties", "~> 6.0.0" - -gemspec path: "../" diff --git a/gemfiles/rails_6_0.gemfile.lock b/gemfiles/rails_6_0.gemfile.lock deleted file mode 100644 index 54e1fb5..0000000 --- a/gemfiles/rails_6_0.gemfile.lock +++ /dev/null @@ -1,150 +0,0 @@ -PATH - remote: .. - specs: - authorized_persona (0.9.1) - railties (>= 5.1.6.2, < 7.1) - -GEM - remote: https://rubygems.org/ - specs: - actionpack (6.0.6.1) - actionview (= 6.0.6.1) - activesupport (= 6.0.6.1) - rack (~> 2.0, >= 2.0.8) - rack-test (>= 0.6.3) - rails-dom-testing (~> 2.0) - rails-html-sanitizer (~> 1.0, >= 1.2.0) - actionview (6.0.6.1) - activesupport (= 6.0.6.1) - builder (~> 3.1) - erubi (~> 1.4) - rails-dom-testing (~> 2.0) - rails-html-sanitizer (~> 1.1, >= 1.2.0) - activemodel (6.0.6.1) - activesupport (= 6.0.6.1) - activesupport (6.0.6.1) - concurrent-ruby (~> 1.0, >= 1.0.2) - i18n (>= 0.7, < 2) - minitest (~> 5.1) - tzinfo (~> 1.1) - zeitwerk (~> 2.2, >= 2.2.2) - appraisal (2.5.0) - bundler - rake - thor (>= 0.14.0) - ast (2.4.2) - betterlint (1.7.0) - rubocop (> 1.0) - rubocop-performance - rubocop-rails - rubocop-rake - rubocop-rspec (>= 2.24) - builder (3.2.4) - concurrent-ruby (1.2.2) - crass (1.0.6) - diff-lcs (1.5.0) - erubi (1.12.0) - i18n (1.14.1) - concurrent-ruby (~> 1.0) - json (2.7.1) - language_server-protocol (3.17.0.3) - loofah (2.22.0) - crass (~> 1.0.2) - nokogiri (>= 1.12.0) - method_source (1.0.0) - minitest (5.20.0) - nokogiri (1.15.5-x86_64-darwin) - racc (~> 1.4) - parallel (1.24.0) - parser (3.2.2.4) - ast (~> 2.4.1) - racc - racc (1.7.3) - rack (2.2.8) - rack-test (2.1.0) - rack (>= 1.3) - rails-dom-testing (2.2.0) - activesupport (>= 5.0.0) - minitest - nokogiri (>= 1.6) - rails-html-sanitizer (1.6.0) - loofah (~> 2.21) - nokogiri (~> 1.14) - railties (6.0.6.1) - actionpack (= 6.0.6.1) - activesupport (= 6.0.6.1) - method_source - rake (>= 0.8.7) - thor (>= 0.20.3, < 2.0) - rainbow (3.1.1) - rake (13.1.0) - regexp_parser (2.8.3) - rexml (3.2.6) - rspec (3.12.0) - rspec-core (~> 3.12.0) - rspec-expectations (~> 3.12.0) - rspec-mocks (~> 3.12.0) - rspec-core (3.12.2) - rspec-support (~> 3.12.0) - rspec-expectations (3.12.3) - diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.12.0) - rspec-mocks (3.12.6) - diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.12.0) - rspec-support (3.12.1) - rubocop (1.59.0) - json (~> 2.3) - language_server-protocol (>= 3.17.0) - parallel (~> 1.10) - parser (>= 3.2.2.4) - rainbow (>= 2.2.2, < 4.0) - regexp_parser (>= 1.8, < 3.0) - rexml (>= 3.2.5, < 4.0) - rubocop-ast (>= 1.30.0, < 2.0) - ruby-progressbar (~> 1.7) - unicode-display_width (>= 2.4.0, < 3.0) - rubocop-ast (1.30.0) - parser (>= 3.2.1.0) - rubocop-capybara (2.19.0) - rubocop (~> 1.41) - rubocop-factory_bot (2.24.0) - rubocop (~> 1.33) - rubocop-performance (1.20.1) - rubocop (>= 1.48.1, < 2.0) - rubocop-ast (>= 1.30.0, < 2.0) - rubocop-rails (2.23.1) - activesupport (>= 4.2.0) - rack (>= 1.1) - rubocop (>= 1.33.0, < 2.0) - rubocop-ast (>= 1.30.0, < 2.0) - rubocop-rake (0.6.0) - rubocop (~> 1.0) - rubocop-rspec (2.25.0) - rubocop (~> 1.40) - rubocop-capybara (~> 2.17) - rubocop-factory_bot (~> 2.22) - ruby-progressbar (1.13.0) - thor (1.3.0) - thread_safe (0.3.6) - tzinfo (1.2.11) - thread_safe (~> 0.1) - unicode-display_width (2.5.0) - zeitwerk (2.6.12) - -PLATFORMS - x86_64-darwin-22 - x86_64-linux - -DEPENDENCIES - activemodel (~> 6.0.0) - appraisal - authorized_persona! - betterlint - bundler - railties (~> 6.0.0) - rake - rspec (~> 3.0) - -BUNDLED WITH - 2.4.21 diff --git a/gemfiles/rails_6_1.gemfile.lock b/gemfiles/rails_6_1.gemfile.lock index 5954e9a..2349b6e 100644 --- a/gemfiles/rails_6_1.gemfile.lock +++ b/gemfiles/rails_6_1.gemfile.lock @@ -2,7 +2,7 @@ PATH remote: .. specs: authorized_persona (0.9.1) - railties (>= 5.1.6.2, < 7.1) + railties (>= 6.1, < 7.1) GEM remote: https://rubygems.org/ diff --git a/gemfiles/rails_7_0.gemfile.lock b/gemfiles/rails_7_0.gemfile.lock index 343049d..5627a80 100644 --- a/gemfiles/rails_7_0.gemfile.lock +++ b/gemfiles/rails_7_0.gemfile.lock @@ -2,7 +2,7 @@ PATH remote: .. specs: authorized_persona (0.9.1) - railties (>= 5.1.6.2, < 7.1) + railties (>= 6.1, < 7.1) GEM remote: https://rubygems.org/