Skip to content

Commit

Permalink
Update Support version
Browse files Browse the repository at this point in the history
* Ruby 2.7, 3.0 is already EOL
* Rails 6.1 will reach EOL on 2024/10/01, so it will be deleted.
  • Loading branch information
fumihumi committed Sep 26, 2024
1 parent 5ce29e0 commit 0aee586
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 11 deletions.
5 changes: 0 additions & 5 deletions .github/Gemfile
Original file line number Diff line number Diff line change
@@ -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 => '../'
4 changes: 2 additions & 2 deletions .github/workflows/rspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
8 changes: 4 additions & 4 deletions octoball.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 0aee586

Please sign in to comment.