Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update supported Ruby and Rails versions #217

Merged
merged 2 commits into from
Oct 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 2 additions & 6 deletions .github/workflows/ci-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,9 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: ['2.7', '3.0', '3.1', '3.2']
gemfile: [Gemfile.rails-6.1.x, Gemfile.rails-7.0.x]
ruby: ['3.0', '3.1', '3.2']
gemfile: [Gemfile.rails-6.1.x, Gemfile.rails-7.0.x, Gemfile.rails-7.1.x]
db: [mysql, postgres, sqlite]
include:
- ruby: 2.7
gemfile: Gemfile.rails-6.0.x
db: mysql
env:
BUNDLE_GEMFILE: ${{ github.workspace }}/spec/support/gemfiles/${{ matrix.gemfile }}
DB: ${{ matrix.db }}
Expand Down
1 change: 0 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
source 'https://rubygems.org'
ruby '>= 2.3.0'
gemspec
8 changes: 4 additions & 4 deletions double_entry.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ Gem::Specification.new do |gem|
f.match(%r{^(?:double_entry.gemspec|README|LICENSE|CHANGELOG|lib/)})
end
gem.require_paths = ['lib']
gem.required_ruby_version = '>= 2.7.0'
gem.required_ruby_version = '>= 3'

gem.add_dependency 'activerecord', '>= 6.0.0'
gem.add_dependency 'activesupport', '>= 6.0.0'
gem.add_dependency 'activerecord', '>= 6.1.0'
gem.add_dependency 'activesupport', '>= 6.1.0'
gem.add_dependency 'money', '>= 6.0.0'
gem.add_dependency 'railties', '>= 6.0.0'
gem.add_dependency 'railties', '>= 6.1.0'

gem.add_development_dependency 'mysql2'
gem.add_development_dependency 'pg'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ source 'https://rubygems.org'

gemspec path: '../../../'

gem 'activerecord', '~> 6.0.0'
gem 'activerecord', '~> 7.1.0'

# Rails imposed mysql2 version contraints
# https://github.com/rails/rails/blob/6-0-stable/activerecord/lib/active_record/connection_adapters/mysql2_adapter.rb#L6
gem 'mysql2', '>= 0.4.4'
# https://github.com/rails/rails/blob/7-1-stable/activerecord/lib/active_record/connection_adapters/mysql2_adapter.rb#L6
gem 'mysql2', '~> 0.5'
Loading