From 9e0dc16725ffecf74e60a3ada96d956b24f3d0fd Mon Sep 17 00:00:00 2001 From: Luiz Eduardo Kowalski Date: Sun, 17 Sep 2023 20:42:53 +0200 Subject: [PATCH] (feat) drop support for Rails 6 --- .github/workflows/ruby.yml | 3 +-- concurrent_rails.gemspec | 2 +- gemfiles/Gemfile-rails-6-0 | 13 ------------- 3 files changed, 2 insertions(+), 16 deletions(-) delete mode 100644 gemfiles/Gemfile-rails-6-0 diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index 1dee6e1..fd5038a 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -13,7 +13,6 @@ jobs: matrix: gemfile: - Gemfile - - gemfiles/Gemfile-rails-6-0 - gemfiles/Gemfile-rails-6-1 # - gemfiles/Gemfile-rails-7-0 # This is the main version now ruby: @@ -26,7 +25,7 @@ jobs: env: # $BUNDLE_GEMFILE must be set at the job level, so it is set for all steps BUNDLE_GEMFILE: ${{ github.workspace }}/${{ matrix.gemfile }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} diff --git a/concurrent_rails.gemspec b/concurrent_rails.gemspec index 77c61c8..1ce34b5 100644 --- a/concurrent_rails.gemspec +++ b/concurrent_rails.gemspec @@ -17,7 +17,7 @@ Gem::Specification.new do |spec| spec.metadata["changelog_uri"] = "https://github.com/luizkowalski/concurrent_rails/blob/master/CHANGELOG.md" spec.files = Dir["{app,config,db,lib}/**/*", "MIT-LICENSE", "Rakefile", "README.md"] - spec.add_dependency "railties", ">= 6.0" + spec.add_dependency "railties", ">= 6.1" spec.add_dependency "zeitwerk", "~> 2.6" spec.required_ruby_version = ">= 3.0" diff --git a/gemfiles/Gemfile-rails-6-0 b/gemfiles/Gemfile-rails-6-0 deleted file mode 100644 index d8432cb..0000000 --- a/gemfiles/Gemfile-rails-6-0 +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -source "https://rubygems.org" - -gemspec path: ".." - -gem "rails", github: "rails/rails", branch: "6-0-stable" -gem "minitest-reporters", "~> 1.6" -gem "rubocop", "~> 1.55" -gem "rubocop-minitest", "~> 0.31" -gem "rubocop-performance", "~> 1.18" -gem "rubocop-thread_safety", "~> 0.5" -gem "sqlite3", "~> 1.6"