From 0aee5863babc4a3cf1dbfa5029aecfeffdc3dc37 Mon Sep 17 00:00:00 2001 From: fumihumi Date: Thu, 26 Sep 2024 14:26:58 +0900 Subject: [PATCH] Update Support version * Ruby 2.7, 3.0 is already EOL * Rails 6.1 will reach EOL on 2024/10/01, so it will be deleted. --- .github/Gemfile | 5 ----- .github/workflows/rspec.yml | 4 ++-- octoball.gemspec | 8 ++++---- 3 files changed, 6 insertions(+), 11 deletions(-) diff --git a/.github/Gemfile b/.github/Gemfile index c06a9c2..a02c547 100644 --- a/.github/Gemfile +++ b/.github/Gemfile @@ -1,8 +1,3 @@ source 'https://rubygems.org' -if RUBY_VERSION < '3.0' - gem 'activerecord', '~> 7.1.1' - gem 'activesupport', '~> 7.1.1' -end - gemspec :path => '../' diff --git a/.github/workflows/rspec.yml b/.github/workflows/rspec.yml index d2fce9b..6cfcbc8 100644 --- a/.github/workflows/rspec.yml +++ b/.github/workflows/rspec.yml @@ -17,14 +17,14 @@ jobs: strategy: fail-fast: true matrix: - ruby: ["2.7","3.0","3.1","3.2"] + ruby: ["3.1","3.2","3.3"] env: BUNDLE_GEMFILE: .github/Gemfile MYSQL_HOST: 127.0.0.1 RAILS_ENV: test steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup ruby uses: ruby/setup-ruby@v1 with: diff --git a/octoball.gemspec b/octoball.gemspec index f6be2f6..6f17172 100644 --- a/octoball.gemspec +++ b/octoball.gemspec @@ -15,14 +15,14 @@ Gem::Specification.new do |s| s.homepage = 'https://github.com/aktsk/octoball' s.require_paths = ['lib'] - s.required_ruby_version = '>= 2.7.0' + s.required_ruby_version = '>= 3.1.0' - s.add_dependency 'activerecord', '>= 6.1' - s.add_dependency 'activesupport', '>= 6.1' + s.add_dependency 'activerecord', '>= 7.0' + s.add_dependency 'activesupport', '>= 7.0' s.add_development_dependency 'mysql2' s.add_development_dependency 'rake' s.add_development_dependency 'rspec', '>= 3' s.add_development_dependency 'rubocop' - s.add_development_dependency 'byebug' + s.add_development_dependency 'debug' end