diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index e567d77..e4008db 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -23,10 +23,6 @@ jobs: - "7.1" - "7.2" include: - - ruby-version: "2.7" - rails-version: "5.1" - - ruby-version: "2.7" - rails-version: "5.2" - ruby-version: "3.2" rails-version: "7.1" code-coverage: true diff --git a/Appraisals b/Appraisals index 8597326..d3a2e28 100644 --- a/Appraisals +++ b/Appraisals @@ -1,13 +1,5 @@ # frozen_string_literal: true -appraise "rails-5.1" do - gem "railties", "5.1.7" -end - -appraise "rails-5.2" do - gem "railties", "5.2.8.1" -end - appraise "rails-6.0" do gem "railties", "6.0.6" end diff --git a/CHANGELOG.md b/CHANGELOG.md index fc6bee3..1fc9ee1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,10 @@ Changes: - Switched builds from CircleCI to Github Actions ([273](https://github.com/kpumuk/meta-tags/pull/273)) +Changes: + +- Ruby on Rails < 6.0 is no longer supported. + ## 2.19.0 (October 5, 2023) [☰](https://github.com/kpumuk/meta-tags/compare/v2.18.0...v2.19.0) Changes: @@ -190,7 +194,7 @@ Features: Changes: -- Rails < 3.2 is not longer supported +- Ruby on Rails < 3.2 is no longer supported Features: @@ -209,7 +213,7 @@ Bugfixes: Changes: -- Ruby < 2.0 is not longer supported +- Ruby < 2.0 is no longer supported Features: diff --git a/README.md b/README.md index bbd37c0..336f1d9 100644 --- a/README.md +++ b/README.md @@ -12,10 +12,10 @@ Search Engine Optimization (SEO) plugin for Ruby on Rails applications. ## Ruby on Rails -The MetaTags main branch fully supports Ruby on Rails 5.1+ and is tested against all major Ruby on Rails releases. +The MetaTags main branch fully supports Ruby on Rails 6.0+ and is tested against all major Ruby on Rails releases. > [!NOTE] -> We no longer support Ruby versions older than 2.7 and Ruby on Rails older than 5.1 since they reached their [End of Life](https://endoflife.date/ruby). +> We no longer support Ruby versions older than 2.7 and Ruby on Rails older than 6.0 since they reached their end of life (see [Ruby](https://endoflife.date/ruby) and [Ruby on Rails](https://endoflife.date/rails)). ## Installation diff --git a/gemfiles/rails_5.1.gemfile b/gemfiles/rails_5.1.gemfile deleted file mode 100644 index 4e709bf..0000000 --- a/gemfiles/rails_5.1.gemfile +++ /dev/null @@ -1,8 +0,0 @@ -# This file was generated by Appraisal - -source "https://rubygems.org" - -gem "steep", "~> 1.5.2", platform: :mri_32 -gem "railties", "5.1.7" - -gemspec path: "../" diff --git a/gemfiles/rails_5.1.gemfile.lock b/gemfiles/rails_5.1.gemfile.lock deleted file mode 100644 index 013a9e0..0000000 --- a/gemfiles/rails_5.1.gemfile.lock +++ /dev/null @@ -1,204 +0,0 @@ -PATH - remote: .. - specs: - meta-tags (2.19.0) - actionpack (>= 3.2.0, < 7.2) - -GEM - remote: https://rubygems.org/ - specs: - abbrev (0.1.2) - actionpack (5.1.7) - actionview (= 5.1.7) - activesupport (= 5.1.7) - rack (~> 2.0) - rack-test (>= 0.6.3) - rails-dom-testing (~> 2.0) - rails-html-sanitizer (~> 1.0, >= 1.0.2) - actionview (5.1.7) - activesupport (= 5.1.7) - builder (~> 3.1) - erubi (~> 1.4) - rails-dom-testing (~> 2.0) - rails-html-sanitizer (~> 1.0, >= 1.0.3) - activesupport (5.1.7) - concurrent-ruby (~> 1.0, >= 1.0.2) - i18n (>= 0.7, < 2) - minitest (~> 5.1) - tzinfo (~> 1.1) - appraisal (2.5.0) - bundler - rake - thor (>= 0.14.0) - ast (2.4.2) - builder (3.2.4) - concurrent-ruby (1.2.2) - crass (1.0.6) - csv (3.2.8) - diff-lcs (1.5.0) - docile (1.4.0) - erubi (1.12.0) - ffi (1.16.3) - fileutils (1.7.2) - i18n (1.14.1) - concurrent-ruby (~> 1.0) - json (2.7.1) - language_server-protocol (3.17.0.3) - lint_roller (1.1.0) - listen (3.8.0) - rb-fsevent (~> 0.10, >= 0.10.3) - rb-inotify (~> 0.9, >= 0.9.10) - logger (1.6.0) - 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-arm64-darwin) - racc (~> 1.4) - nokogiri (1.15.5-x86_64-linux) - 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 (5.1.7) - actionpack (= 5.1.7) - activesupport (= 5.1.7) - method_source - rake (>= 0.8.7) - thor (>= 0.18.1, < 2.0) - rainbow (3.1.1) - rake (13.1.0) - rb-fsevent (0.11.2) - rb-inotify (0.10.1) - ffi (~> 1.0) - rbs (3.3.2) - abbrev - 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-html-matchers (0.10.0) - nokogiri (~> 1) - rspec (>= 3.0.0.a) - rspec-mocks (3.12.6) - diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.12.0) - rspec-support (3.12.1) - rspec_junit_formatter (0.6.0) - rspec-core (>= 2, < 4, != 2.12.0) - rubocop (1.57.2) - 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.28.1, < 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.19.1) - rubocop (>= 1.7.0, < 2.0) - rubocop-ast (>= 0.4.0) - rubocop-rails (2.23.0) - 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) - securerandom (0.3.1) - simplecov (0.22.0) - docile (~> 1.1) - simplecov-html (~> 0.11) - simplecov_json_formatter (~> 0.1) - simplecov-html (0.12.3) - simplecov_json_formatter (0.1.4) - standard (1.32.1) - language_server-protocol (~> 3.17.0.2) - lint_roller (~> 1.0) - rubocop (~> 1.57.2) - standard-custom (~> 1.0.0) - standard-performance (~> 1.2) - standard-custom (1.0.2) - lint_roller (~> 1.0) - rubocop (~> 1.50) - standard-performance (1.2.1) - lint_roller (~> 1.1) - rubocop-performance (~> 1.19.1) - steep (1.5.3) - activesupport (>= 5.1) - concurrent-ruby (>= 1.1.10) - csv (>= 3.0.9) - fileutils (>= 1.1.0) - json (>= 2.1.0) - language_server-protocol (>= 3.15, < 4.0) - listen (~> 3.0) - logger (>= 1.3.0) - parser (>= 3.1) - rainbow (>= 2.2.2, < 4.0) - rbs (>= 3.1.0) - securerandom (>= 0.1) - strscan (>= 1.0.0) - terminal-table (>= 2, < 4) - strscan (3.0.7) - terminal-table (3.0.2) - unicode-display_width (>= 1.1.1, < 3) - thor (1.3.0) - thread_safe (0.3.6) - tzinfo (1.2.11) - thread_safe (~> 0.1) - unicode-display_width (2.5.0) - -PLATFORMS - arm64-darwin - x86_64-linux - -DEPENDENCIES - appraisal (~> 2.5.0) - meta-tags! - railties (= 5.1.7) - rake (~> 13.0) - rspec (~> 3.12.0) - rspec-html-matchers (~> 0.10.0) - rspec_junit_formatter (~> 0.6.0) - rubocop-rails (~> 2.23.0) - rubocop-rake (~> 0.6.0) - rubocop-rspec (~> 2.25.0) - simplecov (~> 0.22.0) - standard (~> 1.31) - steep (~> 1.5.2) - -BUNDLED WITH - 2.4.10 diff --git a/gemfiles/rails_5.2.gemfile b/gemfiles/rails_5.2.gemfile deleted file mode 100644 index 9c78ea2..0000000 --- a/gemfiles/rails_5.2.gemfile +++ /dev/null @@ -1,8 +0,0 @@ -# This file was generated by Appraisal - -source "https://rubygems.org" - -gem "steep", "~> 1.5.2", platform: :mri_32 -gem "railties", "5.2.8.1" - -gemspec path: "../" diff --git a/gemfiles/rails_5.2.gemfile.lock b/gemfiles/rails_5.2.gemfile.lock deleted file mode 100644 index 67b8618..0000000 --- a/gemfiles/rails_5.2.gemfile.lock +++ /dev/null @@ -1,204 +0,0 @@ -PATH - remote: .. - specs: - meta-tags (2.19.0) - actionpack (>= 3.2.0, < 7.2) - -GEM - remote: https://rubygems.org/ - specs: - abbrev (0.1.2) - actionpack (5.2.8.1) - actionview (= 5.2.8.1) - activesupport (= 5.2.8.1) - rack (~> 2.0, >= 2.0.8) - rack-test (>= 0.6.3) - rails-dom-testing (~> 2.0) - rails-html-sanitizer (~> 1.0, >= 1.0.2) - actionview (5.2.8.1) - activesupport (= 5.2.8.1) - builder (~> 3.1) - erubi (~> 1.4) - rails-dom-testing (~> 2.0) - rails-html-sanitizer (~> 1.0, >= 1.0.3) - activesupport (5.2.8.1) - concurrent-ruby (~> 1.0, >= 1.0.2) - i18n (>= 0.7, < 2) - minitest (~> 5.1) - tzinfo (~> 1.1) - appraisal (2.5.0) - bundler - rake - thor (>= 0.14.0) - ast (2.4.2) - builder (3.2.4) - concurrent-ruby (1.2.2) - crass (1.0.6) - csv (3.2.8) - diff-lcs (1.5.0) - docile (1.4.0) - erubi (1.12.0) - ffi (1.16.3) - fileutils (1.7.2) - i18n (1.14.1) - concurrent-ruby (~> 1.0) - json (2.7.1) - language_server-protocol (3.17.0.3) - lint_roller (1.1.0) - listen (3.8.0) - rb-fsevent (~> 0.10, >= 0.10.3) - rb-inotify (~> 0.9, >= 0.9.10) - logger (1.6.0) - 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-arm64-darwin) - racc (~> 1.4) - nokogiri (1.15.5-x86_64-linux) - 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 (5.2.8.1) - actionpack (= 5.2.8.1) - activesupport (= 5.2.8.1) - method_source - rake (>= 0.8.7) - thor (>= 0.19.0, < 2.0) - rainbow (3.1.1) - rake (13.1.0) - rb-fsevent (0.11.2) - rb-inotify (0.10.1) - ffi (~> 1.0) - rbs (3.3.2) - abbrev - 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-html-matchers (0.10.0) - nokogiri (~> 1) - rspec (>= 3.0.0.a) - rspec-mocks (3.12.6) - diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.12.0) - rspec-support (3.12.1) - rspec_junit_formatter (0.6.0) - rspec-core (>= 2, < 4, != 2.12.0) - rubocop (1.57.2) - 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.28.1, < 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.19.1) - rubocop (>= 1.7.0, < 2.0) - rubocop-ast (>= 0.4.0) - rubocop-rails (2.23.0) - 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) - securerandom (0.3.1) - simplecov (0.22.0) - docile (~> 1.1) - simplecov-html (~> 0.11) - simplecov_json_formatter (~> 0.1) - simplecov-html (0.12.3) - simplecov_json_formatter (0.1.4) - standard (1.32.1) - language_server-protocol (~> 3.17.0.2) - lint_roller (~> 1.0) - rubocop (~> 1.57.2) - standard-custom (~> 1.0.0) - standard-performance (~> 1.2) - standard-custom (1.0.2) - lint_roller (~> 1.0) - rubocop (~> 1.50) - standard-performance (1.2.1) - lint_roller (~> 1.1) - rubocop-performance (~> 1.19.1) - steep (1.5.3) - activesupport (>= 5.1) - concurrent-ruby (>= 1.1.10) - csv (>= 3.0.9) - fileutils (>= 1.1.0) - json (>= 2.1.0) - language_server-protocol (>= 3.15, < 4.0) - listen (~> 3.0) - logger (>= 1.3.0) - parser (>= 3.1) - rainbow (>= 2.2.2, < 4.0) - rbs (>= 3.1.0) - securerandom (>= 0.1) - strscan (>= 1.0.0) - terminal-table (>= 2, < 4) - strscan (3.0.7) - terminal-table (3.0.2) - unicode-display_width (>= 1.1.1, < 3) - thor (1.3.0) - thread_safe (0.3.6) - tzinfo (1.2.11) - thread_safe (~> 0.1) - unicode-display_width (2.5.0) - -PLATFORMS - arm64-darwin - x86_64-linux - -DEPENDENCIES - appraisal (~> 2.5.0) - meta-tags! - railties (= 5.2.8.1) - rake (~> 13.0) - rspec (~> 3.12.0) - rspec-html-matchers (~> 0.10.0) - rspec_junit_formatter (~> 0.6.0) - rubocop-rails (~> 2.23.0) - rubocop-rake (~> 0.6.0) - rubocop-rspec (~> 2.25.0) - simplecov (~> 0.22.0) - standard (~> 1.31) - steep (~> 1.5.2) - -BUNDLED WITH - 2.4.10 diff --git a/meta-tags.gemspec b/meta-tags.gemspec index 5aaed11..4be769c 100644 --- a/meta-tags.gemspec +++ b/meta-tags.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"] - spec.add_runtime_dependency "actionpack", ">= 3.2.0", "< 7.2" + spec.add_runtime_dependency "actionpack", ">= 6.0.0", "< 7.2" spec.add_development_dependency "railties", ">= 3.2.0", "< 7.2" spec.add_development_dependency "rake", "~> 13.0"